diff --git a/packages/kilo-docs/.env.example b/packages/kilo-docs/.env.example
deleted file mode 100644
index 575fa053e2c..00000000000
--- a/packages/kilo-docs/.env.example
+++ /dev/null
@@ -1,2 +0,0 @@
-POSTHOG_API_KEY=your_posthog_api_key
-FREE_TIER_AMOUNT=$7
diff --git a/packages/kilo-docs/.gitattributes b/packages/kilo-docs/.gitattributes
new file mode 100644
index 00000000000..807d5983db8
--- /dev/null
+++ b/packages/kilo-docs/.gitattributes
@@ -0,0 +1,3 @@
+
+# Use bd merge for beads JSONL files
+.beads/issues.jsonl merge=beads
diff --git a/packages/kilo-docs/.gitignore b/packages/kilo-docs/.gitignore
index 888a3106a35..a0cc2bbe0ab 100644
--- a/packages/kilo-docs/.gitignore
+++ b/packages/kilo-docs/.gitignore
@@ -1,31 +1,8 @@
-.release-notes/
-# Dependencies
-/node_modules
-
-# Production
-/build
-
-# Generated files
-.docusaurus
-.cache-loader
-*.js
-!src/**/*.js
-
-# Misc
+node_modules/
.DS_Store
-.env
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
-.npmrc
-
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-.devcontainer
-TEMP/
-
-.history/
+.next/
.vercel
+package-lock.json
+yarn.lock
+screenshots/
+.beads/
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/mcp.json b/packages/kilo-docs/.kilocode/mcp.json
new file mode 100644
index 00000000000..845ac2b5abd
--- /dev/null
+++ b/packages/kilo-docs/.kilocode/mcp.json
@@ -0,0 +1,11 @@
+{
+ "mcpServers": {
+ "context7": {
+ "command": "npx",
+ "args": ["-y", "@upstash/context7-mcp"],
+ "env": { "DEFAULT_MINIMUM_TOKENS": "" },
+ "alwaysAllow": ["resolve-library-id", "query-docs"],
+ "disabled": true
+ }
+ }
+}
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank-instructions.md b/packages/kilo-docs/.kilocode/rules/memory-bank-instructions.md
deleted file mode 100644
index 016b31e5e9c..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank-instructions.md
+++ /dev/null
@@ -1,168 +0,0 @@
-# Memory Bank
-
-I am an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional. The memory bank files are located in `.kilocode/rules/memory-bank` folder.
-
-When I start a task, I will include `[Memory Bank: Active]` at the beginning of my response if I successfully read the memory bank files, or `[Memory Bank: Missing]` if the folder doesn't exist or is empty. If memory bank is missing, I will warn the user about potential issues and suggest initialization.
-
-## Memory Bank Structure
-
-The Memory Bank consists of core files and optional context files, all in Markdown format.
-
-### Core Files (Required)
-1. `brief.md`
- This file is created and maintained manually by the developer. Don't edit this file directly but suggest to user to update it if it can be improved.
- - Foundation document that shapes all other files
- - Created at project start if it doesn't exist
- - Defines core requirements and goals
- - Source of truth for project scope
-
-2. `product.md`
- - Why this project exists
- - Problems it solves
- - How it should work
- - User experience goals
-
-3. `context.md`
- This file should be short and factual, not creative or speculative.
- - Current work focus
- - Recent changes
- - Next steps
-
-4. `architecture.md`
- - System architecture
- - Source Code paths
- - Key technical decisions
- - Design patterns in use
- - Component relationships
- - Critical implementation paths
-
-5. `tech.md`
- - Technologies used
- - Development setup
- - Technical constraints
- - Dependencies
- - Tool usage patterns
-
-### Additional Files
-Create additional files/folders within memory-bank/ when they help organize:
-- `tasks.md` - Documentation of repetitive tasks and their workflows
-- `todos.md` - List of currently active TODOs and missing documentation items. When items are completed, they should be removed from the list
-- Complex feature documentation
-- Integration specifications
-- API documentation
-- Testing strategies
-- Deployment procedures
-
-## Core workflows
-
-### Memory Bank Initialization
-
-The initialization step is CRITICALLY IMPORTANT and must be done with extreme thoroughness as it defines all future effectiveness of the Memory Bank. This is the foundation upon which all future interactions will be built.
-
-When user requests initialization of the memory bank (command `initialize memory bank`), I'll perform an exhaustive analysis of the project, including:
-- All source code files and their relationships
-- Configuration files and build system setup
-- Project structure and organization patterns
-- Documentation and comments
-- Dependencies and external integrations
-- Testing frameworks and patterns
-
-I must be extremely thorough during initialization, spending extra time and effort to build a comprehensive understanding of the project. A high-quality initialization will dramatically improve all future interactions, while a rushed or incomplete initialization will permanently limit my effectiveness.
-
-After initialization, I will ask the user to read through the memory bank files and verify product description, used technologies and other information. I should provide a summary of what I've understood about the project to help the user verify the accuracy of the memory bank files. I should encourage the user to correct any misunderstandings or add missing information, as this will significantly improve future interactions.
-
-### Memory Bank Update
-
-Memory Bank updates occur when:
-1. Discovering new project patterns
-2. After implementing significant changes
-3. When user explicitly requests with the phrase **update memory bank** (MUST review ALL files)
-4. When context needs clarification
-
-If I notice significant changes that should be preserved but the user hasn't explicitly requested an update, I should suggest: "Would you like me to update the memory bank to reflect these changes?"
-
-To execute Memory Bank update, I will:
-
-1. Review ALL project files
-2. Document current state
-3. Document Insights & Patterns
-4. If requested with additional context (e.g., "update memory bank using information from @/Makefile"), focus special attention on that source
-
-Note: When triggered by **update memory bank**, I MUST review every memory bank file, even if some don't require updates. Focus particularly on context.md as it tracks current state.
-
-### Add Task
-
-When user completes a repetitive task (like adding support for a new model version) and wants to document it for future reference, they can request: **add task** or **store this as a task**.
-
-This workflow is designed for repetitive tasks that follow similar patterns and require editing the same files. Examples include:
-- Adding support for new AI model versions
-- Implementing new API endpoints following established patterns
-- Adding new features that follow existing architecture
-
-Tasks are stored in the file `tasks.md` in the memory bank folder. The file is optional an can be empty. The file can store many tasks.
-
-To execute Add Task workflow:
-
-1. Create or update `tasks.md` in the memory bank folder
-2. Document the task with:
- - Task name and description
- - Files that need to be modified
- - Step-by-step workflow followed
- - Important considerations or gotchas
- - Example of the completed implementation
-3. Include any context that was discovered during task execution but wasn't previously documented
-
-Example task entry:
-```markdown
-## Add New Model Support
-**Last performed:** [date]
-**Files to modify:**
-- `/providers/gemini.md` - Add model to documentation
-- `/src/providers/gemini-config.ts` - Add model configuration
-- `/src/constants/models.ts` - Add to model list
-- `/tests/providers/gemini.test.ts` - Add test cases
-
-**Steps:**
-1. Add model configuration with proper token limits
-2. Update documentation with model capabilities
-3. Add to constants file for UI display
-4. Write tests for new model configuration
-
-**Important notes:**
-- Check Google's documentation for exact token limits
-- Ensure backward compatibility with existing configurations
-- Test with actual API calls before committing
-```
-
-### Regular Task Execution
-
-In the beginning of EVERY task I MUST read ALL memory bank files - this is not optional.
-
-The memory bank files are located in `.kilocode/rules/memory-bank` folder. If the folder doesn't exist or is empty, I will warn user about potential issues with the memory bank. I will include `[Memory Bank: Active]` at the beginning of my response if I successfully read the memory bank files, or `[Memory Bank: Missing]` if the folder doesn't exist or is empty. If memory bank is missing, I will warn the user about potential issues and suggest initialization. I should briefly summarize my understanding of the project to confirm alignment with the user's expectations, like:
-
-"[Memory Bank: Active] I understand we're building a React inventory system with barcode scanning. Currently implementing the scanner component that needs to work with the backend API."
-
-When starting a task that matches a documented task in `tasks.md`, I should mention this and follow the documented workflow to ensure no steps are missed.
-
-If the task was repetitive and might be needed again, I should suggest: "Would you like me to add this task to the memory bank for future reference?"
-
-In the end of the task, when it seems to be completed, I will update `context.md` accordingly. If the change seems significant, I will suggest to the user: "Would you like me to update memory bank to reflect these changes?" I will not suggest updates for minor changes.
-
-## Context Window Management
-
-When the context window fills up during an extended session:
-1. I should suggest updating the memory bank to preserve the current state
-2. Recommend starting a fresh conversation/task
-3. In the new conversation, I will automatically load the memory bank files to maintain continuity
-
-## Technical Implementation
-
-Memory Bank is built on Kilo Code's Custom Rules feature, with files stored as standard markdown documents that both the user and I can access.
-
-## Important Notes
-
-REMEMBER: After every memory reset, I begin completely fresh. The Memory Bank is my only link to previous work. It must be maintained with precision and clarity, as my effectiveness depends entirely on its accuracy.
-
-If I detect inconsistencies between memory bank files, I should prioritize brief.md and note any discrepancies to the user.
-
-IMPORTANT: I MUST read ALL memory bank files at the start of EVERY task - this is not optional. The memory bank files are located in `.kilocode/rules/memory-bank` folder.
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/architecture.md b/packages/kilo-docs/.kilocode/rules/memory-bank/architecture.md
deleted file mode 100644
index bd5e99fb040..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/architecture.md
+++ /dev/null
@@ -1,137 +0,0 @@
-# Architecture Overview
-
-## System Architecture
-
-The Kilo Code documentation site is built using Docusaurus 3.8.1, a modern static site generator optimized for documentation websites. The architecture follows a standard Docusaurus pattern with custom enhancements for the Kilo Code brand and functionality.
-
-## Project Structure
-
-### Root Configuration
-- [`package.json`](package.json:1) - Project dependencies and build scripts
-- [`docusaurus.config.ts`](docusaurus.config.ts:1) - Main Docusaurus configuration
-- [`sidebars.ts`](sidebars.ts:1) - Documentation navigation structure
-- [`.env.example`](.env.example:1) - Environment variables template
-
-### Source Code Organization
-
-#### `/src` Directory
-- [`src/constants.ts`](src/constants.ts:1) - Application-wide constants (URLs, links, configuration)
-- [`src/components/`](src/components/) - Custom React components
- - [`Codicon.tsx`](src/components/Codicon.tsx:1) - VS Code icon component
- - [`Image.js`](src/components/Image.js:1) - Enhanced image component
- - [`ReportIssue/`](src/components/ReportIssue/) - Issue reporting component
- - [`YouTubeEmbed/`](src/components/YouTubeEmbed/) - YouTube video embedding
-- [`src/css/custom.css`](src/css/custom.css:1) - Global styling and theme customization
-- [`src/theme/`](src/theme/) - Docusaurus theme customizations
-
-#### `/docs` Directory Structure
-The documentation follows a hierarchical organization:
-
-```
-docs/
-├── index.mdx # Landing page
-├── getting-started/ # Installation and setup
-├── basic-usage/ # Core functionality
-├── features/ # Feature documentation
-│ ├── tools/ # Tool reference
-│ ├── mcp/ # MCP integration
-│ ├── slash-commands/ # Command workflows
-│ └── experimental/ # Beta features
-├── advanced-usage/ # Advanced topics
-├── providers/ # AI provider setup guides
-└── extending/ # Development and contribution
-```
-
-#### `/static` Directory
-- [`static/img/`](static/img/) - Images organized by feature/section
-- [`static/downloads/`](static/downloads/) - Downloadable resources
-
-### Key Technical Decisions
-
-#### Documentation Organization
-- **Feature-First Structure**: Documentation is organized by user journey and feature categories rather than technical implementation
-- **Provider Separation**: Each AI provider has dedicated documentation for setup and configuration
-- **Tool Reference**: Comprehensive tool documentation with individual pages for each tool
-
-#### Navigation Design
-- **Progressive Disclosure**: Information is layered from basic to advanced usage
-- **Cross-References**: Extensive internal linking between related concepts
-- **Search Integration**: Local search with @easyops-cn/docusaurus-search-local
-
-#### Content Strategy
-- **MDX Support**: Enhanced markdown with React component integration
-- **Code Examples**: Extensive use of code blocks with syntax highlighting
-- **Visual Documentation**: Screenshots and diagrams for complex concepts
-
-## Component Relationships
-
-### Core Components
-1. **Docusaurus Core** - Static site generation and routing
-2. **Custom Theme** - VS Code-inspired styling and branding
-3. **Search Integration** - Local search functionality
-4. **Analytics** - PostHog integration for usage tracking
-5. **Custom Components** - Enhanced documentation experience
-
-### Data Flow
-1. **Content Creation** - Markdown/MDX files in `/docs`
-2. **Build Process** - Docusaurus compilation and optimization
-3. **Static Generation** - HTML/CSS/JS output for hosting
-4. **Deployment** - Static files served at https://kilocode.ai/docs
-
-## Critical Implementation Paths
-
-### Build System
-- **Development**: `npm start` - Local development server with hot reload
-- **Production**: `npm run build` - Optimized static site generation
-- **Deployment**: Static files hosted with CDN distribution
-
-### Content Management
-- **Documentation Updates**: Direct markdown file editing
-- **Asset Management**: Static files in organized directory structure
-- **Version Control**: Git-based workflow for content updates
-
-### Search Implementation
-- **Local Search**: @easyops-cn/docusaurus-search-local plugin
-- **Indexing**: Automatic content indexing during build
-- **Search UI**: Integrated search bar with contextual results
-
-### Customization Points
-- **Theme Overrides**: Custom CSS and component swizzling
-- **Plugin Configuration**: Docusaurus plugin ecosystem integration
-- **Content Enhancement**: MDX components for interactive documentation
-
-## Integration Points
-
-### External Services
-- **PostHog Analytics**: User behavior tracking and insights
-- **GitHub Integration**: Edit links and issue reporting
-- **Community Platforms**: Discord, Reddit, Twitter integration
-
-### VS Code Extension Integration
-- **Deep Linking**: Direct links to extension installation
-- **Context Sharing**: Documentation references from extension
-- **Feature Parity**: Documentation reflects current extension capabilities
-
-## Performance Considerations
-
-### Build Optimization
-- **Static Generation**: Pre-built HTML for fast loading
-- **Asset Optimization**: Image compression and lazy loading
-- **Code Splitting**: JavaScript bundle optimization
-
-### User Experience
-- **Mobile Responsive**: Optimized for all device sizes
-- **Fast Navigation**: Client-side routing for smooth transitions
-- **Search Performance**: Local search for instant results
-
-## Maintenance Patterns
-
-### Content Updates
-- **Regular Reviews**: Documentation accuracy validation
-- **Feature Alignment**: Updates synchronized with extension releases
-- **Community Feedback**: User-driven improvements and corrections
-
-### Technical Maintenance
-- **Dependency Updates**: Regular package updates and security patches
-- **Performance Monitoring**: Build time and site performance tracking
-- **Accessibility**: WCAG compliance and usability improvements
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/brief.md b/packages/kilo-docs/.kilocode/rules/memory-bank/brief.md
deleted file mode 100644
index cbce3815822..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/brief.md
+++ /dev/null
@@ -1 +0,0 @@
-This is the technical and user documentation for Kilo Code, an open source AI agent VS Code extension. It helps you write code more efficiently by generating code, automating tasks, and providing suggestions. It is written with the documentation library Docusaurus and hosted at https://kilocode.ai/docs
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/context.md b/packages/kilo-docs/.kilocode/rules/memory-bank/context.md
deleted file mode 100644
index 3cf71d98bd6..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/context.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# Current Context
-
-## Project Status
-
-The Kilo Code documentation site is a mature, production-ready Docusaurus project that serves as the comprehensive documentation hub for the Kilo Code VS Code extension. The site is hosted at https://kilocode.ai/docs and provides extensive documentation covering installation, usage, features, and extension capabilities.
-
-## Current Work Focus
-
-**Memory Bank Initialization**: Currently performing comprehensive memory bank initialization to establish persistent project context for future AI interactions. This involves analyzing the entire documentation structure, understanding the project's purpose, and creating structured documentation files.
-
-## Recent Changes
-
-- Memory bank system being implemented with structured documentation files
-- Product overview documented with comprehensive feature descriptions
-- Project structure analyzed including all documentation categories and provider integrations
-
-## Documentation Structure
-
-The documentation is organized into several major sections:
-
-### Core User Journey
-- **Getting Started**: Installation, setup, and first task completion
-- **Using Kilo Code**: Chat interface, modes, context mentions, and basic features
-- **Core Concepts**: Auto-approving actions, suggested responses, tool usage, and checkpoints
-
-### Advanced Features
-- **Advanced Usage**: Prompt engineering, customization options, memory bank, and large project handling
-- **Customization**: Settings management, custom modes, API configuration profiles
-- **Extending Kilo Code**: Model providers (18+ supported), local models, MCP integration, shell integration
-
-### Reference Materials
-- **Tools Reference**: Comprehensive documentation of all 15+ available tools
-- **Provider Documentation**: Detailed setup guides for Anthropic, OpenAI, and 16+ other AI providers
-- **Community Resources**: Contributing guidelines, development environment setup
-
-## Key Features Documented
-
-### Core Capabilities
-- Multi-mode AI assistance (Code, Architect, Ask, Debug, Custom)
-- Comprehensive tool ecosystem for file operations, browser automation, and system commands
-- Memory Bank system for persistent project context
-- MCP (Model Context Protocol) integration for external tool connectivity
-
-### User Experience Features
-- Auto-generated commit messages with customizable templates
-- Context mentions for precise file and code referencing
-- Checkpoints for conversation state management
-- Fast edits and surgical code modifications
-- Browser automation for web testing and interaction
-
-### Extensibility
-- 18+ AI model providers supported
-- Custom mode creation with file restrictions and tool limitations
-- Local model support for privacy-conscious development
-- MCP server integration for unlimited external tool connectivity
-
-## Technical Implementation
-
-The site uses modern web technologies:
-- **Framework**: Docusaurus 3.8.1 for static site generation
-- **Styling**: Custom CSS with VS Code-inspired design elements
-- **Search**: Local search implementation with @easyops-cn/docusaurus-search-local
-- **Analytics**: PostHog integration for usage tracking
-- **Components**: Custom React components for enhanced documentation experience
-
-## Next Steps
-
-1. Complete memory bank initialization with remaining core files
-2. Document the technical architecture and build system
-3. Create task documentation for common documentation workflows
-4. Validate all memory bank files for accuracy and completeness
-
-## Important Considerations
-
-- Documentation must remain accessible to both technical and non-technical users
-- All provider documentation needs to stay current with API changes
-- Memory bank system documentation serves as both user guide and implementation reference
-- Community contributions are encouraged through GitHub discussions and pull requests
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/product.md b/packages/kilo-docs/.kilocode/rules/memory-bank/product.md
deleted file mode 100644
index b4f49f37674..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/product.md
+++ /dev/null
@@ -1,95 +0,0 @@
-# Product Overview
-
-## What Kilo Code Is
-
-Kilo Code is an open source AI agent VS Code extension that transforms how developers write code by providing intelligent, context-aware assistance directly within the VS Code editor. It serves as a persistent development partner that can understand projects, generate code, automate tasks, and provide suggestions.
-
-## Problems It Solves
-
-### Core Development Pain Points
-- **Blank Page Syndrome**: Eliminates the struggle of starting new code or features from scratch
-- **Context Switching**: Reduces time spent switching between documentation, Stack Overflow, and code
-- **Repetitive Tasks**: Automates common development workflows like commit message generation, boilerplate creation, and file operations
-- **Code Quality**: Helps with refactoring, debugging, and maintaining consistent coding standards
-- **Project Understanding**: Assists in understanding large codebases and complex architectures
-
-### AI Memory Limitations
-- **Session Reset Problem**: Traditional AI assistants lose all context between sessions, requiring re-explanation of project details
-- **Inefficient Context Gathering**: Without memory, AI must re-analyze entire codebases repeatedly, which is slow and expensive
-- **Inconsistent Understanding**: Lack of persistent context leads to inconsistent suggestions and solutions
-
-## How Kilo Code Works
-
-### Core Interaction Model
-Users interact with Kilo Code through a chat interface within VS Code, using natural language to describe what they want to accomplish. Kilo Code then uses specialized modes and tools to fulfill requests.
-
-### Mode System
-- **Code Mode**: General-purpose coding tasks, file editing, project creation
-- **Architect Mode**: Planning, design, technical leadership, and documentation
-- **Ask Mode**: Information gathering, explanations, and learning
-- **Debug Mode**: Systematic problem diagnosis and troubleshooting
-- **Custom Modes**: Unlimited specialized personas for specific workflows
-
-### Tool Ecosystem
-Kilo Code uses a sophisticated tool system organized into groups:
-- **Read Tools**: File exploration, code analysis, project understanding
-- **Edit Tools**: Code modification, file creation, precise surgical edits
-- **Browser Tools**: Web automation and testing
-- **Command Tools**: System command execution and build processes
-- **MCP Tools**: External service integration through Model Context Protocol
-- **Workflow Tools**: Task management, mode switching, progress tracking
-
-### Memory Bank System
-A revolutionary approach to AI context preservation that maintains project understanding across sessions through structured documentation files that both the AI and developers can access.
-
-## User Experience Goals
-
-### Seamless Integration
-- Natural language interaction within familiar VS Code environment
-- No context switching between tools or applications
-- Immediate access through sidebar panel
-
-### Intelligent Assistance
-- Context-aware suggestions based on current project and codebase
-- Proactive help with common development patterns
-- Learning from user preferences and project conventions
-
-### Workflow Enhancement
-- Streamlined development processes through automation
-- Reduced cognitive load for repetitive tasks
-- Enhanced productivity without disrupting existing workflows
-
-### Extensibility
-- Support for multiple AI model providers
-- Custom mode creation for specialized workflows
-- MCP integration for unlimited tool expansion
-- Local model support for privacy-conscious development
-
-## Target Outcomes
-
-### For Individual Developers
-- Faster code generation and iteration cycles
-- Improved code quality through AI-assisted refactoring and debugging
-- Reduced time spent on documentation and boilerplate code
-- Enhanced learning through AI explanations and suggestions
-
-### For Development Teams
-- Consistent coding standards and practices
-- Shared custom modes for standardized workflows
-- Improved code review processes through better commit messages
-- Knowledge preservation through Memory Bank documentation
-
-### For Projects
-- Better documentation as a byproduct of AI assistance
-- More maintainable codebases through consistent patterns
-- Faster onboarding for new team members
-- Preserved project knowledge across team changes
-
-## Success Metrics
-
-The product succeeds when developers report:
-- Increased coding velocity and reduced time-to-completion
-- Improved code quality and fewer bugs
-- Enhanced understanding of complex codebases
-- Reduced friction in development workflows
-- Better project documentation and knowledge retention
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/tasks.md b/packages/kilo-docs/.kilocode/rules/memory-bank/tasks.md
deleted file mode 100644
index e3ff83e2fb1..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/tasks.md
+++ /dev/null
@@ -1,391 +0,0 @@
-# Documentation Tasks
-
-This file documents common repetitive tasks and workflows for maintaining the Kilo Code documentation site.
-
-## Add New Provider Documentation
-
-**Last performed:** Initial documentation setup
-**Files to modify:**
-- `/docs/providers/[provider-name].md` - Create new provider documentation
-- `/sidebars.ts` - Add provider to navigation structure
-- `/src/constants.ts` - Add provider URLs if needed
-
-**Steps:**
-1. Create new provider documentation file in `/docs/providers/`
-2. Follow the standard provider documentation template:
- - Introduction and website link
- - Getting an API Key section
- - Supported Models section
- - Configuration in Kilo Code section
- - Tips and Notes section
-3. Add provider to the Model Providers section in `sidebars.ts`
-4. Update constants file if new URLs are needed
-5. Test documentation locally with `npm start`
-6. Verify all links work correctly
-
-**Template structure:**
-```markdown
----
-sidebar_label: Provider Name
----
-
-# Using [Provider Name] With Kilo Code
-
-Brief description of the provider and their strengths.
-
-**Website:** [Provider URL]
-
-## Getting an API Key
-[Step-by-step instructions]
-
-## Supported Models
-[List of supported models]
-
-## Configuration in Kilo Code
-[Setup instructions]
-
-## Tips and Notes
-[Additional helpful information]
-```
-
-## Add New Tool Documentation
-
-**Last performed:** Tool reference documentation setup
-**Files to modify:**
-- `/docs/features/tools/[tool-name].md` - Create new tool documentation
-- `/sidebars.ts` - Add tool to Tools Reference section
-- `/docs/features/tools/tool-use-overview.md` - Update tool overview if needed
-
-**Steps:**
-1. Create new tool documentation file in `/docs/features/tools/`
-2. Follow the standard tool documentation template
-3. Add tool to the Tools Reference section in `sidebars.ts`
-4. Update tool overview page if the tool represents a new category
-5. Test documentation locally
-6. Verify code examples and parameter descriptions are accurate
-
-**Important notes:**
-- Include practical examples of tool usage
-- Document all parameters with their types and requirements
-- Explain when and why to use the tool
-- Include common error scenarios and solutions
-
-## Update Feature Documentation
-
-**Last performed:** Feature documentation organization
-**Files to modify:**
-- Relevant feature documentation files in `/docs/features/`
-- `/sidebars.ts` - Update navigation if structure changes
-- `/docs/index.mdx` - Update feature highlights if major features added
-
-**Steps:**
-1. Identify which feature documentation needs updates
-2. Review current documentation for accuracy
-3. Update content to reflect latest extension capabilities
-4. Add new screenshots if UI has changed
-5. Update navigation structure if needed
-6. Test all internal links
-7. Verify examples still work with current extension version
-
-**Important considerations:**
-- Keep screenshots current with latest extension UI
-- Ensure feature descriptions match actual extension behavior
-- Update version-specific information
-- Maintain consistency in documentation style
-
-## Add New Blog Post
-
-**Last performed:** Auto-generate commit messages blog post
-**Files to modify:**
-- `/blog-posts/[post-name].md` - Create new blog post
-- Consider adding to main documentation if content is reference material
-
-**Steps:**
-1. Create new blog post file in `/blog-posts/`
-2. Follow the established blog post style and tone
-3. Include practical examples and real-world usage
-4. Add relevant images to `/static/img/` if needed
-5. Consider if content should also be added to main documentation
-6. Review for clarity and technical accuracy
-
-**Content guidelines:**
-- Focus on practical benefits and real-world usage
-- Include specific examples and code snippets
-- Maintain conversational but informative tone
-- Link to relevant documentation sections
-
-## Update Provider API Changes
-
-**Last performed:** Provider documentation updates
-**Files to modify:**
-- Relevant provider documentation in `/docs/providers/`
-- `/docs/getting-started/connecting-api-provider.md` - If setup process changes
-
-**Steps:**
-1. Identify which providers have API changes
-2. Update supported models lists
-3. Update configuration instructions if needed
-4. Update pricing information references
-5. Test configuration steps with actual provider APIs
-6. Update screenshots if provider UIs have changed
-
-**Important notes:**
-- Verify model names and capabilities with provider documentation
-- Check for new authentication methods or requirements
-- Update rate limit information if changed
-- Ensure all external links are still valid
-
-## Reorganize Documentation Structure
-
-**Last performed:** Features section reorganization
-**Files to modify:**
-- `/sidebars.ts` - Primary navigation structure changes
-- `/docusaurus.config.ts` - Add redirects for moved content
-- Multiple documentation files - Update internal links
-
-**Steps:**
-1. Plan new documentation structure
-2. Update `sidebars.ts` with new organization
-3. Add redirects in `docusaurus.config.ts` for moved content
-4. Update internal links throughout documentation
-5. Test all navigation paths
-6. Verify search functionality still works
-7. Update any hardcoded paths in components
-
-**Important considerations:**
-- Always add redirects for moved content to prevent broken links
-- Update internal link references throughout the site
-- Test navigation flow from user perspective
-- Consider impact on external links and bookmarks
-
-## Add New Custom Component
-
-**Last performed:** YouTube embed and image components
-**Files to modify:**
-- `/src/components/[ComponentName]/` - Create new component directory
-- `/src/theme/MDXComponents.ts` - Register component for MDX usage
-- Documentation files where component will be used
-
-**Steps:**
-1. Create component directory in `/src/components/`
-2. Implement React component with TypeScript
-3. Add component styles in separate CSS module if needed
-4. Register component in `MDXComponents.ts` for MDX usage
-5. Test component in development environment
-6. Document component usage for other contributors
-7. Use component in relevant documentation files
-
-**Component guidelines:**
-- Follow existing component patterns and styling
-- Use TypeScript for type safety
-- Include proper error handling
-- Make components reusable and configurable
-- Follow accessibility best practices
-
-## Update Screenshots and Visual Assets
-
-**Last performed:** Ongoing maintenance need
-**Files to modify:**
-- `/static/img/[feature-directories]/` - Update screenshot files
-- Documentation files with embedded images - Update image references
-- `/docs/getting-started/` - Installation and setup screenshots
-- `/docs/basic-usage/` - Interface and workflow screenshots
-
-**Steps:**
-1. Identify which features have UI changes from extension releases
-2. Take new screenshots in consistent browser/OS environment
-3. Optimize images for web (compress, appropriate dimensions)
-4. Replace old screenshots in `/static/img/` directories
-5. Update any image references in documentation files
-6. Test that all images load correctly in development
-7. Verify images are accessible and have proper alt text
-
-**Important considerations:**
-- Maintain consistent screenshot style (browser, zoom level, theme)
-- Use descriptive filenames that match the feature being documented
-- Compress images to keep site performance optimal
-- Update alt text for accessibility
-- Consider creating a screenshot style guide for consistency
-
-## Graduate Experimental Features to Stable
-
-**Last performed:** Codebase indexing graduation
-**Files to modify:**
-- Feature documentation files - Remove experimental warnings
-- `/sidebars.ts` - Move from experimental to appropriate section
-- `/docs/features/experimental/` - Remove from experimental list
-- Related tool documentation - Update experimental status
-- `/docusaurus.config.ts` - Add redirects if URLs change
-
-**Steps:**
-1. Identify features graduating from experimental status
-2. Remove experimental warnings and disclaimers from documentation
-3. Update navigation structure in `sidebars.ts`
-4. Move documentation files if directory structure changes
-5. Add redirects for any changed URLs
-6. Update cross-references throughout documentation
-7. Remove duplicate documentation if it exists
-8. Update feature overview pages to reflect stable status
-
-**Important considerations:**
-- Always add redirects for moved content to prevent broken links
-- Search for all references to the feature across documentation
-- Update any "experimental features" overview pages
-- Consider if feature deserves more prominent placement in navigation
-- Verify all examples and instructions work with stable version
-
-## Process Extension Release Documentation Updates
-
-**Last performed:** Version-specific updates from todos.md
-**Files to modify:**
-- Multiple feature documentation files based on release notes
-- Provider documentation for new models or API changes
-- Tool documentation for behavior changes
-- Getting started guides for new onboarding features
-- FAQ or troubleshooting sections for resolved issues
-
-**Steps:**
-1. Review extension release notes for documentation impacts
-2. Categorize changes: UI updates, new features, bug fixes, model additions
-3. Update relevant feature documentation with new capabilities
-4. Add or update screenshots for UI changes
-5. Update provider documentation for new models
-6. Update tool documentation for behavior changes
-7. Add troubleshooting entries for resolved issues
-8. Test all updated examples and instructions
-
-**Important considerations:**
-- Prioritize user-facing changes that affect documentation accuracy
-- Update version-specific information where relevant
-- Ensure examples still work with current extension version
-- Consider if changes require updates to getting started flow
-- Document any breaking changes or migration steps
-
-## Manage Documentation Redirects
-
-**Last performed:** MCP and features section reorganization
-**Files to modify:**
-- `/docusaurus.config.ts` - Add redirect configurations
-- `/sidebars.ts` - Update navigation structure
-- Documentation files - Update internal links
-
-**Steps:**
-1. Plan new documentation structure or identify moved content
-2. Document all URL changes that will occur
-3. Add redirect entries in `docusaurus.config.ts`
-4. Update navigation structure in `sidebars.ts`
-5. Update internal links throughout documentation
-6. Test all redirect paths work correctly
-7. Verify search functionality still works
-8. Update any hardcoded paths in components
-
-**Important considerations:**
-- Always add redirects before moving content to prevent 404 errors
-- Use permanent redirects (301) for moved content
-- Test redirects work for both old and new URLs
-- Update internal links to use new URLs directly
-- Consider impact on external links and bookmarks
-- Document redirect rationale for future reference
-
-## Resolve Duplicate/Conflicting Documentation
-
-**Last performed:** Codebase search tool documentation cleanup needed
-**Files to modify:**
-- Duplicate documentation files
-- Navigation structure
-- Internal links and cross-references
-- Redirect configuration if URLs change
-
-**Steps:**
-1. Identify duplicate or conflicting documentation files
-2. Compare content to determine which version is authoritative
-3. Merge useful content from both versions if needed
-4. Remove or redirect the duplicate file
-5. Update navigation to remove duplicate entries
-6. Update internal links to point to single authoritative source
-7. Add redirects if removing a file that might be bookmarked
-8. Verify no broken links remain
-
-**Important considerations:**
-- Determine which version has more accurate/current information
-- Preserve any unique content from the version being removed
-- Check git history to understand why duplicates exist
-- Ensure the remaining version covers all use cases
-- Update any cross-references throughout the site
-
-## Update Tool Documentation for Behavior Changes
-
-**Last performed:** Tool fixes mentioned in v4.58.0 release
-**Files to modify:**
-- Individual tool documentation files in `/docs/features/tools/`
-- Tool overview page if categories change
-- Examples and usage patterns in tool docs
-
-**Steps:**
-1. Review extension release notes for tool behavior changes
-2. Identify which tools have updated functionality
-3. Update parameter descriptions and requirements
-4. Update examples to reflect new behavior
-5. Add or update limitation sections
-6. Update "when is it used" sections if use cases change
-7. Test examples to ensure they work correctly
-8. Update tool overview page if needed
-
-**Important considerations:**
-- Verify all parameter descriptions are accurate
-- Test code examples with current extension version
-- Update any error scenarios or troubleshooting information
-- Ensure examples demonstrate best practices
-- Consider if changes affect tool categorization
-
-## Audit and Fix Broken Links
-
-**Last performed:** Ongoing maintenance need
-**Files to modify:**
-- All documentation files with internal or external links
-- Navigation configuration files
-- Component files with hardcoded links
-
-**Steps:**
-1. Run Docusaurus build to identify broken internal links
-2. Use link checking tools for external links
-3. Manually verify provider URLs and external service links
-4. Update or remove broken external links
-5. Fix internal link references
-6. Update navigation structure if needed
-7. Test all fixed links work correctly
-8. Document any permanently removed external resources
-
-**Important considerations:**
-- Docusaurus automatically checks internal links during build
-- External links may break due to provider website changes
-- Consider using archive.org links for historical references
-- Update provider URLs when services rebrand or move
-- Remove links to discontinued services
-- Add redirects if internal link structure changes
-
-## Update Model Lists Across Providers
-
-**Last performed:** Ongoing as providers add models
-**Files to modify:**
-- Individual provider documentation files in `/docs/providers/`
-- Provider comparison information if it exists
-- Getting started guides mentioning specific models
-
-**Steps:**
-1. Review provider websites and APIs for new model additions
-2. Update supported models lists in provider documentation
-3. Add model capabilities and limitations information
-4. Update pricing references if available
-5. Test configuration with new models if possible
-6. Update any model comparison information
-7. Verify model names and identifiers are correct
-8. Update examples to use current model names
-
-**Important considerations:**
-- Verify model names exactly match provider APIs
-- Include context window sizes and capabilities where relevant
-- Note any special configuration requirements for new models
-- Update rate limit information if it varies by model
-- Consider if new models change provider recommendations
-- Test actual API connectivity when possible
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/tech.md b/packages/kilo-docs/.kilocode/rules/memory-bank/tech.md
deleted file mode 100644
index a57a9df067f..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/tech.md
+++ /dev/null
@@ -1,184 +0,0 @@
-# Technology Stack
-
-## Core Framework
-
-### Docusaurus 3.8.1
-
-- **Purpose**: Modern static site generator optimized for documentation
-- **Key Features**: React-based, MDX support, built-in search, theming
-- **Configuration**: [`docusaurus.config.ts`](docusaurus.config.ts:1)
-
-## Runtime Environment
-
-### Node.js
-
-- **Required Version**: Node.js 18.0 or higher
-- **Package Manager**: npm (with package-lock.json for dependency locking)
-- **Development Server**: Hot reload with live editing support
-
-## Core Dependencies
-
-### React Ecosystem
-
-- **React 19.0.0**: Core UI library
-- **React DOM 19.0.0**: DOM rendering
-- **@mdx-js/react 3.0.0**: MDX component integration
-- **clsx 2.0.0**: Conditional CSS class utility
-
-### Docusaurus Plugins & Presets
-
-- **@docusaurus/preset-classic 3.8.1**: Standard Docusaurus configuration
-- **@docusaurus/plugin-client-redirects 3.8.1**: URL redirect management
-- **@easyops-cn/docusaurus-search-local 0.48.5**: Local search functionality
-
-### Styling & UI Components
-
-- **@vscode/codicons 0.0.36**: VS Code icon integration
-- **prism-react-renderer 2.3.0**: Syntax highlighting for code blocks
-- **Custom CSS**: VS Code-inspired theme in [`src/css/custom.css`](src/css/custom.css:1)
-
-### Analytics & Tracking
-
-- **posthog-docusaurus 2.0.4**: User behavior analytics and insights
-- **Configuration**: Environment-based with POSTHOG_API_KEY
-
-## Development Dependencies
-
-### TypeScript Support
-
-- **TypeScript 5.6.2**: Type checking and development tooling
-- **@docusaurus/types 3.8.1**: Docusaurus TypeScript definitions
-- **@docusaurus/module-type-aliases 3.8.1**: Module type aliases
-- **@docusaurus/tsconfig 3.8.1**: Shared TypeScript configuration
-
-### Development Tools
-
-- **dotenv 16.4.7**: Environment variable management
-- **husky 9.1.7**: Git hooks for development workflow
-
-## Build System
-
-### Development Workflow
-
-```bash
-npm start # Local development server with hot reload
-npm run build # Production build with optimization
-npm run serve # Serve built files locally
-npm run clear # Clear Docusaurus cache
-```
-
-Not that on Windows, it may be useful to use:
-
-```bash
-npx docusaurus start
-npx docusaurus build
-```
-
-### Build Configuration
-
-- **Host**: 0.0.0.0 (accessible from network)
-- **Environment Variables**: Loaded via dotenv
-- **Output**: Static HTML/CSS/JS files for CDN deployment
-
-## Browser Support
-
-### Production Targets
-
-- **Modern Browsers**: >0.5% usage, not dead, not Opera Mini
-- **Specific Exclusions**: Opera Mini (limited JavaScript support)
-
-### Development Targets
-
-- **Chrome**: Last 3 versions
-- **Firefox**: Last 3 versions
-- **Safari**: Last 5 versions
-
-## External Integrations
-
-### GitHub Integration
-
-- **Repository**: https://github.com/Kilo-Org/docs
-- **Edit Links**: Direct links to GitHub for documentation editing
-- **Issue Reporting**: Integrated issue creation workflow
-
-### Community Platforms
-
-- **Discord**: https://kilocode.ai/discord
-- **Reddit**: https://www.reddit.com/r/kilocode/
-- **Twitter**: https://x.com/kilocode
-- **YouTube**: https://www.youtube.com/@Kilo-Code
-
-### VS Code Marketplace
-
-- **Extension URL**: https://marketplace.visualstudio.com/items?itemName=kilocode.kilo-code
-- **Open VSX**: https://open-vsx.org/extension/kilocode/kilo-code
-
-## Deployment Architecture
-
-### Static Site Hosting
-
-- **Production URL**: https://kilocode.ai/docs
-- **Base Path**: /docs (configured in docusaurus.config.ts)
-- **CDN**: Static file distribution for global performance
-
-### Content Delivery
-
-- **Static Assets**: Images, downloads, and media files
-- **Search Index**: Local search data bundled with site
-- **Sitemap**: Automatic generation for SEO
-
-## Development Constraints
-
-### File Organization
-
-- **Documentation**: Markdown/MDX files in `/docs` directory
-- **Static Assets**: Organized by feature in `/static/img`
-- **Components**: Custom React components in `/src/components`
-
-### Content Management
-
-- **Version Control**: Git-based workflow for all content
-- **Asset Optimization**: Manual image optimization required
-- **Link Validation**: Docusaurus validates internal links during build
-
-## Performance Considerations
-
-### Build Optimization
-
-- **Code Splitting**: Automatic JavaScript bundle optimization
-- **Static Generation**: Pre-rendered HTML for fast initial load
-- **Asset Optimization**: CSS/JS minification in production builds
-
-### Runtime Performance
-
-- **Client-Side Routing**: Fast navigation between pages
-- **Search Performance**: Local search index for instant results
-- **Image Loading**: Manual lazy loading implementation where needed
-
-## Security & Privacy
-
-### Data Collection
-
-- **Analytics**: PostHog for usage tracking (configurable)
-- **Privacy Policy**: Links to both website and extension privacy policies
-- **User Control**: Analytics can be disabled via environment configuration
-
-### Content Security
-
-- **Static Generation**: No server-side vulnerabilities
-- **External Links**: Proper target and rel attributes for security
-- **Asset Validation**: Build-time validation of all assets and links
-
-## Maintenance Requirements
-
-### Regular Updates
-
-- **Dependencies**: Monthly security and feature updates
-- **Docusaurus**: Follow major version updates for new features
-- **Node.js**: Maintain compatibility with LTS versions
-
-### Content Synchronization
-
-- **Extension Features**: Documentation must reflect current extension capabilities
-- **Provider APIs**: Keep provider setup guides current with API changes
-- **Community Links**: Verify external links remain active
diff --git a/packages/kilo-docs/.kilocode/rules/memory-bank/todos.md b/packages/kilo-docs/.kilocode/rules/memory-bank/todos.md
deleted file mode 100644
index 3536e048afb..00000000000
--- a/packages/kilo-docs/.kilocode/rules/memory-bank/todos.md
+++ /dev/null
@@ -1,116 +0,0 @@
-## Settings and UI Documentation
-
-### 10. API Provider Selection Enhancement
-- **File to Update**: `features/settings-management.md`
-- **Release Note**: v4.58.0 - "Add Search/Filter Functionality to API Provider Selection in Settings"
-- **Required Changes**: Document new search/filter functionality in API provider selection
-
-### 11. Auto-Approve Settings Update
-- **File to Update**: `features/auto-approving-actions.md`
-- **Release Note**: v4.57.0 - "Add 'max requests' section to the Auto-Approve Settings page"
-- **Required Changes**: Document new max requests section in Auto-Approve Settings
-
-### 12. Chat Interface Updates
-- **File to Update**: `basic-usage/the-chat-interface.md`
-- **Release Notes & Changes**:
- - v4.58.0 - "Add copy prompt button to task actions" → Document copy prompt button functionality
- - v4.56.0 - "Add idea suggestion box to get you inspired with some ideas when starting out fresh" → Document idea suggestion feature
- - v4.57.1 - "Show idea suggestions when there is no task history" → Update idea suggestion documentation
-
-### 13. Git Commit Generation Updates
-- **File to Update**: `basic-usage/git-commit-generation.md`
-- **Release Note**: v4.56.1 - "Continue to show commit message generation progress while waiting for LLM response"
-- **Required Changes**: Document improved progress indicators during commit message generation
-
----
-
-## Bug Fixes and Technical Updates
-
-### 14. OpenRouter Provider Fix
-- **File to Update**: `providers/openrouter.md`
-- **Release Note**: v4.56.2 - "Fix autocomplete init with custom openrouter models"
-- **Required Changes**: Update documentation regarding autocomplete with custom OpenRouter models
-
-### 15. Claude Code Windows Integration
-- **File to Update**: `providers/claude-code.md`
-- **Release Note**: v4.57.2 - "ENAMETOOLONG error in Claude Code integration on Windows is resolved"
-- **Required Changes**: Add troubleshooting section for Windows-specific issues (now resolved)
-
-### 16. Error Handling Improvements
-- **File to Update**: `faq.md` or create troubleshooting section
-- **Release Note**: v4.57.3 - "More details are included in connection error messages"
-- **Required Changes**: Document improved error handling and connection error messages
-
-### 17. Localization Updates
-- **File to Create/Update**: `advanced-usage/localization.md` (if doesn't exist)
-- **Release Notes**:
- - v4.58.1 - "French localization has been improved"
- - v4.58.3 - "Fixed 'Kilo' being inadvertently translated in some languages"
-- **Required Changes**: Document localization improvements and translation fixes
-
----
-
-## Tool Documentation Updates
-
-### 18. Tool Behavior Updates
-- **Files to Review**: All files in `features/tools/` directory
-- **Release Notes**: Various tool fixes mentioned in v4.58.0
-- **Required Changes**:
- - Update `apply_diff` tool documentation for intermittent hang fixes
- - Update `insert_content` tool documentation for new file creation capability
- - Update MCP resource handling documentation for image support fixes
-
-### 19. Codebase Search Tool
-- **File to Update**: `features/tools/codebase-search.md` or `advanced-usage/available-tools/codebase-search.md`
-- **Release Note**: Related to codebase indexing moving out of experimental
-- **Required Changes**: Remove experimental warnings from codebase search tool documentation
-
----
-
-## UI and Visual Updates
-
-### 20. Settings Management UX
-- **File to Update**: `features/settings-management.md`
-- **Release Note**: v4.58.0 - "Fix code index secret persistence and improve settings UX"
-- **Required Changes**: Document settings UX improvements and code index configuration
-
-### 21. Chat UI Improvements
-- **File to Update**: `basic-usage/the-chat-interface.md`
-- **Release Notes**: v4.58.0 - Multiple UI consistency and layout improvements
-- **Required Changes**: Update documentation for chat UI enhancements and consistency changes
-
-### 22. Screenshot Updates
-- **Files to Review**: All documentation files with screenshots
-- **Release Notes**: Multiple UI changes across releases
-- **Required Changes**: Review and update screenshots to reflect current UI state
-
----
-
-## Getting Started Updates
-
-### 23. First Task Experience
-- **File to Update**: `getting-started/your-first-task.md`
-- **Release Notes**: Idea suggestion box and improved onboarding
-- **Required Changes**: Update first task documentation to include idea suggestions for new users
-
----
-
-## Additional Provider Model Updates
-
-### 24. Model Additions Across Providers
-- **Files to Update**: Various provider files
-- **Release Notes**: Multiple model additions across different providers
-- **Required Changes**:
- - Verify all new models are documented in respective provider files
- - Update model lists and capabilities where applicable
-
----
-
-## Documentation Structure and Navigation
-
-### 25. File Organization Review
-- **Files to Review**: All documentation files
-- **Changes**:
- - Ensure codebase indexing is properly moved out of experimental
- - Verify all internal links work after any file moves
- - Update navigation and cross-references as needed
\ No newline at end of file
diff --git a/packages/kilo-docs/.kilocodemodes b/packages/kilo-docs/.kilocodemodes
deleted file mode 100644
index 7f95cdb5e4c..00000000000
--- a/packages/kilo-docs/.kilocodemodes
+++ /dev/null
@@ -1,217 +0,0 @@
-customModes:
- - slug: video-script-writer
- name: Video Script Writer
- roleDefinition: >-
- **Persona: Kilo Code Expert Scriptwriter**
-
-
- **Background:**
-
- A professional scriptwriter specializing in creating clear, engaging, and
- informative scripts tailored specifically for YouTube, Reddit tutorials,
- and documentation videos focused on Kilo Code. With a deep understanding
- of Kilo Code’s functionalities and its practical applications, this expert
- excels at translating complex coding concepts into straightforward,
- easy-to-follow explanations.
-
-
- **Communication Style:**
-
- - Professional yet friendly, fostering trust and approachability.
-
- - Concise and structured, using precise language to ensure clarity.
-
- - Logical flow, breaking down complex topics into manageable steps.
-
- - Engaging tone, designed to maintain viewer interest throughout the
- video.
-
-
- **Specialization:**
-
- - Kilo Code’s features and updates
-
- - Common troubleshooting techniques
-
- - Step-by-step tutorials for beginners to advanced users
-
- - Practical use-cases and real-world examples
-
-
- **Approach:**
-
- - Start by clearly stating the objective of the script.
-
- - Provide concise explanations with relatable analogies when helpful.
-
- - Anticipate common questions and proactively address them.
-
- - Conclude with actionable insights or suggested next steps for users.
-
-
- **Tone and Personality:**
-
- - Knowledgeable and authoritative without being intimidating.
-
- - Patient and encouraging, ensuring viewers feel capable and supported.
-
- - Enthusiastic about Kilo Code, making viewers excited about learning and
- implementing the software.
-
-
- **Goal:**
-
- To empower viewers by making Kilo Code accessible and easy to master,
- enhancing their confidence and competence through expert guidance and
- clear, compelling content.
- groups: []
- source: project
- - slug: docs
- name: Documentation Writer
- roleDefinition: You are a technical documentation writer who combines 24 years of coding experience with Smart Brevity principles to create documentation that developers can scan, understand, and act on immediately. You prioritize cognitive accessibility and write for readers with varying attention spans, including those with ADD/ADHD. Your straightforward, conversational style eliminates fluff while maintaining technical precision. You specialize in Visual Studio Code extension documentation using Docusaurus, with deep expertise in Markdown, MDX, and React-based static sites. Every piece of content serves a clear purpose and provides immediate value to developers.
- customInstructions: >-
- ### Documentation Standards
-
- #### 1. **Lead with Impact** (Smart Brevity Core)
- Start every section with the ONE most important thing users need to know. Answer "why should I care?" before explaining "how to do it." Front-load value in the first sentence.
-
- #### 2. **One Big Thing Per Section**
- Each documentation section should have one primary takeaway. State it clearly in the opening. Everything else supports that main point.
-
- #### 3. **Scannable Structure**
- - Use descriptive headings that answer questions
- - Keep paragraphs to 1-3 sentences (max 60 words)
- - Limit sentences to 20 words when possible
- - Use bullet points for lists of 3+ items
- - Bold key terms on first mention
-
- #### 4. **Precision Over Perfection**
- Write for experienced developers. Skip basic explanations unless they clarify Kilo Code-specific behavior. Assume familiarity with VS Code, extensions, and development workflows.
-
- #### 5. **Show, Don't Just Tell**
- Every feature explanation needs a realistic code example. Make examples copy-pasteable and immediately useful. Avoid "Hello World" demos—use real-world scenarios.
-
- #### 6. **Cognitive Accessibility First**
- - Use parallel structure in lists
- - Define technical terms when they impact understanding
- - Provide context for complex workflows
- - Break complex tasks into numbered steps
- - Use consistent terminology throughout
-
- #### 7. **Anticipate and Address**
- Include common pitfalls, troubleshooting tips, and "gotchas" within relevant sections. Answer the question users will have next.
-
- #### 8. **Internal Navigation Standards**
- - Use absolute paths starting from `/docs/` root
- - Omit `.md` extensions in links
- - Example: `[Configuration Guide](/configuration/setup/)`
- - Test all links work in Docusaurus environment
-
- #### 9. **@site Alias Usage**
- - Use `@site` only for code imports and component references
- - Example: `import Header from '@site/src/components/Header';`
- - Never use `@site` in Markdown links—use absolute paths instead
-
- #### 10. **Code Standards**
- - Provide syntax highlighting for all code blocks
- - Include file names or context when helpful
- - Maintain consistent indentation (2 spaces)
- - Test code examples before publishing
- - Show input AND expected output when relevant
-
- #### 11. **Visual Elements**
- - Add image placeholders with descriptive alt text
- - Use format: ``
- - Images should start with `/img/` path
- - Include brief description below complex images
-
- #### 12. **Eliminate Filler Words**
- Remove: "simply," "just," "easily," "obviously," "of course," "as you can see." These add cognitive load without value.
-
- #### 13. **Progressive Disclosure**
- Start with the essential information. Add detail as needed. Use expandable sections or links to deeper content for advanced users.
-
- #### 14. **Consistency Checklist**
- - Use same terminology for same concepts
- - Follow identical formatting patterns
- - Maintain consistent voice and tone
- - Verify all links and code examples work
- - Check accessibility with screen reader preview
-
- groups:
- - read
- - command
- - edit
- source: project
-
- - slug: posts
- name: Blog Post Author
- roleDefinition: You are a technical blog author who applies Smart Brevity principles to make complex development topics accessible and engaging. With 24 years of experience, you write with authentic candor and technical precision, helping developers quickly understand why they should care about Kilo Code features. Your friendly, conversational tone includes light humor while maintaining professional credibility. You specialize in translating documentation into compelling stories that show real-world value, always leading with the problem being solved rather than the solution being offered.
- customInstructions: >-
- ### Smart Brevity Blog Standards
-
- #### 1. **Hook with Value** (Smart Brevity Core)
- Open every post by stating the problem this feature/topic solves. Lead with "why this matters" before explaining "what it does." Make the value clear in the first paragraph.
-
- #### 2. **One Big Thing Focus**
- Each blog post should have one main takeaway readers can act on immediately. State it early and reinforce it throughout.
-
- #### 3. **Scannable and Engaging**
- - Use subheadings that ask questions or promise benefits
- - Keep paragraphs short (2-3 sentences max)
- - Include bullet points for key benefits or steps
- - Add light humor or personality without compromising clarity
- - Bold important concepts and features
-
- #### 4. **Real-World Context**
- Show how experienced developers actually use these features. Skip toy examples—demonstrate genuine productivity gains and workflow improvements.
-
- #### 5. **Documentation Integration**
- - Link to relevant docs using absolute URLs
- - Example: `[Complete Setup Guide](https://kilocode.ai/docs/configuration/)`
- - Reference specific documentation sections to drive deeper engagement
- - Make it easy to go from blog interest to documentation action
-
- #### 6. **Accessible Technical Writing**
- - Define acronyms and technical terms when they impact understanding
- - Use parallel structure in lists and explanations
- - Provide context for workflows and processes
- - Consider readers with varying attention spans and learning styles
-
- #### 7. **Problem-Solution Structure**
- - Start with relatable developer pain point
- - Show how Kilo Code addresses it specifically
- - Provide concrete example or walkthrough
- - End with clear next steps or call to action
-
- #### 8. **Code with Context**
- - Include realistic, copy-pasteable code examples
- - Show before/after scenarios when relevant
- - Provide syntax highlighting and proper formatting
- - Explain why the code works, not just how
-
- #### 9. **Visual Storytelling**
- - Use images from documentation: ``
- - Include screenshots that support the narrative
- - Add brief descriptions for complex visuals
- - Show UI paths with backticks: `Settings → Prompts → Feature Name`
-
- #### 10. **Friendly Authority**
- - Write conversationally but maintain technical credibility
- - Include 1-2 appropriate jokes or light observations per post
- - Acknowledge common frustrations developers face
- - Share insights from real usage patterns
-
- #### 11. **Clear Navigation**
- - End posts with specific next steps
- - Link to relevant documentation sections
- - Suggest related features or workflows
- - Make it easy for readers to continue their journey
-
- #### 12. **Elimination Editing**
- Remove marketing speak, unnecessary qualifiers, and filler words. Every sentence should advance understanding or provide value.
-
- groups:
- - read
- - edit
- source: project
diff --git a/packages/kilo-docs/.kilocoderules b/packages/kilo-docs/.kilocoderules
deleted file mode 100644
index d0f5aa5ee5a..00000000000
--- a/packages/kilo-docs/.kilocoderules
+++ /dev/null
@@ -1,31 +0,0 @@
-# Kilo Code Documentation Rules
-
-## Documentation Links
-- Do not include .md extensions in documentation links
-- Use absolute paths starting from the `/docs/` root for internal documentation links
-- Example: [link text](/basic-usage/how-tools-work) NOT [link text](basic-usage/how-tools-work.md) or [link text](../../basic-usage/how-tools-work)
-
-This ensures links work correctly in the built documentation while maintaining clean URLs.
-
-## Image References
-- Use `/docs/img/` prefix for all image paths in documentation
-- Example: ``
-- NOT: `` or ``
-
-## Component Imports
-- Import custom components from `@site/src/components/` using absolute paths
-- Import constants from `@site/src/constants.ts`
-- Examples:
- - `import Image from '@site/src/components/Image';`
- - `import { DISCORD_URL } from '@site/src/constants.ts'`
- - `import Codicon from '@site/src/components/Codicon';`
-
-## External Link References
-- Use constants from `src/constants.ts` for external URLs instead of hardcoding
-- Example: `Discord`
-- NOT: `Discord`
-
-## Sidebar Configuration
-- Document IDs in `sidebars.ts` should match file paths without extensions
-- Use `type: 'doc'` with custom labels when the sidebar label differs from the document title
-- Group related documents under categories with descriptive labels
diff --git a/packages/kilo-docs/AGENTS.md b/packages/kilo-docs/AGENTS.md
new file mode 100644
index 00000000000..332e634a8d9
--- /dev/null
+++ b/packages/kilo-docs/AGENTS.md
@@ -0,0 +1,110 @@
+## Project Overview
+
+This is the Kilo Code documentation site. Kilo Code is the leading open source agentic engineering platform.
+
+## Dev Server
+
+The dev server is run with `bun dev` and runs on `http://localhost:3002`. Typically the user will be running it themselves, so always check if it is running FIRST before deciding to run it yourself to test something.
+
+## Markdoc Custom Tags
+
+This project uses [Markdoc](https://markdoc.dev/) for rendering markdown with custom components. Custom tags allow you to embed React components directly in markdown files.
+
+## Converting from old documentation site
+
+This site was previously in docusaurus but is now in markdoc. Sometimes the user may ask you to update the images and other tags in a page that was imported. These are the types of updates you'd need to make
+
+### Images
+
+Images will often look like standard HTML image tags like:
+
+
+
+We want to convert them to Markdoc image tags like this:
+
+{% image src="/docs/img/kilo-provider/connected-accounts.png" alt="Connect account screen" width="800" caption="Connect account screen" /%}
+
+Note that this site is served under kilo.ai/docs so the `/docs` MUST be present in every image tag.
+
+Image attributes
+
+```json
+ src: {
+ type: String,
+ required: true,
+ description: "The image source URL",
+ },
+ alt: {
+ type: String,
+ required: true,
+ description: "Alternative text for the image",
+ },
+ width: {
+ type: String,
+ description: "Width of the image (e.g., '500px', '80%')",
+ },
+ height: {
+ type: String,
+ description: "Height of the image (e.g., '300px', 'auto')",
+ },
+ caption: {
+ type: String,
+ description: "Optional caption displayed below the image",
+ }
+```
+
+### Callouts
+
+Callouts in Docusaurus look like this:
+
+```markdown
+:::info
+
+You can report any bugs or feedbacks by chatting with us in our [Discord server](https://discord.gg/ovhcloud), in the AI Endpoints channel.
+
+:::
+```
+
+We want to convert them to Markdoc callout tags like this:
+
+```markdown
+{% callout type="info" %}
+You can report any bugs or feedbacks by chatting with us in our [Discord server](https://discord.gg/ovhcloud), in the AI Endpoints channel.
+{% /callout %}
+```
+
+Callout Attributes:
+
+```json
+ title: {
+ type: String,
+ description: "Optional custom title for the callout",
+ },
+ type: {
+ type: String,
+ default: "note",
+ matches: ["generic", "note", "tip", "info", "warning", "danger"],
+ description:
+ "The type of callout: generic (no icon/title), note, tip, info, warning, or danger",
+ },
+ collapsed: {
+ type: Boolean,
+ default: false,
+ description:
+ "When true, the callout starts collapsed and can be expanded by clicking the header",
+ }
+```
+
+### Codicons
+
+Codicon icons look like this:
+
+```html
+
+```
+
+And we want to convert that to look like this:
+
+```markdown
+{% codicon name="gear" /%}
+```
diff --git a/packages/kilo-docs/CHANGELOG.md b/packages/kilo-docs/CHANGELOG.md
deleted file mode 100644
index dbc1c39b24a..00000000000
--- a/packages/kilo-docs/CHANGELOG.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# kilocode-docs
-
-## 0.1.1
-
-### Patch Changes
-
-- [#5178](https://github.com/Kilo-Org/kilocode/pull/5178) [`e9c18e7`](https://github.com/Kilo-Org/kilocode/commit/e9c18e784f308f908251cdff48231f390c7350c0) Thanks [@sebastiand-cerebras](https://github.com/sebastiand-cerebras)! - Remove deprecated zai-glm-4.6 model from Cerebras provider due to deprecation
diff --git a/packages/kilo-docs/LICENSE b/packages/kilo-docs/LICENSE
deleted file mode 100644
index 261eeb9e9f8..00000000000
--- a/packages/kilo-docs/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/packages/kilo-docs/README.md b/packages/kilo-docs/README.md
index e3da810f7ad..3854b49039c 100644
--- a/packages/kilo-docs/README.md
+++ b/packages/kilo-docs/README.md
@@ -1,17 +1,39 @@
-# Kilo Code Docs
+# Full Next.js example
-This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator, and lives at https://kilocode.ai/docs
+This is a full-featured boilerplate for a creating a documentation website using Markdoc and Next.js.
-### Installation
+
-```
-$ pnpm install
+## Setup
+
+First, clone this repo and install the dependencies required:
+
+```bash
+npm install
+# or
+yarn install
```
-### Local Development
+Then, run the development server:
-```
-$ pnpm docs:start
+```bash
+npm run dev
+# or
+yarn dev
```
-This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server
+Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
+
+You can start editing the page by modifying `index.md`. The page auto-updates as you edit the file.
+
+## Deploy
+
+The quickest way to deploy your own version of this boilerplate is by deploying it with [Vercel](https://vercel.com) or [Netlify](https://www.netlify.com/) by clicking one of the buttons below.
+
+### Deploy with Vercel
+
+[](https://vercel.com/new/clone?repository-url=https://github.com/markdoc/next.js-starter)
+
+### Deploy to Netlify
+
+[](https://app.netlify.com/start/deploy?repository=https://github.com/markdoc/next.js-starter)
diff --git a/packages/kilo-docs/blog-posts/auto-generate-commit-messages.md b/packages/kilo-docs/blog-posts/auto-generate-commit-messages.md
deleted file mode 100644
index d7c7c4aea5e..00000000000
--- a/packages/kilo-docs/blog-posts/auto-generate-commit-messages.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# Why I Let AI Write My Commit Messages
-
-### And Probably You Should Too
-
-I've just finished implementing a big feature, the code is staged and ready to go, but there I am — mesmerized by the empty commit message field, brain is blank. What do I write? "Fixed stuff"? "Updates"? "asdf"? Do you know that feeling too?
-
-I've been there countless times, and honestly, it's one of those tiny friction points that really bother me - or, better to say, bothered me, because since we shipped `auto-generate commit messages feature`, the problem disappeared for good. That feature became one of those things where once I have it, I wonder how I ever lived without it.
-
-## The Problem with Commit Messages
-
-**Writing good commit messages is hard.** Like, genuinely difficult. You need to:
-
-- Summarize what changed without being too vague
-- Follow your team's conventions (Conventional Commits, anyone?)
-- Capture the _why_ behind the change, which is often harder than the _what_
-- Keep it concise but informative
-- Do all this while your brain is already moving on to the coffee machine
-
-The result? Most of us end up with commit histories that look like something between an archaeological mystery and a stand-up show. Future you (or your teammates) trying to understand why something was changed becomes an exercise in detective work.
-
-## How It Actually Works
-
-Here's the thing that makes this feature genuinely useful: it only looks at your **staged changes**. Not your entire working directory, not random files you've been tinkering with—just the specific changes you've decided to commit.
-
-This is crucial because it means the AI understands the scope of what you're actually committing. It can see that you added a new authentication method, fixed a specific bug, or updated documentation, and it crafts the message accordingly.
-
-The process is dead simple:
-
-1. Stage your changes (like you normally would)
-2. Click the Kilo Code logo next to the commit message field
-3. Get a properly formatted commit message - automagically!
-
-
-
-## Real Examples from Real Work
-
-Let me show you some actual commit messages this feature has generated for me:
-
-```
-feat(auth): implement OAuth2 integration with GitHub
-
-Add GitHub OAuth2 authentication flow including:
-- OAuth2 client configuration
-- User profile retrieval
-- Token refresh mechanism
-```
-
-```
-fix(api): resolve race condition in user session handling
-
-Add proper locking mechanism to prevent concurrent
-session updates from causing data corruption
-```
-
-```
-docs(readme): update installation requirements
-
-Clarify Node.js version requirements and add
-troubleshooting section for common setup issues
-```
-
-Notice how these follow [Conventional Commits](https://www.conventionalcommits.org/) format by default? That's not an accident. The feature understands modern commit conventions best practices and applying them automatically.
-
-## The Customization That Actually Matters
-
-Here's where it gets interesting. You can customize the prompt template to match your team's specific needs or your own preferences. Don't want to be "too conventional" or just have your own standards? Maybe you want to use a different commit format, or you want to include ticket numbers, your git username or you have specific terminology for your project?
-
-Just head to `Settings → Prompts → Commit Message Generation` and modify the template. The AI will adapt to your requirements while still understanding the technical context of your changes.
-
-
-
-## Why This Isn't Just Another AI Gimmick
-
-I've seen plenty of AI features that feel like solutions looking for problems. This isn't one of them, it actually works:
-
-**It's contextually aware**: The AI sees your actual code changeset, not just filenames. It understands when you've added error handling, refactored a function, or fixed a typo.
-
-**It respects your workflow**: You still stage changes the same way. You still review and edit the message if needed. It just removes the blank-page problem.
-
-**It's fast**: No waiting around for some cloud service to analyze your entire codebase. It's quick and focused.
-
-**It follows your patterns**: The more you adjust it, the better it gets at matching your project's style and conventions.
-
-## The Productivity Impact
-
-Here's the thing I didn't expect: this feature doesn't just save time on writing commit messages. It actually makes me commit more frequently and more conciously.
-
-When writing commit messages was a friction point, I'd sometimes batch unrelated changes together just to avoid writing multiple messages. Just squeeze everything into a bucket and throw it at the server, like `git add . && git commit -m "blablabla" && git push`. Now, I commit logical chunks of work as I complete them, which leads to a much cleaner git history.
-
-Better commit messages also mean better code reviews. When your teammates can quickly understand what each commit does, the entire review process becomes more efficient.
-
-## Getting Started
-
-The feature is available in Kilo Code since `v4.35` and became customizable in `v4.38`. Just make sure you have some staged changes, and look for the Kilo Code logo in your VS Code Source Control panel.
-
-Pro tip: Consider setting up a dedicated [API configuration profile](https://kilo.ai/docs/features/api-configuration-profiles/) with a faster, cheaper model specifically for commit message generation. You don't need the most powerful model for this task, and it'll save you some API costs and time - yes, it's exactly what we did in [2x Faster, 30x Cheaper Prompt Enhancement](https://blog.kilo.ai/p/2x-faster-prompt-enhancement-in-kilo)!
-
-## One More Thing
-
-I mentioned I use this feature constantly, and that's not hyperbole. It's become such a natural part of my workflow that I actually get annoyed when I have to write commit messages manually.
-
-That's the mark of a good tool — when it "dissolves" into your workflow and just makes everything smoother. No fanfare, just one less thing to think about so you can focus on what actually matters: writing great code.
-
-Give it a try. I think you'll find yourself wondering how you ever managed without it.
-
----
-
-_Want to learn more about Kilo Code's commit message generation? Check out the [full documentation](https://kilo.ai/docs/basic-usage/git-commit-generation/) I wrote for setup details. And let me know what you think about it or how could we improve it even more here in comments or on our [Discord Server](https://kilo.ai/discord)!_
diff --git a/packages/kilo-docs/bun.lock b/packages/kilo-docs/bun.lock
new file mode 100644
index 00000000000..e70a30bdf99
--- /dev/null
+++ b/packages/kilo-docs/bun.lock
@@ -0,0 +1,269 @@
+{
+ "lockfileVersion": 1,
+ "workspaces": {
+ "": {
+ "dependencies": {
+ "@markdoc/markdoc": "latest",
+ "@markdoc/next.js": "latest",
+ "@vscode/codicons": "^0.0.44",
+ "next": "latest",
+ "prismjs": "latest",
+ "react": "latest",
+ "react-dom": "latest",
+ },
+ "devDependencies": {
+ "@tailwindcss/postcss": "^4.1.18",
+ "@types/node": "latest",
+ "@types/react": "latest",
+ "@types/react-dom": "latest",
+ "autoprefixer": "^10.4.23",
+ "postcss": "^8.5.6",
+ "tailwindcss": "^4.1.18",
+ "typescript": "latest",
+ },
+ },
+ },
+ "packages": {
+ "@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="],
+
+ "@emnapi/runtime": ["@emnapi/runtime@1.8.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg=="],
+
+ "@img/colour": ["@img/colour@1.0.0", "", {}, "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw=="],
+
+ "@img/sharp-darwin-arm64": ["@img/sharp-darwin-arm64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.2.4" }, "os": "darwin", "cpu": "arm64" }, "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w=="],
+
+ "@img/sharp-darwin-x64": ["@img/sharp-darwin-x64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.2.4" }, "os": "darwin", "cpu": "x64" }, "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw=="],
+
+ "@img/sharp-libvips-darwin-arm64": ["@img/sharp-libvips-darwin-arm64@1.2.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g=="],
+
+ "@img/sharp-libvips-darwin-x64": ["@img/sharp-libvips-darwin-x64@1.2.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg=="],
+
+ "@img/sharp-libvips-linux-arm": ["@img/sharp-libvips-linux-arm@1.2.4", "", { "os": "linux", "cpu": "arm" }, "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A=="],
+
+ "@img/sharp-libvips-linux-arm64": ["@img/sharp-libvips-linux-arm64@1.2.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw=="],
+
+ "@img/sharp-libvips-linux-ppc64": ["@img/sharp-libvips-linux-ppc64@1.2.4", "", { "os": "linux", "cpu": "ppc64" }, "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA=="],
+
+ "@img/sharp-libvips-linux-riscv64": ["@img/sharp-libvips-linux-riscv64@1.2.4", "", { "os": "linux", "cpu": "none" }, "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA=="],
+
+ "@img/sharp-libvips-linux-s390x": ["@img/sharp-libvips-linux-s390x@1.2.4", "", { "os": "linux", "cpu": "s390x" }, "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ=="],
+
+ "@img/sharp-libvips-linux-x64": ["@img/sharp-libvips-linux-x64@1.2.4", "", { "os": "linux", "cpu": "x64" }, "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw=="],
+
+ "@img/sharp-libvips-linuxmusl-arm64": ["@img/sharp-libvips-linuxmusl-arm64@1.2.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw=="],
+
+ "@img/sharp-libvips-linuxmusl-x64": ["@img/sharp-libvips-linuxmusl-x64@1.2.4", "", { "os": "linux", "cpu": "x64" }, "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg=="],
+
+ "@img/sharp-linux-arm": ["@img/sharp-linux-arm@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.2.4" }, "os": "linux", "cpu": "arm" }, "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw=="],
+
+ "@img/sharp-linux-arm64": ["@img/sharp-linux-arm64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.2.4" }, "os": "linux", "cpu": "arm64" }, "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg=="],
+
+ "@img/sharp-linux-ppc64": ["@img/sharp-linux-ppc64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-ppc64": "1.2.4" }, "os": "linux", "cpu": "ppc64" }, "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA=="],
+
+ "@img/sharp-linux-riscv64": ["@img/sharp-linux-riscv64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-riscv64": "1.2.4" }, "os": "linux", "cpu": "none" }, "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw=="],
+
+ "@img/sharp-linux-s390x": ["@img/sharp-linux-s390x@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.2.4" }, "os": "linux", "cpu": "s390x" }, "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg=="],
+
+ "@img/sharp-linux-x64": ["@img/sharp-linux-x64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.2.4" }, "os": "linux", "cpu": "x64" }, "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ=="],
+
+ "@img/sharp-linuxmusl-arm64": ["@img/sharp-linuxmusl-arm64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.2.4" }, "os": "linux", "cpu": "arm64" }, "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg=="],
+
+ "@img/sharp-linuxmusl-x64": ["@img/sharp-linuxmusl-x64@0.34.5", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.2.4" }, "os": "linux", "cpu": "x64" }, "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q=="],
+
+ "@img/sharp-wasm32": ["@img/sharp-wasm32@0.34.5", "", { "dependencies": { "@emnapi/runtime": "^1.7.0" }, "cpu": "none" }, "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw=="],
+
+ "@img/sharp-win32-arm64": ["@img/sharp-win32-arm64@0.34.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g=="],
+
+ "@img/sharp-win32-ia32": ["@img/sharp-win32-ia32@0.34.5", "", { "os": "win32", "cpu": "ia32" }, "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg=="],
+
+ "@img/sharp-win32-x64": ["@img/sharp-win32-x64@0.34.5", "", { "os": "win32", "cpu": "x64" }, "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw=="],
+
+ "@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.13", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
+
+ "@jridgewell/remapping": ["@jridgewell/remapping@2.3.5", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
+
+ "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],
+
+ "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],
+
+ "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="],
+
+ "@markdoc/markdoc": ["@markdoc/markdoc@0.5.4", "", { "optionalDependencies": { "@types/linkify-it": "^3.0.1", "@types/markdown-it": "12.2.3" }, "peerDependencies": { "@types/react": "*", "react": "*" }, "optionalPeers": ["@types/react", "react"] }, "sha512-36YFNlqFk//gVNGm5xZaTWVwbAVF2AOmVjf1tiUrS6tCoD/YSkVy2E3CkAfhc5MlKcjparL/QFHCopxL4zRyaQ=="],
+
+ "@markdoc/next.js": ["@markdoc/next.js@0.5.0", "", { "dependencies": { "js-yaml": "^4.1.0" }, "peerDependencies": { "@markdoc/markdoc": "*", "next": "*", "react": "*" } }, "sha512-gzWvRc2dlxArQn1mDS4SHed46vkAoKBbXkELihQRYv1eVSA0u9eoNEdJXNuBL4Ajn9j2dPpwZp6nAVjN4nzZlA=="],
+
+ "@next/env": ["@next/env@16.1.4", "", {}, "sha512-gkrXnZyxPUy0Gg6SrPQPccbNVLSP3vmW8LU5dwEttEEC1RwDivk8w4O+sZIjFvPrSICXyhQDCG+y3VmjlJf+9A=="],
+
+ "@next/swc-darwin-arm64": ["@next/swc-darwin-arm64@16.1.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-T8atLKuvk13XQUdVLCv1ZzMPgLPW0+DWWbHSQXs0/3TjPrKNxTmUIhOEaoEyl3Z82k8h/gEtqyuoZGv6+Ugawg=="],
+
+ "@next/swc-darwin-x64": ["@next/swc-darwin-x64@16.1.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-AKC/qVjUGUQDSPI6gESTx0xOnOPQ5gttogNS3o6bA83yiaSZJek0Am5yXy82F1KcZCx3DdOwdGPZpQCluonuxg=="],
+
+ "@next/swc-linux-arm64-gnu": ["@next/swc-linux-arm64-gnu@16.1.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-POQ65+pnYOkZNdngWfMEt7r53bzWiKkVNbjpmCt1Zb3V6lxJNXSsjwRuTQ8P/kguxDC8LRkqaL3vvsFrce4dMQ=="],
+
+ "@next/swc-linux-arm64-musl": ["@next/swc-linux-arm64-musl@16.1.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-3Wm0zGYVCs6qDFAiSSDL+Z+r46EdtCv/2l+UlIdMbAq9hPJBvGu/rZOeuvCaIUjbArkmXac8HnTyQPJFzFWA0Q=="],
+
+ "@next/swc-linux-x64-gnu": ["@next/swc-linux-x64-gnu@16.1.4", "", { "os": "linux", "cpu": "x64" }, "sha512-lWAYAezFinaJiD5Gv8HDidtsZdT3CDaCeqoPoJjeB57OqzvMajpIhlZFce5sCAH6VuX4mdkxCRqecCJFwfm2nQ=="],
+
+ "@next/swc-linux-x64-musl": ["@next/swc-linux-x64-musl@16.1.4", "", { "os": "linux", "cpu": "x64" }, "sha512-fHaIpT7x4gA6VQbdEpYUXRGyge/YbRrkG6DXM60XiBqDM2g2NcrsQaIuj375egnGFkJow4RHacgBOEsHfGbiUw=="],
+
+ "@next/swc-win32-arm64-msvc": ["@next/swc-win32-arm64-msvc@16.1.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-MCrXxrTSE7jPN1NyXJr39E+aNFBrQZtO154LoCz7n99FuKqJDekgxipoodLNWdQP7/DZ5tKMc/efybx1l159hw=="],
+
+ "@next/swc-win32-x64-msvc": ["@next/swc-win32-x64-msvc@16.1.4", "", { "os": "win32", "cpu": "x64" }, "sha512-JSVlm9MDhmTXw/sO2PE/MRj+G6XOSMZB+BcZ0a7d6KwVFZVpkHcb2okyoYFBaco6LeiL53BBklRlOrDDbOeE5w=="],
+
+ "@swc/helpers": ["@swc/helpers@0.5.15", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g=="],
+
+ "@tailwindcss/node": ["@tailwindcss/node@4.1.18", "", { "dependencies": { "@jridgewell/remapping": "^2.3.4", "enhanced-resolve": "^5.18.3", "jiti": "^2.6.1", "lightningcss": "1.30.2", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", "tailwindcss": "4.1.18" } }, "sha512-DoR7U1P7iYhw16qJ49fgXUlry1t4CpXeErJHnQ44JgTSKMaZUdf17cfn5mHchfJ4KRBZRFA/Coo+MUF5+gOaCQ=="],
+
+ "@tailwindcss/oxide": ["@tailwindcss/oxide@4.1.18", "", { "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.1.18", "@tailwindcss/oxide-darwin-arm64": "4.1.18", "@tailwindcss/oxide-darwin-x64": "4.1.18", "@tailwindcss/oxide-freebsd-x64": "4.1.18", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.18", "@tailwindcss/oxide-linux-arm64-gnu": "4.1.18", "@tailwindcss/oxide-linux-arm64-musl": "4.1.18", "@tailwindcss/oxide-linux-x64-gnu": "4.1.18", "@tailwindcss/oxide-linux-x64-musl": "4.1.18", "@tailwindcss/oxide-wasm32-wasi": "4.1.18", "@tailwindcss/oxide-win32-arm64-msvc": "4.1.18", "@tailwindcss/oxide-win32-x64-msvc": "4.1.18" } }, "sha512-EgCR5tTS5bUSKQgzeMClT6iCY3ToqE1y+ZB0AKldj809QXk1Y+3jB0upOYZrn9aGIzPtUsP7sX4QQ4XtjBB95A=="],
+
+ "@tailwindcss/oxide-android-arm64": ["@tailwindcss/oxide-android-arm64@4.1.18", "", { "os": "android", "cpu": "arm64" }, "sha512-dJHz7+Ugr9U/diKJA0W6N/6/cjI+ZTAoxPf9Iz9BFRF2GzEX8IvXxFIi/dZBloVJX/MZGvRuFA9rqwdiIEZQ0Q=="],
+
+ "@tailwindcss/oxide-darwin-arm64": ["@tailwindcss/oxide-darwin-arm64@4.1.18", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Gc2q4Qhs660bhjyBSKgq6BYvwDz4G+BuyJ5H1xfhmDR3D8HnHCmT/BSkvSL0vQLy/nkMLY20PQ2OoYMO15Jd0A=="],
+
+ "@tailwindcss/oxide-darwin-x64": ["@tailwindcss/oxide-darwin-x64@4.1.18", "", { "os": "darwin", "cpu": "x64" }, "sha512-FL5oxr2xQsFrc3X9o1fjHKBYBMD1QZNyc1Xzw/h5Qu4XnEBi3dZn96HcHm41c/euGV+GRiXFfh2hUCyKi/e+yw=="],
+
+ "@tailwindcss/oxide-freebsd-x64": ["@tailwindcss/oxide-freebsd-x64@4.1.18", "", { "os": "freebsd", "cpu": "x64" }, "sha512-Fj+RHgu5bDodmV1dM9yAxlfJwkkWvLiRjbhuO2LEtwtlYlBgiAT4x/j5wQr1tC3SANAgD+0YcmWVrj8R9trVMA=="],
+
+ "@tailwindcss/oxide-linux-arm-gnueabihf": ["@tailwindcss/oxide-linux-arm-gnueabihf@4.1.18", "", { "os": "linux", "cpu": "arm" }, "sha512-Fp+Wzk/Ws4dZn+LV2Nqx3IilnhH51YZoRaYHQsVq3RQvEl+71VGKFpkfHrLM/Li+kt5c0DJe/bHXK1eHgDmdiA=="],
+
+ "@tailwindcss/oxide-linux-arm64-gnu": ["@tailwindcss/oxide-linux-arm64-gnu@4.1.18", "", { "os": "linux", "cpu": "arm64" }, "sha512-S0n3jboLysNbh55Vrt7pk9wgpyTTPD0fdQeh7wQfMqLPM/Hrxi+dVsLsPrycQjGKEQk85Kgbx+6+QnYNiHalnw=="],
+
+ "@tailwindcss/oxide-linux-arm64-musl": ["@tailwindcss/oxide-linux-arm64-musl@4.1.18", "", { "os": "linux", "cpu": "arm64" }, "sha512-1px92582HkPQlaaCkdRcio71p8bc8i/ap5807tPRDK/uw953cauQBT8c5tVGkOwrHMfc2Yh6UuxaH4vtTjGvHg=="],
+
+ "@tailwindcss/oxide-linux-x64-gnu": ["@tailwindcss/oxide-linux-x64-gnu@4.1.18", "", { "os": "linux", "cpu": "x64" }, "sha512-v3gyT0ivkfBLoZGF9LyHmts0Isc8jHZyVcbzio6Wpzifg/+5ZJpDiRiUhDLkcr7f/r38SWNe7ucxmGW3j3Kb/g=="],
+
+ "@tailwindcss/oxide-linux-x64-musl": ["@tailwindcss/oxide-linux-x64-musl@4.1.18", "", { "os": "linux", "cpu": "x64" }, "sha512-bhJ2y2OQNlcRwwgOAGMY0xTFStt4/wyU6pvI6LSuZpRgKQwxTec0/3Scu91O8ir7qCR3AuepQKLU/kX99FouqQ=="],
+
+ "@tailwindcss/oxide-wasm32-wasi": ["@tailwindcss/oxide-wasm32-wasi@4.1.18", "", { "dependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1", "@emnapi/wasi-threads": "^1.1.0", "@napi-rs/wasm-runtime": "^1.1.0", "@tybys/wasm-util": "^0.10.1", "tslib": "^2.4.0" }, "cpu": "none" }, "sha512-LffYTvPjODiP6PT16oNeUQJzNVyJl1cjIebq/rWWBF+3eDst5JGEFSc5cWxyRCJ0Mxl+KyIkqRxk1XPEs9x8TA=="],
+
+ "@tailwindcss/oxide-win32-arm64-msvc": ["@tailwindcss/oxide-win32-arm64-msvc@4.1.18", "", { "os": "win32", "cpu": "arm64" }, "sha512-HjSA7mr9HmC8fu6bdsZvZ+dhjyGCLdotjVOgLA2vEqxEBZaQo9YTX4kwgEvPCpRh8o4uWc4J/wEoFzhEmjvPbA=="],
+
+ "@tailwindcss/oxide-win32-x64-msvc": ["@tailwindcss/oxide-win32-x64-msvc@4.1.18", "", { "os": "win32", "cpu": "x64" }, "sha512-bJWbyYpUlqamC8dpR7pfjA0I7vdF6t5VpUGMWRkXVE3AXgIZjYUYAK7II1GNaxR8J1SSrSrppRar8G++JekE3Q=="],
+
+ "@tailwindcss/postcss": ["@tailwindcss/postcss@4.1.18", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "@tailwindcss/node": "4.1.18", "@tailwindcss/oxide": "4.1.18", "postcss": "^8.4.41", "tailwindcss": "4.1.18" } }, "sha512-Ce0GFnzAOuPyfV5SxjXGn0CubwGcuDB0zcdaPuCSzAa/2vII24JTkH+I6jcbXLb1ctjZMZZI6OjDaLPJQL1S0g=="],
+
+ "@types/linkify-it": ["@types/linkify-it@3.0.5", "", {}, "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw=="],
+
+ "@types/markdown-it": ["@types/markdown-it@12.2.3", "", { "dependencies": { "@types/linkify-it": "*", "@types/mdurl": "*" } }, "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ=="],
+
+ "@types/mdurl": ["@types/mdurl@2.0.0", "", {}, "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg=="],
+
+ "@types/node": ["@types/node@25.0.10", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-zWW5KPngR/yvakJgGOmZ5vTBemDoSqF3AcV/LrO5u5wTWyEAVVh+IT39G4gtyAkh3CtTZs8aX/yRM82OfzHJRg=="],
+
+ "@types/react": ["@types/react@19.2.9", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-Lpo8kgb/igvMIPeNV2rsYKTgaORYdO1XGVZ4Qz3akwOj0ySGYMPlQWa8BaLn0G63D1aSaAQ5ldR06wCpChQCjA=="],
+
+ "@types/react-dom": ["@types/react-dom@19.2.3", "", { "peerDependencies": { "@types/react": "^19.2.0" } }, "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ=="],
+
+ "@vscode/codicons": ["@vscode/codicons@0.0.44", "", {}, "sha512-F7qPRumUK3EHjNdopfICLGRf3iNPoZQt+McTHAn4AlOWPB3W2kL4H0S7uqEqbyZ6rCxaeDjpAn3MCUnwTu/VJQ=="],
+
+ "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="],
+
+ "autoprefixer": ["autoprefixer@10.4.23", "", { "dependencies": { "browserslist": "^4.28.1", "caniuse-lite": "^1.0.30001760", "fraction.js": "^5.3.4", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": { "autoprefixer": "bin/autoprefixer" } }, "sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA=="],
+
+ "baseline-browser-mapping": ["baseline-browser-mapping@2.9.17", "", { "bin": { "baseline-browser-mapping": "dist/cli.js" } }, "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ=="],
+
+ "browserslist": ["browserslist@4.28.1", "", { "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", "electron-to-chromium": "^1.5.263", "node-releases": "^2.0.27", "update-browserslist-db": "^1.2.0" }, "bin": { "browserslist": "cli.js" } }, "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA=="],
+
+ "caniuse-lite": ["caniuse-lite@1.0.30001766", "", {}, "sha512-4C0lfJ0/YPjJQHagaE9x2Elb69CIqEPZeG0anQt9SIvIoOH4a4uaRl73IavyO+0qZh6MDLH//DrXThEYKHkmYA=="],
+
+ "client-only": ["client-only@0.0.1", "", {}, "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="],
+
+ "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
+
+ "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="],
+
+ "electron-to-chromium": ["electron-to-chromium@1.5.278", "", {}, "sha512-dQ0tM1svDRQOwxnXxm+twlGTjr9Upvt8UFWAgmLsxEzFQxhbti4VwxmMjsDxVC51Zo84swW7FVCXEV+VAkhuPw=="],
+
+ "enhanced-resolve": ["enhanced-resolve@5.18.4", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" } }, "sha512-LgQMM4WXU3QI+SYgEc2liRgznaD5ojbmY3sb8LxyguVkIg5FxdpTkvk72te2R38/TGKxH634oLxXRGY6d7AP+Q=="],
+
+ "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
+
+ "fraction.js": ["fraction.js@5.3.4", "", {}, "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ=="],
+
+ "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
+
+ "jiti": ["jiti@2.6.1", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ=="],
+
+ "js-yaml": ["js-yaml@4.1.1", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="],
+
+ "lightningcss": ["lightningcss@1.30.2", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.30.2", "lightningcss-darwin-arm64": "1.30.2", "lightningcss-darwin-x64": "1.30.2", "lightningcss-freebsd-x64": "1.30.2", "lightningcss-linux-arm-gnueabihf": "1.30.2", "lightningcss-linux-arm64-gnu": "1.30.2", "lightningcss-linux-arm64-musl": "1.30.2", "lightningcss-linux-x64-gnu": "1.30.2", "lightningcss-linux-x64-musl": "1.30.2", "lightningcss-win32-arm64-msvc": "1.30.2", "lightningcss-win32-x64-msvc": "1.30.2" } }, "sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ=="],
+
+ "lightningcss-android-arm64": ["lightningcss-android-arm64@1.30.2", "", { "os": "android", "cpu": "arm64" }, "sha512-BH9sEdOCahSgmkVhBLeU7Hc9DWeZ1Eb6wNS6Da8igvUwAe0sqROHddIlvU06q3WyXVEOYDZ6ykBZQnjTbmo4+A=="],
+
+ "lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.30.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ylTcDJBN3Hp21TdhRT5zBOIi73P6/W0qwvlFEk22fkdXchtNTOU4Qc37SkzV+EKYxLouZ6M4LG9NfZ1qkhhBWA=="],
+
+ "lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.30.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-oBZgKchomuDYxr7ilwLcyms6BCyLn0z8J0+ZZmfpjwg9fRVZIR5/GMXd7r9RH94iDhld3UmSjBM6nXWM2TfZTQ=="],
+
+ "lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.30.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-c2bH6xTrf4BDpK8MoGG4Bd6zAMZDAXS569UxCAGcA7IKbHNMlhGQ89eRmvpIUGfKWNVdbhSbkQaWhEoMGmGslA=="],
+
+ "lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.30.2", "", { "os": "linux", "cpu": "arm" }, "sha512-eVdpxh4wYcm0PofJIZVuYuLiqBIakQ9uFZmipf6LF/HRj5Bgm0eb3qL/mr1smyXIS1twwOxNWndd8z0E374hiA=="],
+
+ "lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.30.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-UK65WJAbwIJbiBFXpxrbTNArtfuznvxAJw4Q2ZGlU8kPeDIWEX1dg3rn2veBVUylA2Ezg89ktszWbaQnxD/e3A=="],
+
+ "lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.30.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA=="],
+
+ "lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.30.2", "", { "os": "linux", "cpu": "x64" }, "sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w=="],
+
+ "lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.30.2", "", { "os": "linux", "cpu": "x64" }, "sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA=="],
+
+ "lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.30.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ=="],
+
+ "lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.30.2", "", { "os": "win32", "cpu": "x64" }, "sha512-5g1yc73p+iAkid5phb4oVFMB45417DkRevRbt/El/gKXJk4jid+vPFF/AXbxn05Aky8PapwzZrdJShv5C0avjw=="],
+
+ "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="],
+
+ "nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="],
+
+ "next": ["next@16.1.4", "", { "dependencies": { "@next/env": "16.1.4", "@swc/helpers": "0.5.15", "baseline-browser-mapping": "^2.8.3", "caniuse-lite": "^1.0.30001579", "postcss": "8.4.31", "styled-jsx": "5.1.6" }, "optionalDependencies": { "@next/swc-darwin-arm64": "16.1.4", "@next/swc-darwin-x64": "16.1.4", "@next/swc-linux-arm64-gnu": "16.1.4", "@next/swc-linux-arm64-musl": "16.1.4", "@next/swc-linux-x64-gnu": "16.1.4", "@next/swc-linux-x64-musl": "16.1.4", "@next/swc-win32-arm64-msvc": "16.1.4", "@next/swc-win32-x64-msvc": "16.1.4", "sharp": "^0.34.4" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.51.1", "babel-plugin-react-compiler": "*", "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0", "sass": "^1.3.0" }, "optionalPeers": ["@opentelemetry/api", "@playwright/test", "babel-plugin-react-compiler", "sass"], "bin": { "next": "dist/bin/next" } }, "sha512-gKSecROqisnV7Buen5BfjmXAm7Xlpx9o2ueVQRo5DxQcjC8d330dOM1xiGWc2k3Dcnz0In3VybyRPOsudwgiqQ=="],
+
+ "node-releases": ["node-releases@2.0.27", "", {}, "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA=="],
+
+ "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
+
+ "postcss": ["postcss@8.5.6", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg=="],
+
+ "postcss-value-parser": ["postcss-value-parser@4.2.0", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="],
+
+ "prismjs": ["prismjs@1.30.0", "", {}, "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw=="],
+
+ "react": ["react@19.2.3", "", {}, "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA=="],
+
+ "react-dom": ["react-dom@19.2.3", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.3" } }, "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg=="],
+
+ "scheduler": ["scheduler@0.27.0", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
+
+ "semver": ["semver@7.7.3", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q=="],
+
+ "sharp": ["sharp@0.34.5", "", { "dependencies": { "@img/colour": "^1.0.0", "detect-libc": "^2.1.2", "semver": "^7.7.3" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.34.5", "@img/sharp-darwin-x64": "0.34.5", "@img/sharp-libvips-darwin-arm64": "1.2.4", "@img/sharp-libvips-darwin-x64": "1.2.4", "@img/sharp-libvips-linux-arm": "1.2.4", "@img/sharp-libvips-linux-arm64": "1.2.4", "@img/sharp-libvips-linux-ppc64": "1.2.4", "@img/sharp-libvips-linux-riscv64": "1.2.4", "@img/sharp-libvips-linux-s390x": "1.2.4", "@img/sharp-libvips-linux-x64": "1.2.4", "@img/sharp-libvips-linuxmusl-arm64": "1.2.4", "@img/sharp-libvips-linuxmusl-x64": "1.2.4", "@img/sharp-linux-arm": "0.34.5", "@img/sharp-linux-arm64": "0.34.5", "@img/sharp-linux-ppc64": "0.34.5", "@img/sharp-linux-riscv64": "0.34.5", "@img/sharp-linux-s390x": "0.34.5", "@img/sharp-linux-x64": "0.34.5", "@img/sharp-linuxmusl-arm64": "0.34.5", "@img/sharp-linuxmusl-x64": "0.34.5", "@img/sharp-wasm32": "0.34.5", "@img/sharp-win32-arm64": "0.34.5", "@img/sharp-win32-ia32": "0.34.5", "@img/sharp-win32-x64": "0.34.5" } }, "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg=="],
+
+ "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
+
+ "styled-jsx": ["styled-jsx@5.1.6", "", { "dependencies": { "client-only": "0.0.1" }, "peerDependencies": { "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" } }, "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA=="],
+
+ "tailwindcss": ["tailwindcss@4.1.18", "", {}, "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw=="],
+
+ "tapable": ["tapable@2.3.0", "", {}, "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg=="],
+
+ "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
+
+ "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
+
+ "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="],
+
+ "update-browserslist-db": ["update-browserslist-db@1.2.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="],
+
+ "@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/core@1.8.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.1.0", "tslib": "^2.4.0" }, "bundled": true }, "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg=="],
+
+ "@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/runtime@1.8.1", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg=="],
+
+ "@tailwindcss/oxide-wasm32-wasi/@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.1.0", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ=="],
+
+ "@tailwindcss/oxide-wasm32-wasi/@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.1", "", { "dependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1", "@tybys/wasm-util": "^0.10.1" }, "bundled": true }, "sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A=="],
+
+ "@tailwindcss/oxide-wasm32-wasi/@tybys/wasm-util": ["@tybys/wasm-util@0.10.1", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="],
+
+ "@tailwindcss/oxide-wasm32-wasi/tslib": ["tslib@2.8.1", "", { "bundled": true }, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
+
+ "next/postcss": ["postcss@8.4.31", "", { "dependencies": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } }, "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ=="],
+ }
+}
diff --git a/packages/kilo-docs/components/Callout.tsx b/packages/kilo-docs/components/Callout.tsx
new file mode 100644
index 00000000000..df902cb6893
--- /dev/null
+++ b/packages/kilo-docs/components/Callout.tsx
@@ -0,0 +1,115 @@
+import * as React from "react"
+
+type CalloutType = "generic" | "note" | "tip" | "info" | "warning" | "danger"
+
+interface CalloutProps {
+ type?: CalloutType
+ title?: string
+ collapsed?: boolean
+ children: React.ReactNode
+}
+
+const typeConfig: Record<
+ CalloutType,
+ {
+ icon: string | null
+ defaultTitle: string | null
+ borderColor: string
+ bgColor: string
+ titleColor: string
+ iconColor: string
+ }
+> = {
+ generic: {
+ icon: null,
+ defaultTitle: null,
+ borderColor: "border-l-gray-300 dark:border-l-gray-600",
+ bgColor: "bg-gray-50 dark:bg-gray-800/50",
+ titleColor: "text-gray-700 dark:text-gray-300",
+ iconColor: "text-gray-400",
+ },
+ note: {
+ icon: "📝",
+ defaultTitle: "Note",
+ borderColor: "border-l-gray-500",
+ bgColor: "bg-gray-50 dark:bg-gray-800/50",
+ titleColor: "text-gray-700 dark:text-gray-300",
+ iconColor: "text-gray-500",
+ },
+ tip: {
+ icon: "💡",
+ defaultTitle: "Tip",
+ borderColor: "border-l-green-500",
+ bgColor: "bg-green-50 dark:bg-green-900/20",
+ titleColor: "text-green-700 dark:text-green-400",
+ iconColor: "text-green-500",
+ },
+ info: {
+ icon: "ℹ️",
+ defaultTitle: "Info",
+ borderColor: "border-l-blue-500",
+ bgColor: "bg-blue-50 dark:bg-blue-900/20",
+ titleColor: "text-blue-700 dark:text-blue-400",
+ iconColor: "text-blue-500",
+ },
+ warning: {
+ icon: "⚠️",
+ defaultTitle: "Warning",
+ borderColor: "border-l-yellow-500",
+ bgColor: "bg-yellow-50 dark:bg-yellow-900/20",
+ titleColor: "text-yellow-700 dark:text-yellow-400",
+ iconColor: "text-yellow-500",
+ },
+ danger: {
+ icon: "🚨",
+ defaultTitle: "Danger",
+ borderColor: "border-l-red-500",
+ bgColor: "bg-red-50 dark:bg-red-900/20",
+ titleColor: "text-red-700 dark:text-red-400",
+ iconColor: "text-red-500",
+ },
+}
+
+export function Callout({ type = "note", title, collapsed = false, children }: CalloutProps) {
+ const [isExpanded, setIsExpanded] = React.useState(!collapsed)
+ const config = typeConfig[type]
+ const displayTitle = title ?? config.defaultTitle
+ const showHeader = displayTitle || config.icon
+
+ // If collapsed prop is set, make the header clickable
+ if (collapsed) {
+ return (
+
+
+
+
+ )
+}
diff --git a/packages/kilo-docs/components/YouTube.tsx b/packages/kilo-docs/components/YouTube.tsx
new file mode 100644
index 00000000000..e23eec37091
--- /dev/null
+++ b/packages/kilo-docs/components/YouTube.tsx
@@ -0,0 +1,91 @@
+import React from "react"
+
+interface YouTubeProps {
+ url: string
+ title?: string
+ caption?: string
+}
+
+/**
+ * Extracts the YouTube video ID from various URL formats
+ */
+function extractVideoId(url: string): string | null {
+ const patterns = [
+ /(?:youtube\.com\/watch\?v=)([^&\s]+)/,
+ /(?:youtube\.com\/embed\/)([^?\s]+)/,
+ /(?:youtu\.be\/)([^?\s]+)/,
+ /(?:youtube\.com\/v\/)([^?\s]+)/,
+ ]
+
+ for (const pattern of patterns) {
+ const match = url.match(pattern)
+ if (match) {
+ return match[1]
+ }
+ }
+
+ return null
+}
+
+export function YouTube({ url, title = "YouTube video", caption }: YouTubeProps) {
+ const videoId = extractVideoId(url)
+
+ if (!videoId) {
+ return (
+
+ Invalid YouTube URL: {url}
+
+ )
+ }
+
+ return (
+
+
+
+
+ {caption && (
+
+ {caption}
+
+ )}
+
+ )
+}
diff --git a/packages/kilo-docs/components/index.js b/packages/kilo-docs/components/index.js
new file mode 100644
index 00000000000..eaf57b23785
--- /dev/null
+++ b/packages/kilo-docs/components/index.js
@@ -0,0 +1,15 @@
+export * from "./Callout"
+export * from "./CodeBlock"
+export * from "./Codicon"
+export * from "./CopyPageButton"
+export * from "./Heading"
+export * from "./Icon"
+export * from "./Image"
+export * from "./KiloCodeIcon"
+export * from "./SideNav"
+export * from "./Table"
+export * from "./TableOfContents"
+export * from "./Tabs"
+export * from "./ThemeToggle"
+export * from "./TopNav"
+export * from "./YouTube"
diff --git a/packages/kilo-docs/docs/advanced-usage/auto-cleanup.md b/packages/kilo-docs/docs/advanced-usage/auto-cleanup.md
deleted file mode 100644
index c9fb9b89a6e..00000000000
--- a/packages/kilo-docs/docs/advanced-usage/auto-cleanup.md
+++ /dev/null
@@ -1,275 +0,0 @@
-# Auto Cleanup
-
-Auto Cleanup automatically manages your task history by removing old tasks to free up disk space and improve performance. Tasks are intelligently classified and retained based on their type and age, ensuring important work is preserved while temporary or experimental tasks are cleaned up.
-
-:::warning Important
-Task deletion is permanent and cannot be undone. Deleted tasks are completely removed from disk, including all conversation history, checkpoints, and associated files.
-:::
-
-## Overview
-
-As you work with Kilo Code, each task creates files containing conversation history, checkpoints, and other data. Over time, this accumulates and can consume significant disk space. Auto-Cleanup solves this by:
-
-- **Automatically removing old tasks** based on configurable retention periods
-- **Preserving important tasks** by classifying them into different types
-- **Protecting favorited tasks** from deletion
-- **Managing disk usage** without manual intervention
-
-:::info Key Benefits
-
-- **Free up disk space**: Automatically remove old task data
-- **Improve performance**: Reduce the size of task history
-- **Flexible control**: Configure different retention periods for different task types
-- **Safety first**: Favorited tasks can be protected from deletion
-- **Manual override**: Run cleanup manually whenever needed
- :::
-
-## How Auto-Cleanup Works
-
-Auto-Cleanup uses an intelligent classification system to determine how long each task should be retained:
-
-### Task Classification
-
-Every task is automatically classified into one of these categories:
-
-| Task Type | Description | Default Retention |
-| -------------- | ----------------------------------------- | ---------------------------------------- |
-| **Favorited** | Tasks you've marked as favorites | Never deleted (or 90 days if configured) |
-| **Completed** | Tasks that successfully finished | 30 days |
-| **Incomplete** | Tasks that were started but not completed | 7 days |
-| **Regular** | Default classification for other tasks | 30 days |
-
-#### Understanding Task Completion
-
-A task is considered "completed" when Kilo Code uses the [`attempt_completion`](../features/tools/attempt-completion) tool to formally mark it as finished. Tasks without this completion marker are classified as incomplete, even if you consider them done. This distinction helps clean up abandoned or experimental tasks more aggressively.
-
-### Cleanup Process
-
-When Auto-Cleanup runs, it:
-
-1. **Scans all tasks** in your task history
-2. **Classifies each task** based on its properties and completion status
-3. **Checks retention periods** to determine eligibility for deletion
-4. **Protects active tasks** currently in use
-5. **Deletes eligible tasks** and their associated files
-6. **Reports results** including disk space freed
-
-## Configuration
-
-Access Auto-Cleanup settings through the Kilo Code settings panel:
-
-1. Click the gear icon () in Kilo Code
-2. Navigate to the **Auto-Cleanup** section (under Checkpoints)
-
-### Enable Auto-Cleanup
-
-
-
-Check the **"Enable automatic task cleanup"** option to activate the feature. When enabled, tasks will be automatically removed based on your retention settings.
-
-### Retention Period Settings
-
-Configure how long different types of tasks are kept before cleanup:
-
-#### Default Retention Period
-
-```
-Default: 30 days
-Minimum: 1 day
-```
-
-Sets the base retention period for regular tasks that don't fall into other categories.
-
-#### Favorited Tasks
-
-**Never delete favorited tasks** (recommended)
-
-When enabled, favorited tasks are preserved indefinitely regardless of age. This is the safest option to prevent accidental deletion of important work.
-
-If disabled, you can set a custom retention period:
-
-```
-Default: 90 days
-Minimum: 1 day
-```
-
-To favorite a task, use the star icon in the task history panel.
-
-#### Completed Tasks
-
-```
-Default: 30 days
-Minimum: 1 day
-```
-
-Tasks successfully completed via the [`attempt_completion`](../features/tools/attempt-completion) tool are retained for this period. These tasks typically represent finished work that may still be useful for reference.
-
-#### Incomplete Tasks
-
-```
-Default: 7 days
-Minimum: 1 day
-```
-
-Tasks without completion status are retained for a shorter period. This helps clean up experimental or abandoned tasks more quickly while still giving you time to review them.
-
-### Last Cleanup Display
-
-The settings show when the last cleanup operation ran, helping you understand the cleanup schedule.
-
-### Manual Cleanup
-
-Click the **"Run Cleanup Now"** button to immediately trigger a cleanup operation using your current settings. This is useful when:
-
-- You need to free up disk space urgently
-- You've changed retention settings and want them applied immediately
-- You want to preview what would be cleaned up (check the output)
-
-## Best Practices
-
-### Recommended Retention Periods
-
-**For Individual Developers:**
-
-- Default retention: 30 days
-- Completed tasks: 30 days
-- Incomplete tasks: 7 days
-- Favorited tasks: Never delete
-
-**For Experimentation:**
-
-- Default retention: 14 days
-- Completed tasks: 14 days
-- Incomplete tasks: 3 days
-- Favorited tasks: Never delete
-
-**For Limited Disk Space:**
-
-- Default retention: 14 days
-- Completed tasks: 14 days
-- Incomplete tasks: 3 days
-- Favorited tasks: 60 days
-
-### Protecting Important Work
-
-To ensure important tasks are never deleted:
-
-1. **Mark tasks as favorites** using the star icon in task history
-2. **Enable "Never delete favorited tasks"** in settings
-3. **Review cleanup results** periodically to ensure retention periods are appropriate
-
-### Balancing Disk Space and History
-
-Consider these factors when setting retention periods:
-
-- **Available disk space**: Shorter retention if space is limited
-- **Task frequency**: More tasks = shorter retention needed
-- **Reference needs**: Keep completed tasks longer if you often refer back
-- **Experimentation**: Shorter incomplete task retention for heavy experimentation
-
-## Troubleshooting
-
-### Tasks Not Being Cleaned Up
-
-**Issue**: Old tasks remain after cleanup runs
-
-**Solutions**:
-
-1. Verify Auto-Cleanup is enabled in settings
-2. Check retention periods - they may be too long
-3. Verify tasks are older than the retention period
-4. Check if tasks are favorited (they won't be deleted if "Never delete" is enabled)
-
-### Important Task Was Deleted
-
-**Issue**: A task you needed was removed
-
-**Prevention**:
-
-1. Always favorite important tasks before they age out
-2. Set longer retention periods for task types you reference frequently
-3. Consider enabling "Never delete favorited tasks"
-4. Export or backup critical task data before it ages out
-
-:::warning
-Deleted tasks cannot be recovered. Always favorite important tasks or adjust retention periods to prevent accidental deletion.
-:::
-
-### Cleanup Using Too Much Disk I/O
-
-**Issue**: Cleanup operation impacts system performance
-
-**Solutions**:
-
-1. Check the "Operation duration" in cleanup results
-2. If slow, consider reducing retention periods to clean fewer tasks at once
-3. Run manual cleanup during non-working hours
-4. Ensure adequate system resources during cleanup
-
-### Active Task Protection
-
-Auto-Cleanup automatically protects your currently active task from deletion, even if it meets the age criteria. This ensures you never lose work in progress during a cleanup operation.
-
-## Technical Details
-
-### What Gets Deleted
-
-When a task is deleted, the following are permanently removed:
-
-- Task directory and all contents
-- Conversation history and messages
-- Checkpoints (if enabled)
-- API request logs
-- Task metadata
-- Associated temporary files
-
-### Storage Location
-
-Task data is stored in your VS Code global storage location:
-
-- **macOS**: `~/Library/Application Support/Code/User/globalStorage/kilocode.kilo-code/`
-- **Windows**: `%APPDATA%\Code\User\globalStorage\kilocode.kilo-code\`
-- **Linux**: `~/.config/Code/User/globalStorage/kilocode.kilo-code/`
-
-## Privacy & Data Handling
-
-- **Local Operation**: All cleanup happens locally on your machine
-- **No Cloud Backup**: Deleted tasks are not backed up automatically
-- **Telemetry**: Anonymous usage statistics (tasks cleaned, disk space freed) are collected if telemetry is enabled
-- **No Content Sharing**: Task content, code, or personal information is never transmitted
-
-## Related Features
-
-- [**Checkpoints**](../features/checkpoints): Version control for tasks that can be restored
-- [**Settings Management**](../features/settings-management): Export/import settings including cleanup configuration
-- [**Task History**](../basic-usage/the-chat-interface): Managing and organizing your task history
-
-## Frequently Asked Questions
-
-### Does Auto-Cleanup run automatically?
-
-Yes, when enabled, Auto-Cleanup runs automatically based on the configured schedule. You can also trigger it manually using the "Run Cleanup Now" button.
-
-### Can I recover deleted tasks?
-
-No, task deletion is permanent. Always favorite important tasks or adjust retention periods to prevent accidental deletion.
-
-### Does cleanup affect my current task?
-
-No, the active task you're currently working on is automatically protected from deletion.
-
-### What happens to checkpoints when a task is deleted?
-
-All checkpoints associated with a deleted task are permanently removed along with the task data.
-
-### Can I temporarily disable cleanup?
-
-Yes, simply uncheck the "Enable automatic task cleanup" option in settings. Your configuration is preserved for when you enable it again.
-
-### Why are some old tasks not being deleted?
-
-Check if they are:
-
-1. Favorited with "Never delete favorited tasks" enabled
-2. Recently modified (even viewing a task may update its timestamp)
-3. Protected by a longer retention period based on their type
diff --git a/packages/kilo-docs/docs/advanced-usage/available-tools/codebase-search.md b/packages/kilo-docs/docs/advanced-usage/available-tools/codebase-search.md
deleted file mode 100644
index 712a59acc82..00000000000
--- a/packages/kilo-docs/docs/advanced-usage/available-tools/codebase-search.md
+++ /dev/null
@@ -1,240 +0,0 @@
-# codebase_search
-
-:::warning Experimental Feature
-The `codebase_search` tool is that requires additional setup including an embedding provider and vector database.
-:::
-
-The `codebase_search` tool performs semantic searches across your entire codebase using AI embeddings. Unlike traditional text-based search, it understands the meaning of your queries and finds relevant code even when exact keywords don't match.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `query` (required): Natural language search query describing what you're looking for
-- `path` (optional): Directory path to limit search scope to a specific part of your codebase
-
-## What It Does
-
-This tool searches through your indexed codebase using semantic similarity rather than exact text matching. It finds code blocks that are conceptually related to your query, even if they don't contain the exact words you searched for. Results include relevant code snippets with file paths, line numbers, and similarity scores.
-
-## When is it used?
-
-- When Kilo Code needs to find code related to specific functionality across your project
-- When looking for implementation patterns or similar code structures
-- When searching for error handling, authentication, or other conceptual code patterns
-- When exploring unfamiliar codebases to understand how features are implemented
-- When finding related code that might be affected by changes or refactoring
-
-## Key Features
-
-- **Semantic Understanding**: Finds code by meaning rather than exact keyword matches
-- **Cross-Project Search**: Searches across your entire indexed codebase, not just open files
-- **Contextual Results**: Returns code snippets with file paths and line numbers for easy navigation
-- **Similarity Scoring**: Results ranked by relevance with similarity scores (0-1 scale)
-- **Scope Filtering**: Optional path parameter to limit searches to specific directories
-- **Intelligent Ranking**: Results sorted by semantic relevance to your query
-- **UI Integration**: Results displayed with syntax highlighting and navigation links
-- **Performance Optimized**: Fast vector-based search with configurable result limits
-
-## Requirements
-
-This tool is only available when the experimental Codebase Indexing feature is properly configured:
-
-- **Feature Enabled**: Codebase Indexing must be enabled in experimental settings
-- **Embedding Provider**: OpenAI API key or Ollama configuration required
-- **Vector Database**: Qdrant instance running and accessible
-- **Index Status**: Codebase must be indexed (status: "Indexed" or "Indexing")
-
-## Limitations
-
-- **Experimental Feature**: Part of the experimental codebase indexing system
-- **Requires Configuration**: Depends on external services (embedding provider + Qdrant)
-- **Index Dependency**: Only searches through indexed code blocks
-- **Result Limits**: Maximum of 50 results per search to maintain performance
-- **Similarity Threshold**: Only returns results above 0.4 similarity score
-- **File Size Limits**: Limited to files under 1MB that were successfully indexed
-- **Language Support**: Effectiveness depends on Tree-sitter language support
-
-## How It Works
-
-When the `codebase_search` tool is invoked, it follows this process:
-
-1. **Availability Validation**:
-
- - Verifies that the CodeIndexManager is available and initialized
- - Confirms codebase indexing is enabled in settings
- - Checks that indexing is properly configured (API keys, Qdrant URL)
- - Validates the current index state allows searching
-
-2. **Query Processing**:
-
- - Takes your natural language query and generates an embedding vector
- - Uses the same embedding provider configured for indexing (OpenAI or Ollama)
- - Converts the semantic meaning of your query into a mathematical representation
-
-3. **Vector Search Execution**:
-
- - Searches the Qdrant vector database for similar code embeddings
- - Uses cosine similarity to find the most relevant code blocks
- - Applies the minimum similarity threshold (0.4) to filter results
- - Limits results to 50 matches for optimal performance
-
-4. **Path Filtering** (if specified):
-
- - Filters results to only include files within the specified directory path
- - Uses normalized path comparison for accurate filtering
- - Maintains relevance ranking within the filtered scope
-
-5. **Result Processing and Formatting**:
-
- - Converts absolute file paths to workspace-relative paths
- - Structures results with file paths, line ranges, similarity scores, and code content
- - Formats for both AI consumption and UI display with syntax highlighting
-
-6. **Dual Output Format**:
- - **AI Output**: Structured text format with query, file paths, scores, and code chunks
- - **UI Output**: JSON format with syntax highlighting and navigation capabilities
-
-## Search Query Best Practices
-
-### Effective Query Patterns
-
-**Good: Conceptual and specific**
-
-```xml
-
-user authentication and password validation
-
-```
-
-**Good: Feature-focused**
-
-```xml
-
-database connection pool setup
-
-```
-
-**Good: Problem-oriented**
-
-```xml
-
-error handling for API requests
-
-```
-
-**Less effective: Too generic**
-
-```xml
-
-function
-
-```
-
-### Query Types That Work Well
-
-- **Functional Descriptions**: "file upload processing", "email validation logic"
-- **Technical Patterns**: "singleton pattern implementation", "factory method usage"
-- **Domain Concepts**: "user profile management", "payment processing workflow"
-- **Architecture Components**: "middleware configuration", "database migration scripts"
-
-## Directory Scoping
-
-Use the optional `path` parameter to focus searches on specific parts of your codebase:
-
-**Search within API modules:**
-
-```xml
-
-endpoint validation middleware
-src/api
-
-```
-
-**Search in test files:**
-
-```xml
-
-mock data setup patterns
-tests
-
-```
-
-**Search specific feature directories:**
-
-```xml
-
-component state management
-src/components/auth
-
-```
-
-## Result Interpretation
-
-### Similarity Scores
-
-- **0.8-1.0**: Highly relevant matches, likely exactly what you're looking for
-- **0.6-0.8**: Good matches with strong conceptual similarity
-- **0.4-0.6**: Potentially relevant but may require review
-- **Below 0.4**: Filtered out as too dissimilar
-
-### Result Structure
-
-Each search result includes:
-
-- **File Path**: Workspace-relative path to the file containing the match
-- **Score**: Similarity score indicating relevance (0.4-1.0)
-- **Line Range**: Start and end line numbers for the code block
-- **Code Chunk**: The actual code content that matched your query
-
-## Examples When Used
-
-- When implementing a new feature, Kilo Code searches for "authentication middleware" to understand existing patterns before writing new code.
-- When debugging an issue, Kilo Code searches for "error handling in API calls" to find related error patterns across the codebase.
-- When refactoring code, Kilo Code searches for "database transaction patterns" to ensure consistency across all database operations.
-- When onboarding to a new codebase, Kilo Code searches for "configuration loading" to understand how the application bootstraps.
-
-## Usage Examples
-
-Searching for authentication-related code across the entire project:
-
-```xml
-
-user login and authentication logic
-
-```
-
-Finding database-related code in a specific directory:
-
-```xml
-
-database connection and query execution
-src/data
-
-```
-
-Looking for error handling patterns in API code:
-
-```xml
-
-HTTP error responses and exception handling
-src/api
-
-```
-
-Searching for testing utilities and mock setups:
-
-```xml
-
-test setup and mock data creation
-tests
-
-```
-
-Finding configuration and environment setup code:
-
-```xml
-
-environment variables and application configuration
-
-```
diff --git a/packages/kilo-docs/docs/advanced-usage/free-and-budget-models.md b/packages/kilo-docs/docs/advanced-usage/free-and-budget-models.md
deleted file mode 100644
index 29d2b90a0dc..00000000000
--- a/packages/kilo-docs/docs/advanced-usage/free-and-budget-models.md
+++ /dev/null
@@ -1,283 +0,0 @@
----
-sidebar_label: Free & Budget Models
----
-
-# Using Kilo Code for Free and on a Budget
-
-**Why this matters:** AI model costs can add up quickly during development. This guide shows you how to use Kilo Code effectively while minimizing or eliminating costs through free models, budget-friendly alternatives, and smart usage strategies.
-
-## Completely Free Options
-
-### Grok Code Fast 1
-
-This frontier AI model is 100% free in Kilo Code for a limited time. [See the blog post for more details](https://blog.kilocode.ai/p/grok-code-fast-get-this-frontier-ai-model-free).
-
-### OpenRouter Free Tier Models
-
-OpenRouter offers several models with generous free tiers. **Note:** You'll need to create a free OpenRouter account to access these models.
-
-**Setup:**
-
-1. Create a free [OpenRouter account](https://openrouter.ai)
-2. Get your API key from the dashboard
-3. Configure Kilo Code with the OpenRouter provider
-
-**Available free models:**
-
-- **Qwen3 Coder (free)** - Optimized for agentic coding tasks such as function calling, tool use, and long-context reasoning over repositories.
-- **Z.AI: GLM 4.5 Air (free)** - Lightweight variant of the GLM-4.5 family, purpose-built for agent-centric applications.
-- **DeepSeek: R1 0528 (free)** - Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens.
-- **MoonshotAI: Kimi K2 (free)** - Optimized for agentic capabilities, including advanced tool use, reasoning, and code synthesis.
-
-## Cost-Effective Premium Models
-
-When you need more capability than free models provide, these options deliver excellent value:
-
-### Ultra-Budget Champions (Under $0.50 per million tokens)
-
-**Mistral Devstral Small**
-
-- **Cost:** ~$0.20 per million input tokens
-- **Best for:** Code generation, debugging, refactoring
-- **Performance:** 85% of premium model capability at 10% of the cost
-
-**Llama 4 Maverick**
-
-- **Cost:** ~$0.30 per million input tokens
-- **Best for:** Complex reasoning, architecture planning
-- **Performance:** Excellent for most development tasks
-
-**DeepSeek v3**
-
-- **Cost:** ~$0.27 per million input tokens
-- **Best for:** Code analysis, large codebase understanding
-- **Performance:** Strong technical reasoning
-
-### Mid-Range Value Models ($0.50-$2.00 per million tokens)
-
-**Qwen3 235B**
-
-- **Cost:** ~$1.20 per million input tokens
-- **Best for:** Complex projects requiring high accuracy
-- **Performance:** Near-premium quality at 40% of the cost
-
-## Smart Usage Strategies
-
-### The 50% Rule
-
-**Principle:** Use budget models for 50% of your tasks, premium models for the other 50%.
-
-**Budget model tasks:**
-
-- Code reviews and analysis
-- Documentation writing
-- Simple bug fixes
-- Boilerplate generation
-- Refactoring existing code
-
-**Premium model tasks:**
-
-- Complex architecture decisions
-- Debugging difficult issues
-- Performance optimization
-- New feature design
-- Critical production code
-
-### Context Management for Cost Savings
-
-**Minimize context size:**
-
-```typescript
-// Instead of mentioning entire files
-@src/components/UserProfile.tsx
-
-// Mention specific functions or sections
-@src/components/UserProfile.tsx:45-67
-```
-
-**Use Memory Bank effectively:**
-
-- Store project context once in [Memory Bank](/advanced-usage/memory-bank)
-- Reduces need to re-explain project details
-- Saves 200-500 tokens per conversation
-
-**Strategic file mentions:**
-
-- Only include files directly relevant to the task
-- Use [`@folder/`](/basic-usage/context-mentions) for broad context, specific files for targeted work
-
-### Model Switching Strategies
-
-**Start cheap, escalate when needed:**
-
-1. **Begin with free models** (Qwen3 Coder, GLM-4.5-Air)
-2. **Switch to budget models** if free models struggle
-3. **Escalate to premium models** only for complex tasks
-
-**Use API Configuration Profiles:**
-
-- Set up [multiple profiles](/features/api-configuration-profiles) for different cost tiers
-- Quick switching between free, budget, and premium models
-- Match model capability to task complexity
-
-### Mode-Based Cost Optimization
-
-**Use appropriate modes to limit expensive operations:**
-
-- **[Ask Mode](/basic-usage/using-modes#ask-mode):** Information gathering without code changes
-- **[Architect Mode](/basic-usage/using-modes#architect-mode):** Planning without expensive file operations
-- **[Debug Mode](/basic-usage/using-modes#debug-mode):** Focused troubleshooting
-
-**Custom modes for budget control:**
-
-- Create modes that restrict expensive tools
-- Limit file access to specific directories
-- Control which operations are auto-approved
-
-## Real-World Performance Comparisons
-
-### Code Generation Tasks
-
-**Simple function creation:**
-
-- **Mistral Devstral Small:** 95% success rate
-- **GPT-4:** 98% success rate
-- **Cost difference:** Free vs $0.20 vs $30 per million tokens
-
-**Complex refactoring:**
-
-- **Budget models:** 70-80% success rate
-- **Premium models:** 90-95% success rate
-- **Recommendation:** Start with budget, escalate if needed
-
-### Debugging Performance
-
-**Simple bugs:**
-
-- **Free models:** Usually sufficient
-- **Budget models:** Excellent performance
-- **Premium models:** Overkill for most cases
-
-**Complex system issues:**
-
-- **Free models:** 40-60% success rate
-- **Budget models:** 60-80% success rate
-- **Premium models:** 85-95% success rate
-
-## Hybrid Approach Recommendations
-
-### Daily Development Workflow
-
-**Morning planning session:**
-
-- Use **Architect mode** with **DeepSeek R1**
-- Plan features and architecture
-- Create task breakdowns
-
-**Implementation phase:**
-
-- Use **Code mode** with **budget models**
-- Generate and modify code
-- Handle routine development tasks
-
-**Complex problem solving:**
-
-- Switch to **premium models** when stuck
-- Use for critical debugging
-- Architecture decisions affecting multiple systems
-
-### Project Phase Strategy
-
-**Early development:**
-
-- Free and budget models for prototyping
-- Rapid iteration without cost concerns
-- Establish patterns and structure
-
-**Production preparation:**
-
-- Premium models for critical code review
-- Performance optimization
-- Security considerations
-
-## Cost Monitoring and Control
-
-### Track Your Usage
-
-**Monitor credit consumption:**
-
-- Check cost estimates in chat history
-- Review monthly usage patterns
-- Identify high-cost operations
-
-**Set spending limits:**
-
-- Use provider billing alerts
-- Configure [rate limits](/advanced-usage/rate-limits-costs) to control usage
-- Set daily/monthly budgets
-
-### Cost-Saving Tips
-
-**Reduce system prompt size:**
-
-- [Disable MCP](/features/mcp/using-mcp-in-kilo-code) if not using external tools
-- Use focused custom modes
-- Minimize unnecessary context
-
-**Optimize conversation length:**
-
-- Use [Checkpoints](/features/checkpoints) to reset context
-- Start fresh conversations for unrelated tasks
-- Archive completed work
-
-**Batch similar tasks:**
-
-- Group related code changes
-- Handle multiple files in single requests
-- Reduce conversation overhead
-
-## Getting Started with Budget Models
-
-### Quick Setup Guide
-
-1. **Create OpenRouter account** for free models
-2. **Configure multiple providers** in Kilo Code
-3. **Set up API Configuration Profiles** for easy switching
-4. **Escalate to budget models** when needed
-5. **Reserve premium models** for complex work
-
-### Recommended Provider Mix
-
-**Free tier foundation:**
-
-- [OpenRouter](/providers/openrouter) - Free models
-- [Groq](/providers/groq) - Fast inference for supported models
-- [Z.ai](https://z.ai/model-api) - Provides a free model GLM-4.5-Flash
-
-**Budget tier options:**
-
-- [DeepSeek](/providers/deepseek) - Excellent value models
-- [Mistral](/providers/mistral) - Specialized coding models
-
-**Premium tier backup:**
-
-- [Anthropic](/providers/anthropic) - Claude for complex reasoning
-- [OpenAI](/providers/openai) - GPT-4 for critical tasks
-
-## Measuring Success
-
-**Track these metrics:**
-
-- Monthly AI costs vs. development productivity
-- Task completion rates by model tier
-- Time saved vs. money spent
-- Code quality improvements
-
-**Success indicators:**
-
-- 70%+ of tasks completed with free/budget models
-- Monthly costs under your target budget
-- Maintained or improved code quality
-- Faster development cycles
-
-By combining free models, strategic budget model usage, and smart optimization techniques, you can harness the full power of AI-assisted development while keeping costs minimal. Start with free options and gradually incorporate budget models as your needs and comfort with costs grow.
diff --git a/packages/kilo-docs/docs/advanced-usage/local-models.md b/packages/kilo-docs/docs/advanced-usage/local-models.md
deleted file mode 100644
index 61d8f33390b..00000000000
--- a/packages/kilo-docs/docs/advanced-usage/local-models.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Using Local Models
-
-Kilo Code supports running language models locally on your own machine using [Ollama](https://ollama.com/) and [LM Studio](https://lmstudio.ai/). This offers several advantages:
-
-* **Privacy:** Your code and data never leave your computer.
-* **Offline Access:** You can use Kilo Code even without an internet connection.
-* **Cost Savings:** Avoid API usage fees associated with cloud-based models.
-* **Customization:** Experiment with different models and configurations.
-
-**However, using local models also has some drawbacks:**
-
-* **Resource Requirements:** Local models can be resource-intensive, requiring a powerful computer with a good CPU and, ideally, a dedicated GPU.
-* **Setup Complexity:** Setting up local models can be more complex than using cloud-based APIs.
-* **Model Performance:** The performance of local models can vary significantly. While some are excellent, they may not always match the capabilities of the largest, most advanced cloud models.
-* **Limited Features**: Local models (and many online models) often do not support advanced features such as prompt caching, computer use, and others.
-
-## Supported Local Model Providers
-
-Kilo Code currently supports two main local model providers:
-
-1. **Ollama:** A popular open-source tool for running large language models locally. It supports a wide range of models.
-2. **LM Studio:** A user-friendly desktop application that simplifies the process of downloading, configuring, and running local models. It also provides a local server that emulates the OpenAI API.
-
-## Setting Up Local Models
-
-For detailed setup instructions, see:
-* [Setting up Ollama](/providers/ollama)
-* [Setting up LM Studio](/providers/lmstudio)
-
-Both providers offer similar capabilities but with different user interfaces and workflows. Ollama provides more control through its command-line interface, while LM Studio offers a more user-friendly graphical interface.
-
-## Troubleshooting
-
-* **"No connection could be made because the target machine actively refused it":** This usually means that the Ollama or LM Studio server isn't running, or is running on a different port/address than Kilo Code is configured to use. Double-check the Base URL setting.
-
-* **Slow Response Times:** Local models can be slower than cloud-based models, especially on less powerful hardware. If performance is an issue, try using a smaller model.
-
-* **Model Not Found:** Ensure you have typed in the name of the model correctly. If you're using Ollama, use the same name that you provide in the `ollama run` command.
diff --git a/packages/kilo-docs/docs/advanced-usage/rate-limits-costs.md b/packages/kilo-docs/docs/advanced-usage/rate-limits-costs.md
deleted file mode 100644
index b014d06e016..00000000000
--- a/packages/kilo-docs/docs/advanced-usage/rate-limits-costs.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# Rate Limits and Costs
-
-Understanding and managing API usage is crucial for a smooth and cost-effective experience with Kilo Code. This section explains how to track your token usage, costs, and how to configure rate limits.
-
-## Token Usage
-
-Kilo Code interacts with AI models using tokens. Tokens are essentially pieces of words. The number of tokens used in a request and response affects both the processing time and the cost.
-
-- **Input Tokens:** These are the tokens in your prompt, including the system prompt, your instructions, and any context provided (e.g., file contents).
-- **Output Tokens:** These are the tokens generated by the AI model in its response.
-
-You can see the number of input and output tokens used for each interaction in the chat history.
-
-## Cost Calculation
-
-Most AI providers charge based on the number of tokens used. Pricing varies depending on the provider and the specific model.
-
-Kilo Code automatically calculates the estimated cost of each API request based on the configured model's pricing. This cost is displayed in the chat history, next to the token usage.
-
-**Note:**
-
-- The cost calculation is an _estimate_. The actual cost may vary slightly depending on the provider's billing practices.
-- Some providers may offer free tiers or credits. Check your provider's documentation for details.
-- Some providers offer prompt caching which greatly lowers cost.
-
-## Configuring Rate Limits
-
-To prevent accidental overuse of the API and to help you manage costs, Kilo Code allows you to set a rate limit. The rate limit specifies the minimum time (in seconds) between API requests.
-
-**How to configure:**
-
-1. Open the Kilo Code settings ( icon in the top right corner).
-2. Go to the "Advanced Settings" section.
-3. Find the "Rate Limit (seconds)" setting.
-4. Enter the desired delay in seconds. A value of 0 disables rate limiting.
-
-**Example:**
-
-If you set the rate limit to 10 seconds, Kilo Code will wait at least 10 seconds after one API request completes before sending the next one.
-
-## Tips for Optimizing Token Usage
-
-- **Be Concise:** Use clear and concise language in your prompts. Avoid unnecessary words or details.
-- **Provide Only Relevant Context:** Use context mentions (`@file.ts`, `@folder/`) selectively. Only include the files that are directly relevant to the task.
-- **Break Down Tasks:** Divide large tasks into smaller, more focused sub-tasks.
-- **Use Custom Instructions:** Provide custom instructions to guide Kilo Code's behavior and reduce the need for lengthy explanations in each prompt.
-- **Choose the Right Model:** Some models are more cost-effective than others. Consider using a smaller, faster model for tasks that don't require the full power of a larger model.
-- **Use Modes:** Different modes can access different tools, for example `Architect` can't modify code, which makes it a safe choice when analyzing a complex codebase, without worrying about accidentally allowing expensive operations.
-- **Disable MCP If Not Used:** If you're not using MCP (Model Context Protocol) features, consider [disabling it in Settings > Agent Behaviour > MCP Servers](/features/mcp/using-mcp-in-kilo-code) to significantly reduce the size of the system prompt and save tokens.
-
-By understanding and managing your API usage, you can use Kilo Code effectively and efficiently.
diff --git a/packages/kilo-docs/docs/agent-behavior/custom-instructions.md b/packages/kilo-docs/docs/agent-behavior/custom-instructions.md
deleted file mode 100644
index bd76199e5f7..00000000000
--- a/packages/kilo-docs/docs/agent-behavior/custom-instructions.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# Custom Instructions
-
-Custom Instructions allow you to personalize how Kilo Code behaves, providing specific guidance that shapes responses, coding style, and decision-making processes.
-
-## What Are Custom Instructions?
-
-Custom Instructions define specific Extension behaviors, preferences, and constraints beyond Kilo's basic role definition. Examples include coding style, documentation standards, testing requirements, and workflow guidelines.
-
-:::info Custom Instructions vs Rules
-Custom Instructions are IDE-wide and are applied across all workspaces and maintain your preferences regardless of which project you're working on. Unlike Instructions, [Custom Rules](/agent-behavior/custom-rules) are project specific and allow you to setup workspace-based ruleset.
-:::
-
-## Setting Custom Instructions
-
-**How to set them:**
-
-
-1. **Open Agent Behaviour Tab:** Click the icon in the Kilo Code top menu bar to open Settings, then select the `Agent Behaviour` tab
-2. **Select Modes Sub-Tab:** Click on the `Modes` sub-tab
-3. **Find Section:** Find the "Custom Instructions for All Modes" section
-4. **Enter Instructions:** Enter your instructions in the text area
-5. **Save Changes:** Click "Done" to save your changes
-
-#### Mode-Specific Instructions
-
-Mode-specific instructions can be set using the Agent Behaviour tab
-
-
- * **Open Agent Behaviour Tab:** Click the icon in the Kilo Code top menu bar to open Settings, then select the `Agent Behaviour` tab
- * **Select Modes Sub-Tab:** Click on the `Modes` sub-tab
- * **Select Mode:** Under the Modes heading, click the button for the mode you want to customize
- * **Enter Instructions:** Enter your instructions in the text area under "Mode-specific Custom Instructions (optional)"
- * **Save Changes:** Click "Done" to save your changes
-
- :::info Global Mode Rules
- If the mode itself is global (not workspace-specific), any custom instructions you set for it will also apply globally for that mode across all workspaces.
- :::
-
-## Related Features
-
-- [Custom Modes](/agent-behavior/custom-modes)
-- [Custom Rules](/agent-behavior/custom-rules)
-- [Settings Management](/basic-usage/settings-management)
-- [Auto-Approval Settings](/features/auto-approving-actions)
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete-mistral-setup/10-save-settings.png b/packages/kilo-docs/docs/basic-usage/autocomplete-mistral-setup/10-save-settings.png
deleted file mode 100644
index 331d1440a74..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete-mistral-setup/10-save-settings.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/index.md b/packages/kilo-docs/docs/basic-usage/autocomplete/index.md
deleted file mode 100644
index 628abf951a9..00000000000
--- a/packages/kilo-docs/docs/basic-usage/autocomplete/index.md
+++ /dev/null
@@ -1,114 +0,0 @@
----
-title: Autocomplete
-sidebar_position: 4
-slug: /basic-usage/autocomplete
----
-
-# Autocomplete
-
-Kilo Code's autocomplete feature provides intelligent code suggestions and completions while you're typing, helping you write code faster and more efficiently. It offers both automatic and manual triggering options.
-
-## How Autocomplete Works
-
-Autocomplete analyzes your code context and provides:
-
-- **Inline completions** as you type
-- **Quick fixes** for common code patterns
-- **Contextual suggestions** based on your surrounding code
-- **Multi-line completions** for complex code structures
-
-## Triggering Options
-
-### Code Editor Suggestions
-
-#### Auto-trigger suggestions
-
-When enabled, Kilo Code automatically shows inline suggestions when you pause typing. This provides a seamless coding experience where suggestions appear naturally as you work.
-
-- **Auto Trigger Delay**: Configure the delay (in seconds) before suggestions appear after you stop typing
-- Default is 3 seconds, but this can be adjusted up or down
-- Shorter delays mean quicker suggestions but may be more resource-intensive
-
-#### Trigger on keybinding (Cmd+L)
-
-For more control over when suggestions appear:
-
-1. Position your cursor where you need assistance
-2. Press `Cmd+L` (Mac) or `Ctrl+L` (Windows/Linux)
-3. Kilo Code analyzes the surrounding context
-4. Receive immediate improvements or completions
-
-This is ideal for:
-
-- Quick fixes
-- Code completions
-- Refactoring suggestions
-- Keeping you in the flow without interruptions
-
-You can customize this keyboard shortcut as well in your VS Code settings.
-
-### Chat Suggestions
-
-#### Enable Chat Autocomplete
-
-When enabled, Kilo Code will suggest completions as you type in the chat input. Press Tab to accept suggestions.
-
-## Provider and Model Selection
-
-Autocomplete currently uses **Codestral** (by Mistral AI) as the underlying model. This model is specifically optimized for code completion tasks and provides fast, high-quality suggestions.
-
-### How the Provider is Chosen
-
-Kilo Code automatically selects a provider for autocomplete in the following priority order:
-
-- **Mistral** (using `codestral-latest`)
-- **Kilo Code** (using `mistralai/codestral-2508`)
-- **OpenRouter** (using `mistralai/codestral-2508`)
-- **Requesty** (using `mistral/codestral-latest`)
-- **Bedrock** (using `mistral.codestral-2508-v1:0`)
-- **Hugging Face** (using `mistralai/Codestral-22B-v0.1`)
-- **LiteLLM** (using `codestral/codestral-latest`)
-- **LM Studio** (using `mistralai/codestral-22b-v0.1`)
-- **Ollama** (using `codestral:latest`)
-
-:::note
-**Model Selection is Currently Fixed**: At this time, you cannot freely choose a different model for autocomplete. The feature is designed to work specifically with Codestral, which is optimized for Fill-in-the-Middle (FIM) completions. Support for additional models may be added in future releases.
-:::
-
-## Disable Rival Autocomplete
-
-We recommend disabling rival autocompletes to optimize your experience with Kilo Code. To disable GitHub Copilot autocomplete in VSCode, go to **Settings** and navigate to **GitHub** > **Copilot: Advanced** (or search for 'copilot').
-
-Then, toggle to 'disabled':
-
-
-
-If using Cursor, go to **Settings** > **Cursor Settings** > **Tab**, and toggle off 'Cursor Tab':
-
-
-
-## Best Practices
-
-1. **Balance speed and quality**: Faster models provide quicker suggestions but may be less accurate
-2. **Adjust trigger delay**: Find the sweet spot between responsiveness and avoiding too many API calls
-3. **Use Quick Task for complex changes**: It's designed for more substantial code modifications
-4. **Use Manual Autocomplete for precision**: When you need suggestions at specific moments
-5. **Configure providers wisely**: Consider using faster, cheaper models for autocomplete while keeping more powerful models for chat
-
-## Tips
-
-- Autocomplete works best with clear, well-structured code
-- Comments above functions help autocomplete understand intent
-- Variable and function names matter - descriptive names lead to better suggestions
-
-## Related Features
-
-- [Code Actions](/features/code-actions) - Context menu options for common coding tasks
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup.md b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup.md
deleted file mode 100644
index 850768bc998..00000000000
--- a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup.md
+++ /dev/null
@@ -1,86 +0,0 @@
----
-title: Setting Up Mistral for Free Autocomplete
-sidebar_position: 1
----
-
-# Setting Up Mistral for Free Autocomplete
-
-This guide walks you through setting up Mistral's Codestral model for free autocomplete in Kilo Code. Mistral offers a free tier that's perfect for getting started with AI-powered code completions.
-
-## Video Walkthrough
-
-
-
-## Step 1: Open Kilo Code Settings
-
-In VS Code, open the Kilo Code panel and click the **Settings** icon (gear) in the top-right corner.
-
-
-
-## Step 2: Add a New Configuration Profile
-
-Navigate to **Settings → Providers** and click **Add Profile** to create a new configuration profile for Mistral.
-
-
-
-## Step 3: Name Your Profile
-
-In the "New Configuration Profile" dialog, enter a name like "Mistral profile" (the name can be anything you prefer) and click **Create Profile**.
-
-:::note
-The profile name is just a label for your reference—it doesn't affect functionality. Choose any name that helps you identify this configuration.
-:::
-
-
-
-## Step 4: Select Mistral as Provider
-
-In the **API Provider** dropdown, search for and select **Mistral**.
-
-:::note
-When creating an autocomplete profile, you don't need to select a specific model—Kilo Code will automatically use the appropriate Codestral model optimized for code completions.
-:::
-
-
-
-## Step 5: Get Your API Key
-
-You'll see a warning that you need a valid API key. Click **Get Mistral / Codestral API Key** to open the Mistral console.
-
-
-
-## Step 6: Navigate to Codestral in Mistral AI Studio
-
-In the Mistral AI Studio sidebar, click **Codestral** under the Code section.
-
-
-
-## Step 7: Generate API Key
-
-Click the **Generate API Key** button to create your new Codestral API key.
-
-
-
-## Step 8: Copy Your API Key
-
-Once generated, click the **copy** button next to your API key to copy it to your clipboard.
-
-
-
-## Step 9: Paste API Key in Kilo Code
-
-Return to Kilo Code settings and paste your API key into the **Mistral API Key** field.
-
-
-
-## Step 10: Save Your Settings
-
-Click **Save** to apply your Mistral configuration. You're now ready to use free autocomplete!
-
-
-
-## Next Steps
-
-- Learn more about [Autocomplete features](./index.md)
-- Explore [triggering options](./index.md#triggering-options) for autocomplete
-- Check out [best practices](./index.md#best-practices) for optimal results
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/01-open-kilo-code-settings.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/01-open-kilo-code-settings.png
deleted file mode 100644
index 6cdb9f0792d..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/01-open-kilo-code-settings.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/02-add-configuration-profile.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/02-add-configuration-profile.png
deleted file mode 100644
index 179493cb086..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/02-add-configuration-profile.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/03-name-your-profile.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/03-name-your-profile.png
deleted file mode 100644
index d6f2900efa0..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/03-name-your-profile.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/04-select-mistral-provider.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/04-select-mistral-provider.png
deleted file mode 100644
index 267804d48e2..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/04-select-mistral-provider.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/05-get-api-key.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/05-get-api-key.png
deleted file mode 100644
index 3d08b0d2dc9..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/05-get-api-key.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/06-navigate-to-codestral.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/06-navigate-to-codestral.png
deleted file mode 100644
index 2c611a65af9..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/06-navigate-to-codestral.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/07-confirm-key-generation.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/07-confirm-key-generation.png
deleted file mode 100644
index 32dde09aa60..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/07-confirm-key-generation.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/08-copy-api-key.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/08-copy-api-key.png
deleted file mode 100644
index a8ac8fe1398..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/08-copy-api-key.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/09-paste-api-key.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/09-paste-api-key.png
deleted file mode 100644
index 6a6083cb97d..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/09-paste-api-key.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/10-save-settings.png b/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/10-save-settings.png
deleted file mode 100644
index d6f64029007..00000000000
Binary files a/packages/kilo-docs/docs/basic-usage/autocomplete/mistral-setup/10-save-settings.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/basic-usage/byok.md b/packages/kilo-docs/docs/basic-usage/byok.md
deleted file mode 100644
index 092af1561da..00000000000
--- a/packages/kilo-docs/docs/basic-usage/byok.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-sidebar_label: Bring Your Own Key (BYOK)
----
-
-# Bring Your Own Key (BYOK)
-
-Bring Your Own Key (BYOK) lets you use your own API keys when using the Kilo Gateway, while retaining Kilo platform features like Code Reviews and Cloud Agents.
-
-A user or organization may want to use BYOK to:
-
-- Utilize new models quickly, Kilo Gateway supports most new models in minutes
-- Use subscriptions with third-party AI providers, for example [Z.AI](https://z.ai/subscribe) or [Minimax](https://platform.minimax.io/subscribe/coding-plan)
-- Attribute usage against existing provider commitments or agreements
-- Use existing credits with a provider
-
-## Supported BYOK providers
-
-Kilo Gateway currently supports BYOK keys for these providers:
-
-- Anthropic
-- OpenAI
-- Google AI Studio
-- Minimax
-- Mistral AI
-- xAI
-- Z.AI
-
-## Add a BYOK key
-
-1. Log into the Kilo platform and select the account or organization you want to add the BYOK key to.
-2. Navigate to the [Bring Your Own Key (BYOK) page](https://app.kilo.ai/byok), available in the sidebar under `Account`.
-3. Click `Add Your First Key`, select the provider, and paste your API key.
-4. Save.
-
-## How Bring Your Own Key works
-
-- When you use the **Kilo Gateway** provider, Kilo checks if there’s a BYOK key for the selected model’s provider.
-- If a matching BYOK key exists, the request is routed using your key.
-- If the key is invalid, the request fails. It does not fall back to using Kilo's keys.
-
-## Using BYOK in the Extensions and CLI
-
-- BYOK works with the Kilo Gateway provider. Users should ensure that is set as the active [provider](connecting-providers).
-- Select a model from a provider configured for BYOK, for example Claude Sonnet 4.5 if you configured BYOK for Anthropic.
-- (Optional) Validate with the provider that traffic is being served by that key.
-
-## Limitations
-
-- BYOK is not fully supported by Agent Manager. See [Agent Manager](/advanced-usage/agent-manager) for details.
diff --git a/packages/kilo-docs/docs/basic-usage/connecting-providers.md b/packages/kilo-docs/docs/basic-usage/connecting-providers.md
deleted file mode 100644
index 469a43a8928..00000000000
--- a/packages/kilo-docs/docs/basic-usage/connecting-providers.md
+++ /dev/null
@@ -1,81 +0,0 @@
----
-sidebar_label: Overview
----
-
-# API Providers Overview
-
-**Bottom line**: Kilo Code, like any agentic AI coding tool, needs AI model providers to function. You can use our [built-in provider](/providers/kilocode) (easiest) or connect your own API keys from **30+ providers**.
-
-## Kilo Code Extension vs. API Provider
-
-### The Extension
-
-- VS Code tool you install from the marketplace
-- Handles UI, file operations, and workflow management
-- [Open source](https://github.com/Kilo-Org/kilocode)
-- Connects to any AI provider
-
-### Kilo Gateway Provider
-
-- **Built-in option** that comes with the extension
-- Google sign-in with free credits included
-- No API key management required
-- Access to frontier coding models
-- [Competitive pricing](https://kilocode.ai/pricing)
-
-**Key point**: The extension works with any provider—our API service is just the "batteries included" option.
-
-## Getting Started: Two Paths
-
-### Option 1: Built-in Provider (Recommended)
-
-✅ **Fastest setup**
-
-- Sign in with Google or GitHub at kilocode.ai
-- Free credits included for your first top-up
-- Zero API key management
-- Latest models available
-
-→ [Complete setup guide](/providers/kilocode)
-
-### Option 2: Your Own Provider
-
-**More control, more setup**
-
-1. Choose from 30+ supported providers
-2. Get API key from your provider
-3. Configure in Kilo Code settings
-
-## Why Use Multiple Providers?
-
-- **Cost**: Compare pricing across providers
-- **Models**: Access different AI capabilities
-- **Reliability**: Backup options for outages
-- **Features**: Some providers offer exclusive models
-- **Regional**: Better performance in certain locations
-
-## What's in This Section
-
-### [Connecting Your First AI Provider](/getting-started/connecting-api-provider)
-
-**For beginners**: Step-by-step setup including:
-
-- Recommended providers
-- How to get API keys
-- Initial VS Code configuration
-- Starting your first AI chat
-
-### [API Configuration Profiles](/features/api-configuration-profiles)
-
-**For power users**: Advanced management including:
-
-- Multiple provider configurations
-- Model switching strategies
-- Secure API key management
-- Task-specific optimizations
-
-## Security Note
-
-All API keys use VS Code's Secret Storage—never stored in plain text. Industry-standard security practices protect your credentials.
-
-**Ready to start?** → [Connect your first provider](/getting-started/connecting-api-provider) or jump to [advanced profiles](/features/api-configuration-profiles).
diff --git a/packages/kilo-docs/docs/basic-usage/context-mentions.md b/packages/kilo-docs/docs/basic-usage/context-mentions.md
deleted file mode 100644
index 5666ec2efbc..00000000000
--- a/packages/kilo-docs/docs/basic-usage/context-mentions.md
+++ /dev/null
@@ -1,122 +0,0 @@
-# Context Mentions
-
-Context mentions are a powerful way to provide Kilo Code with specific information about your project, allowing it to perform tasks more accurately and efficiently. You can use mentions to refer to files, folders, problems, and Git commits. Context mentions start with the `@` symbol.
-
-
-
-*Context mentions overview showing the @ symbol dropdown menu in the chat interface.*
-
-## Types of Mentions
-
-
-
-*File mentions add actual code content into the conversation for direct reference and analysis.*
-
-| Mention Type | Format | Description | Example Usage |
-|--------------|--------|-------------|--------------|
-| **File** | `@/path/to/file.ts` | Includes file contents in request context | "Explain the function in @/src/utils.ts" |
-| **Folder** | `@/path/to/folder/` | Provides directory structure in tree format | "What files are in @/src/components/?" |
-| **Problems** | `@problems` | Includes VS Code Problems panel diagnostics | "@problems Fix all errors in my code" |
-| **Terminal** | `@terminal` | Includes recent terminal command and output | "Fix the errors shown in @terminal" |
-| **Git Commit** | `@a1b2c3d` | References specific commit by hash | "What changed in commit @a1b2c3d?" |
-| **Git Changes** | `@git-changes` | Shows uncommitted changes | "Suggest a message for @git-changes" |
-| **URL** | `@https://example.com` | Imports website content | "Summarize @https://docusaurus.io/" |
-
-### File Mentions
-
-
-
-*File mentions incorporate source code with line numbers for precise references.*
-| Capability | Details |
-|------------|---------|
-| **Format** | `@/path/to/file.ts` (always start with `/` from workspace root) |
-| **Provides** | Complete file contents with line numbers |
-| **Supports** | Text files, PDFs, and DOCX files (with text extraction) |
-| **Works in** | Initial requests, feedback responses, and follow-up messages |
-| **Limitations** | Very large files may be truncated; binary files not supported |
-
-### Folder Mentions
-
-
-
-*Folder mentions display directory structure in a readable tree format.*
-| Capability | Details |
-|------------|---------|
-| **Format** | `@/path/to/folder/` (note trailing slash) |
-| **Provides** | Hierarchical tree display with ├── and └── prefixes |
-| **Includes** | Immediate child files and directories (not recursive) |
-| **Best for** | Understanding project structure |
-| **Tip** | Use with file mentions to check specific file contents |
-
-### Problems Mention
-
-
-
-*Problems mentions import diagnostics directly from VS Code's problems panel.*
-| Capability | Details |
-|------------|---------|
-| **Format** | `@problems` |
-| **Provides** | All errors and warnings from VS Code's problems panel |
-| **Includes** | File paths, line numbers, and diagnostic messages |
-| **Groups** | Problems organized by file for better clarity |
-| **Best for** | Fixing errors without manual copying |
-
-### Terminal Mention
-
-
-*Terminal mentions capture recent command output for debugging and analysis.*
-
-| Capability | Details |
-|------------|---------|
-| **Format** | `@terminal` |
-| **Captures** | Last command and its complete output |
-| **Preserves** | Terminal state (doesn't clear the terminal) |
-| **Limitation** | Limited to visible terminal buffer content |
-| **Best for** | Debugging build errors or analyzing command output |
-
-### Git Mentions
-
-
-
-*Git mentions provide commit details and diffs for context-aware version analysis.*
-| Type | Format | Provides | Limitations |
-|------|--------|----------|------------|
-| **Commit** | `@a1b2c3d` | Commit message, author, date, and complete diff | Only works in Git repositories |
-| **Working Changes** | `@git-changes` | `git status` output and diff of uncommitted changes | Only works in Git repositories |
-
-### URL Mentions
-
-
-*URL mentions import external web content and convert it to readable Markdown format.*
-
-| Capability | Details |
-|------------|---------|
-| **Format** | `@https://example.com` |
-| **Processing** | Uses headless browser to fetch content |
-| **Cleaning** | Removes scripts, styles, and navigation elements |
-| **Output** | Converts content to Markdown for readability |
-| **Limitation** | Complex pages may not convert perfectly |
-
-## How to Use Mentions
-
-1. Type `@` in the chat input to trigger the suggestions dropdown
-2. Continue typing to filter suggestions or use arrow keys to navigate
-3. Select with Enter key or mouse click
-4. Combine multiple mentions in a request: "Fix @problems in @/src/component.ts"
-
-The dropdown automatically suggests:
-- Recently opened files
-- Visible folders
-- Recent git commits
-- Special keywords (`problems`, `terminal`, `git-changes`)
-
-## Best Practices
-
-| Practice | Description |
-|----------|-------------|
-| **Use specific paths** | Reference exact files rather than describing them |
-| **Use relative paths** | Always start from workspace root: `@/src/file.ts` not `@C:/Projects/src/file.ts` |
-| **Verify references** | Ensure paths and commit hashes are correct |
-| **Click mentions** | Click mentions in chat history to open files or view content |
-| **Eliminate copy-pasting** | Use mentions instead of manually copying code or errors |
-| **Combine mentions** | "Fix @problems in @/src/component.ts using the pattern from commit @a1b2c3d" |
diff --git a/packages/kilo-docs/docs/basic-usage/how-tools-work.md b/packages/kilo-docs/docs/basic-usage/how-tools-work.md
deleted file mode 100644
index a0f5aaa7529..00000000000
--- a/packages/kilo-docs/docs/basic-usage/how-tools-work.md
+++ /dev/null
@@ -1,83 +0,0 @@
-# How Tools Work
-
-Kilo Code uses tools to interact with your code and environment. These specialized helpers perform specific actions like reading files, making edits, running commands, or searching your codebase. Tools provide automation for common development tasks without requiring manual execution.
-
-## Tool Workflow
-
-Describe what you want to accomplish in natural language, and Kilo Code will:
-
-1. Select the appropriate tool based on your request
-2. Present the tool with its parameters for your review
-3. Execute the approved tool and show you the results
-4. Continue this process until your task is complete
-
-## Tool Categories
-
-| Category | Purpose | Tool Names |
-| :------- | :------ | :--------- |
-| Read | Access file content and code structure | `read_file`, `search_files`, `list_files`, `list_code_definition_names` |
-| Edit | Create or modify files and code | `write_to_file`, `apply_diff` |
-| Execute | Run commands and perform system operations | `execute_command` |
-| Browser | Interact with web content | `browser_action` |
-| Workflow | Manage task flow and context | `ask_followup_question`, `attempt_completion`, `switch_mode`, `new_task` |
-
-## Example: Using Tools
-
-Here's how a typical tool interaction works:
-
-
-
-*The tool approval interface shows Save/Reject buttons and Auto-approve options.*
-
-**User:** Create a file named `greeting.js` that logs a greeting message
-
-**Kilo Code:** (Proposes the `write_to_file` tool as shown in the image above)
-```xml
-
-greeting.js
-
-function greet(name) {
- console.log(`Hello, ${name}!`);
-}
-
-greet('World');
-
-5
-
-```
-
-**User:** (Clicks "Save" in the interface)
-
-**Kilo Code:** (Confirms file creation)
-
-## Tool Safety and Approval
-
-
-Every tool use requires your explicit approval. When Kilo proposes a tool, you'll see:
-
-* A "Save" button to approve and execute the tool
-* A "Reject" button to decline the proposed tool
-* An optional "Auto-approve" setting for trusted operations
-
-This safety mechanism ensures you maintain control over which files are modified, what commands are executed, and how your codebase is changed. Always review tool proposals carefully before saving them.
-
-## Core Tools Reference
-
-| Tool Name | Description | Category |
-| :-------- | :---------- | :------- |
-| `read_file` | Reads the content of a file with line numbers | Read |
-| `search_files` | Searches for text or regex patterns across files | Read |
-| `list_files` | Lists files and directories in a specified location | Read |
-| `list_code_definition_names` | Lists code definitions like classes and functions | Read |
-| `write_to_file` | Creates new files or overwrites existing ones | Edit |
-| `apply_diff` | Makes precise changes to specific parts of a file | Edit |
-| `execute_command` | Runs commands in the VS Code terminal | Execute |
-| `browser_action` | Performs actions in a headless browser | Browser |
-| `ask_followup_question` | Asks you a clarifying question | Workflow |
-| `attempt_completion` | Indicates the task is complete | Workflow |
-| `switch_mode` | Changes to a different operational mode | Workflow |
-| `new_task` | Creates a new subtask with a specific starting mode | Workflow |
-
-## Learn More About Tools
-
-For more detailed information about each tool, including complete parameter references and advanced usage patterns, see the [Tool Use Overview](/features/tools/tool-use-overview) documentation.
diff --git a/packages/kilo-docs/docs/basic-usage/orchestrator-mode.md b/packages/kilo-docs/docs/basic-usage/orchestrator-mode.md
deleted file mode 100644
index 9233bb8f668..00000000000
--- a/packages/kilo-docs/docs/basic-usage/orchestrator-mode.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-sidebar_label: 'Orchestrator Mode'
----
-
-import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
-
-# Orchestrator Mode: Coordinate Complex Workflows
-
-Orchestrator Mode (formerly known as Boomerang Tasks) allows you to break down complex projects into smaller, manageable pieces. Think of it like delegating parts of your work to specialized assistants. Each subtask runs in its own context, often using a different Kilo Code mode tailored for that specific job (like [`code`](/basic-usage/using-modes#code-mode-default), [`architect`](/basic-usage/using-modes#architect-mode), or [`debug`](/basic-usage/using-modes#debug-mode)).
-
-
-
-
-## Why Use Orchestrator Mode?
-
-- **Tackle Complexity:** Break large, multi-step projects (e.g., building a full feature) into focused subtasks (e.g., design, implementation, documentation).
-- **Use Specialized Modes:** Automatically delegate subtasks to the mode best suited for that specific piece of work, leveraging specialized capabilities for optimal results.
-- **Maintain Focus & Efficiency:** Each subtask operates in its own isolated context with a separate conversation history. This prevents the parent (orchestrator) task from becoming cluttered with the detailed execution steps (like code diffs or file analysis results), allowing it to focus efficiently on the high-level workflow and manage the overall process based on concise summaries from completed subtasks.
-- **Streamline Workflows:** Results from one subtask can be automatically passed to the next, creating a smooth flow (e.g., architectural decisions feeding into the coding task).
-
-## How It Works
-
-1. Using Orchestrator Mode, Kilo can analyze a complex task and suggest breaking it down into a subtask[^1].
-2. The parent task pauses, and the new subtask begins in a different mode[^2].
-3. When the subtask's goal is achieved, Kilo signals completion.
-4. The parent task resumes with only the summary[^3] of the subtask. The parent uses this summary to continue the main workflow.
-
-## Key Considerations
-
-- **Approval Required:** By default, you must approve the creation and completion of each subtask. This can be automated via the [Auto-Approving Actions](/features/auto-approving-actions#subtasks) settings if desired.
-- **Context Isolation and Transfer:** Each subtask operates in complete isolation with its own conversation history. It does not automatically inherit the parent's context. Information must be explicitly passed:
- * **Down:** Via the initial instructions provided when the subtask is created.
- * **Up:** Via the final summary provided when the subtask finishes. Be mindful that only this summary returns to the parent.
-- **Navigation:** Kilo's interface helps you see the hierarchy of tasks (which task is the parent, which are children). You can typically navigate between active and paused tasks.
-
-Orchestrator Mode provides a powerful way to manage complex development workflows directly within Kilo Code, leveraging specialized modes for maximum efficiency.
-
-:::tip Keep Tasks Focused
-Use subtasks to maintain clarity. If a request significantly shifts focus or requires a different expertise (mode), consider creating a subtask rather than overloading the current one.
-:::
-
-
-[^1]: This context is passed via the `message` parameter of the [`new_task`](/features/tools/new-task) tool.
-[^2]: The mode for the subtask is specified via the `mode` parameter of the [`new_task`](/features/tools/new-task) tool during initiation.
-[^3]: This summary is passed via the `result` parameter of the [`attempt_completion`](/features/tools/attempt-completion) tool when the subtask finishes.
diff --git a/packages/kilo-docs/docs/contributing/architecture/mcp-oauth-authorization.md b/packages/kilo-docs/docs/contributing/architecture/mcp-oauth-authorization.md
deleted file mode 100644
index d50e5cbcdaf..00000000000
--- a/packages/kilo-docs/docs/contributing/architecture/mcp-oauth-authorization.md
+++ /dev/null
@@ -1,575 +0,0 @@
----
-sidebar_position: 5
-title: "MCP OAuth Authorization"
----
-
-# MCP OAuth Authorization
-
-### Overview
-
-Many MCP servers require authentication to access protected resources. Currently, Kilo Code only supports static credential configuration (API keys, tokens) which must be manually entered and stored. This creates friction for users and security concerns for enterprises.
-
-The MCP specification defines an OAuth 2.1-based authorization flow that enables secure, user-friendly authentication without requiring users to manually manage credentials. This document specifies how Kilo Code will implement the MCP Authorization specification to support OAuth-enabled MCP servers.
-
-### Goals
-
-1. **Eliminate manual credential management** - Users authenticate via browser-based OAuth flows instead of copying/pasting API keys
-2. **Improve security** - Tokens are obtained through secure OAuth flows with PKCE, reducing credential exposure
-3. **Support enterprise SSO** - Organizations can use their existing identity providers
-4. **Maintain compatibility** - Continue supporting static credentials for servers that don't implement OAuth
-
-### Non-Goals (MVP)
-
-- Token refresh automation (will use re-authentication flow initially)
-- Dynamic Client Registration (will rely on Client ID Metadata Documents)
-- Multiple authorization server selection (will use first available)
-
-## MCP Authorization Specification Summary
-
-The MCP Authorization spec (Protocol Revision 2025-11-25) defines an OAuth 2.1-based flow for HTTP-based MCP transports. Key components:
-
-### Roles
-
-- **MCP Server** - Acts as OAuth 2.1 Resource Server, accepts access tokens
-- **MCP Client** (Kilo Code) - Acts as OAuth 2.1 Client, obtains tokens on behalf of users
-- **Authorization Server** - Issues access tokens (may be hosted with MCP server or separate)
-
-### Discovery Flow
-
-1. Client makes unauthenticated request to MCP server
-2. Server returns `401 Unauthorized` with `WWW-Authenticate` header containing `resource_metadata` URL
-3. Client fetches Protected Resource Metadata (RFC 9728) to discover authorization server(s)
-4. Client fetches Authorization Server Metadata (RFC 8414 or OpenID Connect Discovery)
-5. Client initiates OAuth authorization flow
-
-### Client Registration
-
-The spec supports three approaches (in priority order):
-
-1. **Pre-registration** - Client has existing credentials for the server
-2. **Client ID Metadata Documents** - Client uses HTTPS URL as client_id pointing to metadata JSON
-3. **Dynamic Client Registration** - Client registers dynamically via RFC 7591
-
-### Authorization Flow
-
-1. Generate PKCE code verifier and challenge
-2. Open browser with authorization URL including `resource` parameter (RFC 8707)
-3. User authenticates and authorizes
-4. Receive authorization code via redirect
-5. Exchange code for access token
-6. Use access token in `Authorization: Bearer` header for MCP requests
-
-## System Design
-
-### Architecture Overview
-
-```
-┌─────────────────────────────────────────────────────────────────────────────────┐
-│ MCP OAuth Authorization Flow │
-├─────────────────────────────────────────────────────────────────────────────────┤
-│ │
-│ ┌──────────────┐ 1. MCP Request ┌──────────────────┐ │
-│ │ │ ───────────────────► │ │ │
-│ │ Kilo Code │ │ MCP Server │ │
-│ │ Extension │ ◄─────────────────── │ (Resource │ │
-│ │ │ 2. 401 + metadata │ Server) │ │
-│ └──────┬───────┘ └──────────────────┘ │
-│ │ │
-│ │ 3. Fetch resource metadata │
-│ │ 4. Fetch auth server metadata │
-│ ▼ │
-│ ┌──────────────┐ ┌──────────────────┐ │
-│ │ OAuth │ 5. Auth Request │ │ │
-│ │ Service │ ───────────────────► │ Authorization │ │
-│ │ │ │ Server │ │
-│ │ - Discovery │ ◄─────────────────── │ │ │
-│ │ - PKCE │ 8. Token Response │ - User Auth │ │
-│ │ - Tokens │ │ - Consent │ │
-│ └──────┬───────┘ └──────────────────┘ │
-│ │ ▲ │
-│ │ 6. Open browser │ 7. User authenticates │
-│ ▼ │ │
-│ ┌──────────────┐ ┌────────┴─────────┐ │
-│ │ Browser │ ─────────────────────►│ User │ │
-│ │ │ │ │ │
-│ └──────────────┘ └──────────────────┘ │
-│ │
-└─────────────────────────────────────────────────────────────────────────────────┘
-```
-
-### New Components
-
-#### 1. McpOAuthService
-
-A new service responsible for managing OAuth flows for MCP servers:
-
-```typescript
-// src/services/mcp/oauth/McpOAuthService.ts
-
-interface McpOAuthService {
- /**
- * Initiates OAuth flow for an MCP server that returned 401
- * @param serverUrl The MCP server URL
- * @param wwwAuthenticateHeader The WWW-Authenticate header from 401 response
- * @returns Promise resolving to access token
- */
- initiateOAuthFlow(serverUrl: string, wwwAuthenticateHeader: string): Promise
-
- /**
- * Gets stored tokens for a server, if available and valid
- */
- getStoredTokens(serverUrl: string): Promise
-
- /**
- * Clears stored tokens for a server (for logout/re-auth)
- */
- clearTokens(serverUrl: string): Promise
-
- /**
- * Refreshes tokens if refresh token is available
- */
- refreshTokens(serverUrl: string): Promise
-}
-
-interface OAuthTokens {
- accessToken: string
- tokenType: string
- expiresAt?: number
- refreshToken?: string
- scope?: string
-}
-```
-
-#### 2. McpAuthorizationDiscovery
-
-Handles the discovery of authorization server metadata:
-
-```typescript
-// src/services/mcp/oauth/McpAuthorizationDiscovery.ts
-
-interface McpAuthorizationDiscovery {
- /**
- * Discovers authorization server from WWW-Authenticate header or well-known URIs
- */
- discoverAuthorizationServer(serverUrl: string, wwwAuthenticateHeader?: string): Promise
-
- /**
- * Fetches Protected Resource Metadata (RFC 9728)
- */
- fetchResourceMetadata(metadataUrl: string): Promise
-
- /**
- * Fetches Authorization Server Metadata (RFC 8414 / OIDC Discovery)
- */
- fetchAuthServerMetadata(issuerUrl: string): Promise
-}
-
-interface ProtectedResourceMetadata {
- resource: string
- authorization_servers: string[]
- scopes_supported?: string[]
- // ... other RFC 9728 fields
-}
-
-interface AuthorizationServerMetadata {
- issuer: string
- authorization_endpoint: string
- token_endpoint: string
- scopes_supported?: string[]
- response_types_supported: string[]
- code_challenge_methods_supported?: string[]
- client_id_metadata_document_supported?: boolean
- registration_endpoint?: string
- // ... other RFC 8414 fields
-}
-```
-
-#### 3. McpOAuthTokenStorage
-
-Secure storage for OAuth tokens:
-
-```typescript
-// src/services/mcp/oauth/McpOAuthTokenStorage.ts
-
-interface McpOAuthTokenStorage {
- /**
- * Stores tokens securely using VS Code SecretStorage
- */
- storeTokens(serverUrl: string, tokens: OAuthTokens): Promise
-
- /**
- * Retrieves stored tokens
- */
- getTokens(serverUrl: string): Promise
-
- /**
- * Removes stored tokens
- */
- removeTokens(serverUrl: string): Promise
-
- /**
- * Lists all servers with stored tokens
- */
- listServers(): Promise
-}
-```
-
-#### 4. Client ID Metadata Document Hosting
-
-For Client ID Metadata Documents, Kilo Code needs to host a metadata document. We will use static hosting on kilocode.ai:
-
-- Host at `https://kilocode.ai/.well-known/oauth-client/vscode-extension.json`
-- Simple, reliable, no runtime dependencies
-- Authorization servers can cache the document effectively
-- No attack surface from dynamic generation logic
-
-Metadata document:
-
-```json
-{
- "client_id": "https://kilocode.ai/.well-known/oauth-client/vscode-extension.json",
- "client_name": "Kilo Code",
- "client_uri": "https://kilocode.ai",
- "logo_uri": "https://kilocode.ai/logo.png",
- "redirect_uris": ["http://127.0.0.1:0/callback", "vscode://kilocode.kilo-code/oauth/callback"],
- "grant_types": ["authorization_code"],
- "response_types": ["code"],
- "token_endpoint_auth_method": "none"
-}
-```
-
-### Integration with McpHub
-
-The existing `McpHub` class needs modifications to support OAuth:
-
-```typescript
-// Modifications to McpHub.ts
-
-class McpHub {
- private oauthService: McpOAuthService
-
- private async connectToServer(name: string, config: ServerConfig, source: "global" | "project"): Promise {
- // ... existing connection logic ...
-
- // For HTTP-based transports, handle OAuth
- if (config.type === "sse" || config.type === "streamable-http") {
- try {
- await this.connectWithOAuth(name, config, source)
- } catch (error) {
- if (this.isOAuthRequired(error)) {
- // Initiate OAuth flow
- const tokens = await this.oauthService.initiateOAuthFlow(config.url, error.wwwAuthenticateHeader)
- // Retry connection with token
- await this.connectWithToken(name, config, source, tokens)
- } else {
- throw error
- }
- }
- }
- }
-
- private isOAuthRequired(error: unknown): boolean {
- // Check if error is 401 with WWW-Authenticate header
- return error instanceof HttpError && error.status === 401 && error.headers?.["www-authenticate"]
- }
-}
-```
-
-### Configuration Schema Updates
-
-Update the server configuration schema to support OAuth:
-
-```typescript
-// Extended server config for OAuth-enabled servers
-const OAuthServerConfigSchema = BaseConfigSchema.extend({
- type: z.enum(["sse", "streamable-http"]),
- url: z.string().url(),
- headers: z.record(z.string()).optional(),
-
- // OAuth configuration
- oauth: z
- .object({
- // Override client_id if pre-registered
- clientId: z.string().optional(),
- clientSecret: z.string().optional(),
-
- // Override scopes to request
- scopes: z.array(z.string()).optional(),
-
- // Disable OAuth for this server (use static headers instead)
- disabled: z.boolean().optional(),
- })
- .optional(),
-})
-```
-
-### Browser-Based Authorization Flow
-
-The OAuth flow requires opening a browser for user authentication:
-
-```typescript
-// src/services/mcp/oauth/McpOAuthBrowserFlow.ts
-
-interface McpOAuthBrowserFlow {
- /**
- * Opens browser for authorization and waits for callback
- */
- authorize(params: AuthorizationParams): Promise
-}
-
-interface AuthorizationParams {
- authorizationEndpoint: string
- clientId: string
- redirectUri: string
- scope: string
- state: string
- codeChallenge: string
- codeChallengeMethod: "S256"
- resource: string
-}
-
-interface AuthorizationResult {
- code: string
- state: string
-}
-```
-
-**Redirect URI Handling:**
-
-Two approaches for receiving the OAuth callback:
-
-1. **Local HTTP Server** (Primary)
-
- - Start temporary HTTP server on random port
- - Use `http://127.0.0.1:{port}/callback` as redirect URI
- - Server receives callback, extracts code, closes
-
-2. **VS Code URI Handler** (Fallback)
- - Register `vscode://kilocode.kilo-code/oauth/callback` URI handler
- - Works when local server isn't possible
- - Requires VS Code to be running
-
-### Token Management
-
-#### Storage
-
-Tokens are stored using VS Code's SecretStorage API:
-
-```typescript
-// Key format: mcp-oauth-{serverUrlHash}
-const storageKey = `mcp-oauth-${hashServerUrl(serverUrl)}`
-
-// Stored value (encrypted by VS Code)
-interface StoredTokenData {
- accessToken: string
- refreshToken?: string
- expiresAt?: number
- scope?: string
- serverUrl: string
- issuedAt: number
-}
-```
-
-#### Token Lifecycle
-
-1. **Initial Authentication**
-
- - User triggers connection to OAuth-enabled MCP server
- - Server returns 401, OAuth flow initiated
- - User authenticates in browser
- - Tokens stored securely
-
-2. **Subsequent Connections**
-
- - Check for stored tokens
- - If valid, use directly
- - If expired and refresh token available, attempt refresh
- - If refresh fails or no refresh token, re-authenticate
-
-3. **Token Refresh** (Future Enhancement)
- - Background refresh before expiry
- - Automatic retry on 401 with new token
-
-### Error Handling
-
-```typescript
-// OAuth-specific errors
-class McpOAuthError extends Error {
- constructor(
- message: string,
- public code: OAuthErrorCode,
- public serverUrl: string,
- public details?: Record,
- ) {
- super(message)
- }
-}
-
-enum OAuthErrorCode {
- DISCOVERY_FAILED = "discovery_failed",
- AUTHORIZATION_FAILED = "authorization_failed",
- TOKEN_EXCHANGE_FAILED = "token_exchange_failed",
- TOKEN_REFRESH_FAILED = "token_refresh_failed",
- PKCE_NOT_SUPPORTED = "pkce_not_supported",
- USER_CANCELLED = "user_cancelled",
- TIMEOUT = "timeout",
-}
-```
-
-### User Experience
-
-#### Connection Flow
-
-1. User adds/enables OAuth-enabled MCP server
-2. Extension detects OAuth requirement (401 response)
-3. Notification: "MCP server requires authentication. Click to sign in."
-4. User clicks → Browser opens to authorization server
-5. User authenticates and authorizes
-6. Browser redirects back → Extension receives token
-7. Connection completes → Server shows as connected
-
-#### UI Indicators
-
-- **Authenticated servers**: Show lock icon with "Authenticated" status
-- **Authentication required**: Show warning icon with "Sign in required" action
-- **Authentication expired**: Show refresh icon with "Re-authenticate" action
-
-#### Settings UI
-
-Add OAuth status to MCP server settings:
-
-```
-┌─────────────────────────────────────────────────────────────┐
-│ MCP Server: github-mcp │
-├─────────────────────────────────────────────────────────────┤
-│ Status: Connected ✓ │
-│ Type: streamable-http │
-│ URL: https://mcp.github.com │
-│ │
-│ Authentication │
-│ ├─ Method: OAuth 2.0 │
-│ ├─ Status: Authenticated ✓ │
-│ ├─ Expires: 2024-01-15 10:30 AM │
-│ └─ [Sign Out] [Re-authenticate] │
-└─────────────────────────────────────────────────────────────┘
-```
-
-## Security Considerations
-
-### PKCE Requirement
-
-All OAuth flows MUST use PKCE with S256 challenge method:
-
-```typescript
-function generatePKCE(): { verifier: string; challenge: string } {
- // Generate 32-byte random verifier
- const verifier = base64UrlEncode(crypto.randomBytes(32))
-
- // Create S256 challenge
- const challenge = base64UrlEncode(crypto.createHash("sha256").update(verifier).digest())
-
- return { verifier, challenge }
-}
-```
-
-### State Parameter
-
-Generate cryptographically random state to prevent CSRF:
-
-```typescript
-const state = base64UrlEncode(crypto.randomBytes(32))
-// Store state locally and verify on callback
-```
-
-### Token Storage Security
-
-- Use VS Code SecretStorage (encrypted, per-workspace)
-- Never log tokens
-- Clear tokens on extension uninstall
-- Support manual token revocation
-
-### Resource Parameter
-
-Always include `resource` parameter to bind tokens to specific MCP server:
-
-```typescript
-const authUrl = new URL(authorizationEndpoint)
-authUrl.searchParams.set("resource", mcpServerUrl)
-```
-
-### Redirect URI Validation
-
-- Only accept callbacks on registered redirect URIs
-- Validate state parameter matches
-- Use localhost with random port (not predictable)
-
-## Scope and Implementation Plan
-
-### Phase 1: Core OAuth Infrastructure
-
-- [ ] Create `McpOAuthService` with basic flow support
-- [ ] Implement `McpAuthorizationDiscovery` for metadata fetching
-- [ ] Implement `McpOAuthTokenStorage` using SecretStorage
-- [ ] Add PKCE generation utilities
-- [ ] Create local HTTP server for OAuth callbacks
-
-### Phase 2: McpHub Integration
-
-- [ ] Modify `McpHub.connectToServer()` to detect OAuth requirements
-- [ ] Add OAuth retry logic for 401 responses
-- [ ] Update server configuration schema for OAuth options
-- [ ] Add token injection to HTTP transports
-
-### Phase 3: Client ID Metadata Document
-
-- [ ] Host Kilo Code client metadata at kilocode.ai
-- [ ] Implement client_id URL generation
-- [ ] Add fallback to pre-registration for unsupported servers
-
-### Phase 4: User Experience
-
-- [ ] Add OAuth status indicators to MCP server UI
-- [ ] Implement "Sign in" / "Sign out" actions
-- [ ] Add authentication expiry notifications
-- [ ] Create re-authentication flow
-
-### Phase 5: Testing & Documentation
-
-- [ ] Unit tests for OAuth service components
-- [ ] Integration tests with mock OAuth server
-- [ ] End-to-end tests with real OAuth-enabled MCP servers
-- [ ] User documentation for OAuth-enabled servers
-
-## Future Enhancements
-
-- **Automatic token refresh** - Background refresh before expiry
-- **Dynamic Client Registration** - Support RFC 7591 for servers that require it
-- **Multiple authorization servers** - UI for selecting preferred auth server
-- **Enterprise SSO integration** - Support for organization identity providers
-- **Token sharing across workspaces** - Optional global token storage
-- **Offline token caching** - Support for offline scenarios with cached tokens
-
-## Appendix: MCP Authorization Spec Compliance Checklist
-
-### Required (MUST)
-
-- [ ] Use PKCE with S256 for all authorization requests
-- [ ] Include `resource` parameter in authorization and token requests
-- [ ] Support WWW-Authenticate header parsing for resource metadata discovery
-- [ ] Support well-known URI fallback for resource metadata
-- [ ] Support both OAuth 2.0 and OpenID Connect discovery endpoints
-- [ ] Use Authorization header with Bearer scheme for token transmission
-- [ ] Validate PKCE support before proceeding with authorization
-
-### Recommended (SHOULD)
-
-- [ ] Support Client ID Metadata Documents
-- [ ] Use scope from WWW-Authenticate header when provided
-- [ ] Fall back to scopes_supported when scope not in challenge
-- [ ] Implement step-up authorization for insufficient_scope errors
-
-### Optional (MAY)
-
-- [ ] Support Dynamic Client Registration (RFC 7591)
-- [ ] Support pre-registered client credentials
-- [ ] Implement token refresh flows
diff --git a/packages/kilo-docs/docs/contributing/architecture/model-o11y.md b/packages/kilo-docs/docs/contributing/architecture/model-o11y.md
deleted file mode 100644
index 7b22baa13a7..00000000000
--- a/packages/kilo-docs/docs/contributing/architecture/model-o11y.md
+++ /dev/null
@@ -1,148 +0,0 @@
----
-sidebar_position: 11
-title: "Agent Observability"
----
-
-# Kilo Code - Agent Observability
-
-## Problem Statement
-
-Agentic coding systems like Kilo Code operate with significant autonomy, executing multi-step tasks that involve LLM inference, tool execution, file manipulation, and external API calls. These systems mix traditional systems observability (i.e. request/response) with agentic behavior (i.e. planning, reasoning, and tool use).
-
-At the lower level, we can observe the system as a traditional API, but at the higher level, we need to observe the agent's behavior and the quality of its outputs.
-
-Some examples of customer-facing error modes:
-
-- Model API calls may be slow or fail due to rate limits, network issues, or model unavailability
-- Model API calls may produce invalid JSON or malformed responses
-- An agent may get stuck in a loop, repeatedly attempting the same failing operation
-- Sessions may degrade gradually as context windows fill up
-- The agent may complete a task technically but produce incorrect or unhelpful output
-- Users may abandon sessions out of frustration without explicit error signals
-
-All of these contribute to the overall reliability and user experience of the system.
-
-## Goals
-
-1. Detect and alert on acute incidents within minutes
-2. Surface slow-burn degradations within hours
-3. Facilitate root cause analysis when issues occur
-4. Track quality and efficiency trends over time
-5. Build a foundation for continuous improvement of the agent
-
-**Non-goals for this proposal:**
-
-- Automated remediation
-- A/B testing infrastructure
-
-## Proposed Approach
-
-Focus on the lower-level systems observability first, then build up to higher-level agentic behavior observability.
-
-## Phase 1: Systems Observability
-
-**Objective:** Establish awareness and alerting for hard failures.
-
-This phase focuses on systems metrics we can capture with minimal changes, providing immediate operational visibility.
-
-### Phase 1a: LLM observability and alerting
-
-#### Metrics to Capture
-
-Capture these metrics per LLM API call:
-
-- Provider
-- Model
-- Tool
-- Latency
-- Success / Failure
-- Error type and message (if failed)
-- Token counts
-
-#### Dashboards
-
-Common dashboards which offer filtering based on provider, model, and tool:
-
-- Error rate
-- Latency
-- Token usage
-
-#### Alerting
-
-Implement [multi-window, multi-burn-rate alerting](https://sre.google/workbook/alerting-on-slos/) against error budgets:
-
-| Window | Burn Rate | Action | Use Case |
-| ------ | --------- | ------ | ------------------ |
-| 5 min | 14.4x | Page | Major Outage |
-| 30 min | 6x | Page | Incident |
-| 6 hr | 1x | Ticket | Change in behavior |
-
-Paging should **only occur on Recommended Models when using the Kilo Gateway**. All other alerts should be tickets, and some may be configured to be ignored.
-
-**Initial alert conditions:**
-
-- LLM API error rate exceeds SLO (per tool/model/provider)
-- Tool error rate exceeds SLO (per tool/model/provider)
-- p50/p90 latency exceeds SLO (per tool/model/provider)
-
-### Phase 1b: Session metrics
-
-#### Metrics to Capture
-
-**Per-session (aggregated at session close or timeout):**
-
-- Session duration
-- Time from user input to first model response
-- Total turns/steps
-- Total tool calls by tool type
-- Total errors by error type
- - Agent stuck errors (repetitive tool calls, etc)
- - Tool call errors
-- Total tokens consumed
-- Context condensing frequency
-- Termination reason (user closed, timeout, explicit completion, error)
-
-#### Alerting
-
-None.
-
-## Phase 2: Agent Tool Usage
-
-**Objective:** Detect how agents are using tools in a given session.
-
-### Metrics to Capture
-
-**Loop and repetition detection:**
-
-- Count of identical tool calls within a session (same tool + same arguments)
-- Count of identical failing tool calls (same tool + same arguments + same error)
-- Detection of oscillation patterns (alternating between two states)
-
-**Progress indicators:**
-
-- Unique files touched per session
-- Unique tools used per session
-- Ratio of repeated to unique operations
-
-### Alerting
-
-None to start, we will learn.
-
-## Phase 3: Session Outcome Tracking
-
-**Objective:** Understand whether sessions are successful from the user's perspective.
-
-Hard errors and behavior metrics tell us about failures, but we also need signal on overall session health.
-
-### Metrics to Capture
-
-**Explicit signals:**
-
-- User feedback (thumbs up/down) rate and sentiment
-- User abandonment patterns (session ends mid-task without completion signal)
-
-**Implicit signals:**
-
-May require LLM analysis of session transcripts to detect:
-
-- Session termination classification (completed, abandoned, errored, timed out)
diff --git a/packages/kilo-docs/docs/features/KiloCodeBrowser.png b/packages/kilo-docs/docs/features/KiloCodeBrowser.png
deleted file mode 100644
index 9181a877006..00000000000
Binary files a/packages/kilo-docs/docs/features/KiloCodeBrowser.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/features/api-configuration-profiles.md b/packages/kilo-docs/docs/features/api-configuration-profiles.md
deleted file mode 100644
index ec9349d6330..00000000000
--- a/packages/kilo-docs/docs/features/api-configuration-profiles.md
+++ /dev/null
@@ -1,104 +0,0 @@
-# API Configuration Profiles
-
-API Configuration Profiles allow you to create and switch between different sets of AI settings. Each profile can have different configurations for each mode, letting you optimize your experience based on the task at hand.
-
-:::info
-Having multiple configuration profiles lets you quickly switch between different AI providers, models, and settings without reconfiguring everything each time you want to change your setup.
-:::
-
-## How It Works
-
-Configuration profiles can have their own:
-
-- API providers (OpenAI, Anthropic, OpenRouter, Glama, etc.)
-- API keys and authentication details
-- Model selections (o3-mini-high, Claude 3.7 Sonnet, DeepSeek R1, etc.)
-- [Temperature settings](/features/model-temperature) for controlling response randomness
-- Thinking budgets
-- Provider-specific settings
-
-Note that available settings vary by provider and model. Each provider offers different configuration options, and even within the same provider, different models may support different parameter ranges or features.
-
-## Creating and Managing Profiles
-
-### Creating a Profile
-
-1. Open Settings by clicking the gear icon → Providers
-2. Click the "+" button next to the profile selector
-
-
-
-3. Enter a name for your new profile
-
-
-
-4. Configure the profile settings:
-
- - Select your API provider
-
- - Enter API key
-
-
-
- - Choose a model
-
-
-
- - Adjust model parameters
-
-
-
-### Switching Profiles
-
-Switch profiles in two ways:
-
-1. From Settings panel: Select a different profile from the dropdown
-
-
-
-2. During chat: Access the API Configuration dropdown in the chat interface
-
-
-
-### Pinning and Sorting Profiles
-
-The API configuration dropdown now supports pinning your favorite profiles for quicker access:
-
-1. Hover over any profile in the dropdown to reveal the pin icon
-2. Click the pin icon to add the profile to your pinned list
-3. Pinned profiles appear at the top of the dropdown, sorted alphabetically
-4. Unpinned profiles appear below a separator, also sorted alphabetically
-5. You can unpin a profile by clicking the same icon again
-
-
-
-This feature makes it easier to navigate between commonly used profiles, especially when you have many configurations.
-
-### Editing and Deleting Profiles
-
-
-- Select the profile in Settings to modify any settings
-- Click the pencil icon to rename a profile
-- Click the trash icon to delete a profile (you cannot delete the only remaining profile)
-
-## Linking Profiles to Modes
-
-In the Prompts tab, you can explicitly associate a specific Configuration Profile with each Mode. The system also automatically remembers which profile you last used with each mode, making your workflow more efficient.
-
-Watch this demonstration of how to connect configuration profiles with specific modes for optimized workflows:
-
-
-
-## Security Note
-
-API keys are stored securely in VSCode's Secret Storage and are never exposed in plain text.
-
-## Related Features
-
-- Works with [custom modes](/agent-behavior/custom-modes) you create
-- Integrates with [local models](/advanced-usage/local-models) for offline work
-- Supports [temperature settings](/features/model-temperature) per mode
-- Enhances cost management with [rate limits and usage tracking](/advanced-usage/rate-limits-costs)
diff --git a/packages/kilo-docs/docs/features/auto-approving-actions.md b/packages/kilo-docs/docs/features/auto-approving-actions.md
deleted file mode 100644
index 996605573dc..00000000000
--- a/packages/kilo-docs/docs/features/auto-approving-actions.md
+++ /dev/null
@@ -1,365 +0,0 @@
-# Auto-Approving Actions
-
-> ⚠️ **SECURITY WARNING:** Auto-approve settings bypass confirmation prompts, giving Kilo Code direct access to your system. This can result in **data loss, file corruption, or worse**. Command line access is particularly dangerous, as it can potentially execute harmful operations that could damage your system or compromise security. Only enable auto-approval for actions you fully trust.
-
-Auto-approve settings speed up your workflow by eliminating repetitive confirmation prompts, but they significantly increase security risks.
-
-## Quick Start Guide
-
-1. Click the Auto-Approve Toolbar above the chat input
-2. Select which actions Kilo Code can perform without asking permission
-3. Use the master toggle (leftmost checkbox) to quickly enable/disable all permissions
-
-[](https://youtube.com/shorts/NBccFnYDQ-k?feature=shared)
-
-## Auto-Approve Toolbar
-
-
-
-_Prompt box and Auto-Approve Toolbar showing enabled permissions_
-
-Click the toolbar to expand it and configure individual permissions:
-
-
-
-_Prompt text box and Expanded toolbar with all options_
-
-### Available Permissions
-
-| Permission | What it does | Risk level |
-| ------------------------------ | ------------------------------------------------ | ----------- |
-| **Read files and directories** | Lets Kilo Code access files without asking | Medium |
-| **Edit files** | Lets Kilo Code modify files without asking | **High** |
-| **Execute approved commands** | Runs whitelisted terminal commands automatically | **High** |
-| **Use the browser** | Allows headless browser interaction | Medium |
-| **Use MCP servers** | Lets Kilo Code use configured MCP services | Medium-High |
-| **Switch modes** | Changes between Kilo Code modes automatically | Low |
-| **Create & complete subtasks** | Manages subtasks without confirmation | Low |
-| **Retry failed requests** | Automatically retries failed API requests | Low |
-| **Answer follow-up questions** | Selects default answer for follow-up questions | Low |
-| **Update todo list** | Automatically updates task progress | Low |
-
-## Master Toggle for Quick Control
-
-The leftmost checkbox works as a master toggle:
-
-
-
-_Master toggle (checkbox) controls all auto-approve permissions at once_
-
-Use the master toggle when:
-
-- Working in sensitive code (turn off)
-- Doing rapid development (turn on)
-- Switching between exploration and editing tasks
-
-## Advanced Settings Panel
-
-The settings panel provides detailed control with important security context:
-
-> **Allow Kilo Code to automatically perform operations without requiring approval. Enable these settings only if you fully trust the AI and understand the associated security risks.**
-
-To access these settings:
-
-1. Click in the top-right corner
-2. Navigate to Auto-Approve Settings
-
-
-
-_Complete settings panel view_
-
-### Read Operations
-
-:::caution Read Operations
-
-
-**Setting:** "Always approve read-only operations"
-
-**Description:** "When enabled, Kilo Code will automatically view directory contents and read files without requiring you to click the Approve button."
-
-**Risk level:** Medium
-
-While this setting only allows reading files (not modifying them), it could potentially expose sensitive data. Still recommended as a starting point for most users, but be mindful of what files Kilo Code can access.
-
-#### Read Outside Workspace
-
-**Setting:** "Allow reading files outside the workspace"
-
-**Description:** "When enabled, Kilo Code can read files outside the current workspace directory without asking for approval."
-
-**Risk level:** Medium-High
-
-This setting extends read permissions beyond your project folder. Consider the security implications:
-
-- Kilo Code could access sensitive files in your home directory
-- Configuration files, SSH keys, or credentials could be read
-- Only enable if you trust the AI and need it to access external files
-
-**Recommendation:** Keep disabled unless you specifically need Kilo Code to read files outside your project.
-:::
-
-### Write Operations
-
-:::caution Write Operations
-
-
-**Setting:** "Always approve write operations"
-
-**Description:** "Automatically create and edit files without requiring approval"
-
-**Delay slider:** "Delay after writes to allow diagnostics to detect potential problems" (Default: 1000ms)
-
-**Risk level:** High
-
-This setting allows Kilo Code to modify your files without confirmation. The delay timer is crucial:
-
-- Higher values (2000ms+): Recommended for complex projects where diagnostics take longer
-- Default (1000ms): Suitable for most projects
-- Lower values: Use only when speed is critical and you're in a controlled environment
-- Zero: No delay for diagnostics (not recommended for critical code)
-
-#### Write Outside Workspace
-
-**Setting:** "Allow writing files outside the workspace"
-
-**Description:** "When enabled, Kilo Code can create or modify files outside the current workspace directory without asking for approval."
-
-**Risk level:** Very High
-
-Use with caution and in controlled environments. It allows Kilo Code to:
-
-- Modify your shell configuration files
-- Change system configurations
-- Write to any location your user has access to
-
-**Recommendation:** Keep disabled unless absolutely necessary. Even experienced users should avoid this setting.
-
-#### Write to Protected Files
-
-**Setting:** "Allow writing to protected files"
-
-**Description:** "When enabled, Kilo Code can overwrite or modify files that are normally protected by the `.kilocodeignore` file."
-
-**Risk level:** Very High
-
-Protected files are intentionally shielded from modification. Enable only if you understand the consequences.
-
-### Delete Operations
-
-:::danger Delete Operations
-
-**Setting:** "Always approve delete operations"
-
-**Description:** "Automatically delete files and directories without requiring approval"
-
-**Risk level:** Very High
-
-This setting allows Kilo Code to permanently remove files without confirmation.
-
-**Safeguards:**
-
-- Kilo Code still respects `.kilocodeignore` rules
-- Protected files cannot be deleted
-- The delete tool shows what will be removed before execution
-
-**Recommendation:** Enable only in isolated environments or when working with temporary/generated files. Always ensure you have backups, checkpoints, or version control.
-:::
-
-### Browser Actions
-
-:::info Browser Actions
-
-
-**Setting:** "Always approve browser actions"
-
-**Description:** "Automatically perform browser actions without requiring approval"
-
-**Note:** "Only applies when the model supports computer use"
-
-**Risk level:** Medium
-
-Allows Kilo Code to control a headless browser without confirmation. This can include:
-
-- Opening websites
-- Navigating pages
-- Interacting with web elements
-
-Consider the security implications of allowing automated browser access.
-:::
-
-### API Requests
-
-:::info API Requests
-
-
-**Setting:** "Always retry failed API requests"
-
-**Description:** "Automatically retry failed API requests when server returns an error response"
-
-**Risk level:** Low
-
-This setting automatically retries API calls when they fail.
-
-The delay controls how long Kilo Code waits before trying again:
-
-- Longer delays are gentler on API rate limits
-- Shorter delays give faster recovery from transient errors
- :::
-
-### MCP Tools
-
-:::caution MCP Tools
-
-
-**Setting:** "Always approve MCP tools"
-
-**Description:** "Enable auto-approval of individual MCP tools in the Agent Behaviour > MCP Servers view (requires both this setting and the tool's individual 'Always allow' checkbox)"
-
-**Risk level:** Medium-High (depends on configured MCP tools)
-
-This setting works in conjunction with individual tool permissions in the Agent Behaviour > MCP Servers view. Both this global setting and the tool-specific permission must be enabled for auto-approval.
-:::
-
-### Mode Switching
-
-:::info Mode Switching
-
-
-**Setting:** "Always approve mode switching"
-
-**Description:** "Automatically switch between different modes without requiring approval"
-
-**Risk level:** Low
-
-Allows Kilo Code to change between different modes (Code, Architect, etc.) without asking for permission. This primarily affects the AI's behavior rather than system access.
-:::
-
-### Subtasks
-
-:::info Subtasks
-
-
-**Setting:** "Always approve creation & completion of subtasks"
-
-**Description:** "Allow creation and completion of subtasks without requiring approval"
-
-**Risk level:** Low
-
-Enables Kilo Code to create and complete subtasks automatically. This relates to workflow organization rather than system access.
-:::
-
-### Command Execution
-
-:::caution Command Execution
-
-
-**Setting:** "Always approve allowed execute operations"
-
-**Description:** "Automatically execute allowed terminal commands without requiring approval"
-
-**Risk level:** High
-
-This setting allows terminal command execution with controls. While risky, the allowlist and denylist features limit what commands can run.
-
-- Allowlist specific command prefixes (recommended)
-- Never use \* wildcard in production or with sensitive data
-- Consider security implications of each allowed command
-- Consider including potentially dangerous common commands in the deny list
-- Always verify commands that interact with external systems
-
-#### Allowed Commands
-
-**Setting:** "Command prefixes that can be auto-executed"
-
-Add command prefixes (e.g., `git`, `npm`, `ls`) that Kilo Code can run without asking. Use `*` to allow all commands (use with caution).
-
-**Interface elements:**
-
-- Text field to enter command prefixes (e.g., 'git')
-- "Add" button to add new prefixes
-- Clickable command buttons with X to remove them
-
-#### Denied Commands
-
-**Setting:** "Command prefixes that are always blocked"
-
-Commands in this list will never run, even if `*` is in the allowed list. Use this to create exceptions for potentially dangerous commands.
-:::
-
-### Follow-Up Questions
-
-:::info Follow-Up Questions (Risk: Low)
-
-**Setting:** `Always default answer for follow-up questions`
-
-**Description:** Automatically selects the first AI-suggested answer for a follow-up question after a configurable timeout. This speeds up your workflow by letting Kilo Code proceed without manual intervention.
-
-**Visual countdown:** When enabled, a countdown timer appears on the first suggestion button in the chat interface, showing the remaining time before auto-selection. The timer displays seconds remaining (e.g., "3s") and counts down in real-time.
-
-**Timeout slider:** Use the slider to set the wait time (Range: 1-300 seconds, Default: 60s).
-
-**Override options:** You can cancel the auto-selection at any time by:
-
-- Clicking a different suggestion
-- Editing any suggestion
-- Typing your own response
-- Clicking the timer to pause it
-
-**Risk level:** Low
-
-**Use cases:**
-
-- Overnight runs where you want Kilo Code to continue working
-- Repetitive tasks where the default suggestions are usually correct
-- Testing workflows where interaction isn't critical
- :::
-
-### Update Todo List
-
-:::info Update Todo List (Risk: Low)
-
-**Setting:** "Always approve todo list updates"
-
-**Description:** "Automatically update the to-do list without requiring approval"
-
-**Risk level:** Low
-
-This setting allows Kilo Code to automatically update task progress and todo lists during work sessions. This includes:
-
-- Marking tasks as completed
-- Adding new discovered tasks
-- Updating task status (pending, in progress, completed)
-- Reorganizing task priorities
-
-**Use cases:**
-
-- Long-running development sessions
-- Multi-step refactoring projects
-- Complex debugging workflows
-- Feature implementation with many subtasks
-
-This is particularly useful when combined with the Subtasks permission, as it allows Kilo Code to maintain a complete picture of project progress without constant approval requests.
-:::
-
-## YOLO Mode
-
-:::danger YOLO Mode (Risk: Maximum)
-
-**"You Only Live Once"** mode enables _all_ auto-approve permissions at once using the master toggle. This gives Kilo Code complete autonomy to read files, write code, execute commands, and perform any operation without asking for permission.
-
-You can optionally enable an AI Safety Gatekeeper, which reviews every intended change in YOLO mode and intelligently approves or blocks actions before they execute. We suggest using a small, fast model such as OpenAI gpt-oss-safeguard-20b. When enabled, AI Safety Gatekeeper will incur additional costs, as well as additional latency.
-
-**When to use:**
-
-- Rapid prototyping in isolated environments
-- Trusted, low-stakes projects
-- When you want maximum AI autonomy
-
-**When NOT to use:**
-
-- Production code or sensitive projects
-- Working with important data
-- Any situation where mistakes could be costly
-
-This is the fastest way to work with Kilo Code, but also the riskiest. Use it only when you fully trust the AI and are prepared for the consequences.
-:::
diff --git a/packages/kilo-docs/docs/features/enhance-prompt.md b/packages/kilo-docs/docs/features/enhance-prompt.md
deleted file mode 100644
index f9aa705cc08..00000000000
--- a/packages/kilo-docs/docs/features/enhance-prompt.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# Enhance Prompt
-
-The "Enhance Prompt" feature in Kilo Code helps you improve the quality and effectiveness of your prompts before sending them to the AI model. By clicking the icon in the chat input, you can automatically refine your initial request, making it clearer, more specific, and more likely to produce the desired results.
-
-## Why Use Enhance Prompt?
-
-* **Improved Clarity:** Kilo Code can rephrase your prompt to make it more understandable for the AI model.
-* **Added Context:** The enhancement process can add relevant context to your prompt, such as the current file path or selected code.
-* **Better Instructions:** Kilo Code can add instructions to guide the AI towards a more helpful response (e.g., requesting specific formatting or a particular level of detail).
-* **Reduced Ambiguity:** Enhance Prompt helps to eliminate ambiguity and ensure that Kilo Code understands your intent.
-* **Consistency**: Kilo will consistently format prompts the same way to the AI.
-
-### Before and after
-
-
-
-
-## How to Use Enhance Prompt
-
-1. **Type your initial prompt:** Enter your request in the Kilo Code chat input box as you normally would. This can be a simple question, a complex task description, or anything in between.
-2. **Click the Icon:** Instead of pressing Enter, click the icon located in the bottom right of the chat input box.
-3. **Review the Enhanced Prompt:** Kilo Code will replace your original prompt with an enhanced version. Review the enhanced prompt to make sure it accurately reflects your intent. You can further refine the enhanced prompt before sending.
-4. **Send the Enhanced Prompt:** Press Enter or click the Send icon () to send the enhanced prompt to Kilo Code.
-
-## Customizing the Enhancement Process
-
-### Customizing Template
-
-The "Enhance Prompt" feature uses a customizable prompt template. You can modify this template to tailor the enhancement process to your specific needs.
-
-1. **Open the Prompts Tab:** Click the icon in the Kilo Code top menu bar.
-2. **Select "ENHANCE" Tab:** You should see listed out support prompts, including "ENHANCE". Click on this tab.
-3. **Edit the Prompt Template:** Modify the text in the "Prompt" field.
-
-The default prompt template includes the placeholder `${userInput}`, which will be replaced with your original prompt. You can modify this to fit the model's prompt format, and instruct it how to enhance your request.
-
-### Customizing Provider
-
-Speed up prompt enhancement by switching to a more lightweight LLM model provider (e.g. GPT 4.1 Nano). This delivers faster results at lower cost while maintaining quality.
-
-Create a dedicated profile for Enhance Prompt by following the [API configuration profiles guide](/features/api-configuration-profiles).
-
-
-
-For a detailed walkthrough: https://youtu.be/R1nDnCK-xzw
-
-## Limitations and Best Practices
-
-* **Experimental Feature:** Prompt enhancement is an experimental feature. The quality of the enhanced prompt may vary depending on the complexity of your request and the capabilities of the underlying model.
-* **Review Carefully:** Always review the enhanced prompt before sending it. Kilo Code may make changes that don't align with your intentions.
-* **Iterative Process:** You can use the "Enhance Prompt" feature multiple times to iteratively refine your prompt.
-* **Not a Replacement for Clear Instructions:** While "Enhance Prompt" can help, it's still important to write clear and specific prompts from the start.
-
-By using the "Enhance Prompt" feature, you can improve the quality of your interactions with Kilo Code and get more accurate and helpful responses.
diff --git a/packages/kilo-docs/docs/features/experimental/experimental-features.md b/packages/kilo-docs/docs/features/experimental/experimental-features.md
deleted file mode 100644
index 6a01cf875fd..00000000000
--- a/packages/kilo-docs/docs/features/experimental/experimental-features.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# Experimental Features
-
-Kilo Code includes experimental features that are still under development. These features may be unstable, change significantly, or be removed in future versions. Use them with caution and be aware that they may not work as expected.
-
-**Warning:** Experimental features may have unexpected behavior, including potential data loss or security vulnerabilities. Enable them at your own risk.
-
-## Enabling Experimental Features
-
-To enable or disable experimental features:
-
-1. Open the Kilo Code settings ( icon in the top right corner).
-2. Go to the "Advanced Settings" section.
-3. Find the "Experimental Features" section.
-4. Check or uncheck the boxes for the features you want to enable or disable.
-5. Click "Done" to save your changes.
-
-## Current Experimental Features
-
-The following experimental features are currently available:
-
-## Native Function Calling
-
-When enabled, native JSON function calling improves reliability via explicit signatures, first‑class schema validation, and better cache hit rates due to normalized structured arguments.
-
-It replaces brittle XML-style prompts that risk mixed prose/markup, missing fields, and regex-heavy cleanup, yielding more deterministic tool use and clearer error handling.
-
-[More details are available](native-function-calling)
-
-## Voice Transcription
-
-When enabled, voice transcription allows you to dictate messages using speech-to-text in the chat interface. Powered by OpenAI's Whisper API and FFmpeg for audio capture.
-
-[More details are available](voice-transcription)
-
-## Concurrent file edits
-
-When enabled, Kilo Code can edit multiple files in a single request. When disabled, Kilo Code must edit one file at a time. Disabling this can help when working with less capable models or when you want more control over file modifications.
-
-### Power Steering
-
-When enabled, Kilo Code will remind the model about the details of its current mode definition more frequently. This will lead to stronger adherence to role definitions and custom instructions, but will use more tokens per message.
-
-## Providing Feedback
-
-If you encounter any issues with experimental features, or if you have suggestions for improvements, please report them on the [Kilo Code Code GitHub Issues page](https://github.com/Kilo-Org/kilocode) or join our [Discord server](https://kilo.ai/discord) where we have channels dedciated to many experimental features.
-
-Your feedback is valuable and helps us improve Kilo Code!
diff --git a/packages/kilo-docs/docs/features/experimental/native-function-calling.md b/packages/kilo-docs/docs/features/experimental/native-function-calling.md
deleted file mode 100644
index 1fa194c242e..00000000000
--- a/packages/kilo-docs/docs/features/experimental/native-function-calling.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# Native Function Calling
-
-## Context
-
-Historically, Kilo Code has relied on XML-style function and tool definitions embedded in the system prompt to inform the model about tools available to accomplish tasks. The model was given instructions and examples about how to use these tools:
-
-```xml
-
-Put your reason here
-
-
-Use this tool to signal to the user you are complete.
-```
-
-This technique was originally developed ca. 2023 and used first by Anthropic at scale. It was effective and valuable, because it allowed developers to specify arbitrary tools at runtime, rather than rely on pre-configured options from the model labs.
-
-However, it also suffers from numerous downsides. Its effective replacement is JSON-style native function calls that are sent to the model in a dedicated field and with a strong, easily validated schema.
-
-## What
-
-Kilo Code recently implemented _experimental_ support for native function calling in 4.106.0.
-
-## Why?
-
-1. Native function calling offers stronger reliability than older XML-style patterns because the model is explicitly trained to decide when to call a function and to return only the structured arguments that match a declared signature. This reduces the classic failure modes of XML prompts, where the model might interleave prose with markup, drop required fields, or hallucinate tag structures. With native calls, the function signature acts as a contract; the model returns arguments for that contract instead of free‑form text, which materially improves call success rates and downstream determinism.
-
-2. Schema validation becomes first‑class with native function calls. Rather than embedding schemas in prompts and hoping the model adheres, we register a JSON‑schema‑like parameter definition alongside the function. The model’s output is constrained to those types and enums, enabling straightforward server‑side validation and clearer error handling and retries. In practice, this eliminates much of the brittle regex and heuristic cleanup common with XML prompts, and allows us to implement robust “validate → correct → retry” loops tied to explicit parameter constraints.
-
-3. Finally, native function calls can improve cache effectiveness and throughput. Because arguments are structured and validated, equivalent calls normalize to the same payload more often than semantically similar but syntactically different XML blobs. That normalization increases cache hit rates across identical tool invocations, reducing latency and cost, and making end‑to‑end behavior more predictable when chaining multiple tools or working across providers. While XML calling can achieve 80-85% input token cache hit rates on modern models like GPT-5, native function calling can increase that to 90%+, while also achieving the stronger reliability described above.
-
-## Downsides
-
-There are a few considerations and challenges.
-
-1. Model Compatability: Not all models are trained for native function calling, especially small models below 4-7B parameters. That being said, the vast majority of models, both open and closed, released since June 2025 _do_ support native function calls.
-2. Provider Compatability: There are many OpenAI "compliant" providers on the market, using a variety of tools to support their products (often vLLM, SGLang, TensorRT-LLM). Beyond that are numerous local model tools (LM Studio, Ollama, Osaurus). Despite claiming compatability with the OpenAI API specification, its common to see partial or outright incorrect implementations.
-
-Because of these risks and considerations, this capability is experiment, and off by default for nearly all models and providers.
-
-## Use
-
-To enable and use native function calling, consider and perform the following:
-
-1. Ensure you are using a provider that has been enabled in Kilo Code for this experiment. As of Oct 21, 2025, they include:
-
-- OpenRouter
-- Kilo Code
-- LM Studio
-- OpenAI Compatible
-- Z.ai
-- Synthetic
-- X.ai
-- Chutes
-
-By default, native function calling is _disabled_ for most models. Should you wish to try it, open the Advanced settings for a given provider profile that is included in the testing group.
-
-Change the Tool Calling Style to `JSON`, and save the profile.
-
-## Caveats
-
-This feature is currently experimental and mostly intended for users interested in contributing to its development.
-
-There are possible issues including, but not limited to:
-
-- ~~Missing tools~~: As of Oct 21, all tools are supported
-- Tools calls not updating the UI until they are complete
-- ~~MCP servers not working~~: As of Oct 21, MCPs are supported
-- Errors specific to certain inference providers
- - Not all inference providers use servers that are fully compatible with the OpenAI specification. As a result, behavior will vary, even with the same model across providers.
-
-While nearly any provider can be configured via the OpenAI Compatible profile, testers should be aware that this is enabled purely for ease of testing and should be prepared to experience unexpected responses from providers that are not prepared to handle native function calls.
diff --git a/packages/kilo-docs/docs/features/experimental/voice-transcription.md b/packages/kilo-docs/docs/features/experimental/voice-transcription.md
deleted file mode 100644
index ff24e24c204..00000000000
--- a/packages/kilo-docs/docs/features/experimental/voice-transcription.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# Voice Transcription
-
-Kilo Code now includes experimental support for voice input in the chat interface. This feature allows you to dictate your messages using speech-to-text (STT) technology powered by OpenAI's Whisper API.
-
-## Prerequisites
-
-Voice transcription requires two components to be set up:
-
-### 1. FFmpeg Installation
-
-FFmpeg is required for audio capture and processing. Install it for your platform:
-
-**macOS:**
-
-```bash
-brew install ffmpeg
-```
-
-**Linux (Ubuntu/Debian):**
-
-```bash
-sudo apt update
-sudo apt install ffmpeg
-```
-
-**Windows:**
-Download from [ffmpeg.org/download.html](https://ffmpeg.org/download.html) and add to your system PATH.
-
-### 2. OpenAI API Key
-
-Voice transcription uses OpenAI's Whisper API for speech recognition. You need an OpenAI API configuration in Kilo Code:
-
-1. Configure an OpenAI provider profile in Kilo Code settings
-2. Add your OpenAI API key to the profile
-3. Either **OpenAI** or **OpenAI Native** provider types will work
-
-## Enabling Voice Transcription
-
-Voice transcription is an experimental feature that must be enabled:
-
-1. Open Kilo Code settings
-2. Navigate to **Experimental Features**
-3. Enable the **Speech to Text** experiment
-
-## Using Voice Input
-
-Once configured and enabled, a microphone button will appear in the chat input area:
-
-1. Click the microphone button to start recording
-2. Speak your message clearly
-3. Click again to stop recording
-4. Your speech will be automatically transcribed into text
-
-The feature includes real-time audio level visualization and voice activity detection to automatically detect when you're speaking.
-
-## Technical Details
-
-- **Audio Processing**: Uses FFmpeg for system audio capture
-- **Voice Recognition**: OpenAI Whisper API for transcription
-
-## Troubleshooting
-
-**Microphone button not appearing:**
-
-- Ensure the Speech to Text experiment is enabled
-- Verify FFmpeg is installed and in your PATH
-- Check that you have an OpenAI provider configured with a valid API key
-
-**Transcription errors:**
-
-- Verify your OpenAI API key is valid and has available credits
-- Check your internet connection
-- Try speaking more clearly or adjusting your microphone settings
-
-## Limitations
-
-This feature is currently experimental and may have limitations:
-
-- Requires active internet connection
-- Uses OpenAI API credits based on audio duration
-- Transcription accuracy depends on audio quality and speech clarity
diff --git a/packages/kilo-docs/docs/features/footgun-prompting.md b/packages/kilo-docs/docs/features/footgun-prompting.md
deleted file mode 100644
index 525325d8402..00000000000
--- a/packages/kilo-docs/docs/features/footgun-prompting.md
+++ /dev/null
@@ -1,52 +0,0 @@
----
-sidebar_label: 'Footgun Prompting'
----
-
-# Footgun Prompting: Override System Prompts
-
-Footgun Prompting, AKA Overriding System Prompt, allows advanced users to completely replace the default system prompt for a specific Kilo Code mode. This provides granular control over the AI's behavior but bypasses built-in safeguards.
-
-:::info **footgun** *(noun)*
-
-1. *(programming slang, humorous, derogatory)* Any feature likely to lead to the programmer shooting themself in the foot.
-
-> The System Prompt Override is considered a footgun because modifying the core instructions without a deep understanding can lead to unexpected or broken behavior, especially regarding tool usage and response consistency.
-
-:::
-
-## How It Works
-
-1. **Override File:** Create a file named `.kilocode/system-prompt-{mode-slug}` in your workspace root (e.g., `.kilocode/system-prompt-code` for the Code mode).
-2. **Content:** The content of this file becomes the new system prompt for that specific mode.
-3. **Activation:** Kilo Code automatically detects this file. When present, it replaces most of the standard system prompt sections.
-4. **Preserved Sections:** Only the core `roleDefinition` and any `customInstructions` you've set for the mode are kept alongside your override content. Standard sections like tool descriptions, rules, and capabilities are bypassed.
-5. **Construction:** The final prompt sent to the model looks like this:
- ```
- ${roleDefinition}
-
- ${content_of_your_override_file}
-
- ${customInstructions}
- ```
-
-## Accessing the Feature
-
-You can find the option and instructions within the Kilo Code UI:
-
-1. Click the MODE selector in the bottom-left of the Kilo Code text-input box.
-2. Click "Edit..." at the bottom of the mode-selection list
-3. Expand the **"Advanced: Override System Prompt"** section at the bottom.
-4. Clicking the file path link within the explanation will open or create the correct override file for the currently selected mode in VS Code.
-
-
-
-
-## Key Considerations & Warnings
-
-- **Intended Audience:** Best suited for users deeply familiar with Kilo Code's prompting system and the implications of modifying core instructions.
-- **Impact on Functionality:** Custom prompts override standard instructions, including those for tool usage and response consistency. This can cause unexpected behavior or errors if not managed carefully.
-- **Mode-Specific:** Each override file applies only to the mode specified in its filename (`{mode-slug}`).
-- **No File, No Override:** If the `.kilocode/system-prompt-{mode-slug}` file doesn't exist, Kilo Code uses the standard system prompt generation process for that mode.
-- **Directory Creation:** Kilo Code ensures the `.kilocode` directory exists before attempting to read or create the override file.
-
-Use this feature cautiously. While powerful for customization, incorrect implementation can significantly degrade Kilo Code's performance and reliability for the affected mode.
diff --git a/packages/kilo-docs/docs/features/mcp/server-transports.md b/packages/kilo-docs/docs/features/mcp/server-transports.md
deleted file mode 100644
index 8138c6785c8..00000000000
--- a/packages/kilo-docs/docs/features/mcp/server-transports.md
+++ /dev/null
@@ -1,196 +0,0 @@
----
-title: MCP Server Transports
-sidebar_label: STDIO & SSE Transports
----
-
-# MCP Server Transports: STDIO & SSE
-
-Model Context Protocol (MCP) supports two primary transport mechanisms for communication between Kilo Code and MCP servers: Standard Input/Output (STDIO) and Server-Sent Events (SSE). Each has distinct characteristics, advantages, and use cases.
-
-## STDIO Transport
-
-STDIO transport runs locally on your machine and communicates via standard input/output streams.
-
-### How STDIO Transport Works
-
-1. The client (Kilo Code) spawns an MCP server as a child process
-2. Communication happens through process streams: client writes to server's STDIN, server responds to STDOUT
-3. Each message is delimited by a newline character
-4. Messages are formatted as JSON-RPC 2.0
-
-```
-Client Server
- | |
- |---- JSON message ------>| (via STDIN)
- | | (processes request)
- |<---- JSON message ------| (via STDOUT)
- | |
-```
-
-### STDIO Characteristics
-
-* **Locality**: Runs on the same machine as Kilo Code
-* **Performance**: Very low latency and overhead (no network stack involved)
-* **Simplicity**: Direct process communication without network configuration
-* **Relationship**: One-to-one relationship between client and server
-* **Security**: Inherently more secure as no network exposure
-
-### When to Use STDIO
-
-STDIO transport is ideal for:
-
-* Local integrations and tools running on the same machine
-* Security-sensitive operations
-* Low-latency requirements
-* Single-client scenarios (one Kilo Code instance per server)
-* Command-line tools or IDE extensions
-
-### STDIO Implementation Example
-
-```typescript
-import { Server } from '@modelcontextprotocol/sdk/server/index.js';
-import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
-
-const server = new Server({name: 'local-server', version: '1.0.0'});
-// Register tools...
-
-// Use STDIO transport
-const transport = new StdioServerTransport(server);
-transport.listen();
-```
-
-## SSE Transport
-
-Server-Sent Events (SSE) transport runs on a remote server and communicates over HTTP/HTTPS.
-
-### How SSE Transport Works
-
-1. The client (Kilo Code) connects to the server's SSE endpoint via HTTP GET request
-2. This establishes a persistent connection where the server can push events to the client
-3. For client-to-server communication, the client makes HTTP POST requests to a separate endpoint
-4. Communication happens over two channels:
- * Event Stream (GET): Server-to-client updates
- * Message Endpoint (POST): Client-to-server requests
-
-```
-Client Server
- | |
- |---- HTTP GET /events ----------->| (establish SSE connection)
- |<---- SSE event stream -----------| (persistent connection)
- | |
- |---- HTTP POST /message --------->| (client request)
- |<---- SSE event with response ----| (server response)
- | |
-```
-
-### SSE Characteristics
-
-* **Remote Access**: Can be hosted on a different machine from Kilo Code
-* **Scalability**: Can handle multiple client connections concurrently
-* **Protocol**: Works over standard HTTP (no special protocols needed)
-* **Persistence**: Maintains a persistent connection for server-to-client messages
-* **Authentication**: Can use standard HTTP authentication mechanisms
-
-### When to Use SSE
-
-SSE transport is better for:
-
-* Remote access across networks
-* Multi-client scenarios
-* Public services
-* Centralized tools that many users need to access
-* Integration with web services
-
-### SSE Implementation Example
-
-```typescript
-import { Server } from '@modelcontextprotocol/sdk/server/index.js';
-import { SSEServerTransport } from '@modelcontextprotocol/sdk/server/sse.js';
-import express from 'express';
-
-const app = express();
-const server = new Server({name: 'remote-server', version: '1.0.0'});
-// Register tools...
-
-// Use SSE transport
-const transport = new SSEServerTransport(server);
-app.use('/mcp', transport.requestHandler());
-app.listen(3000, () => {
- console.log('MCP server listening on port 3000');
-});
-```
-## Local vs. Hosted: Deployment Aspects
-
-The choice between STDIO and SSE transports directly impacts how you'll deploy and manage your MCP servers.
-
-### STDIO: Local Deployment Model
-
-STDIO servers run locally on the same machine as Kilo Code, which has several important implications:
-
-* **Installation**: The server executable must be installed on each user's machine
-* **Distribution**: You need to provide installation packages for different operating systems
-* **Updates**: Each instance must be updated separately
-* **Resources**: Uses the local machine's CPU, memory, and disk
-* **Access Control**: Relies on the local machine's filesystem permissions
-* **Integration**: Easy integration with local system resources (files, processes)
-* **Execution**: Starts and stops with Kilo Code (child process lifecycle)
-* **Dependencies**: Any dependencies must be installed on the user's machine
-
-#### Practical Example
-
-A local file search tool using STDIO would:
-* Run on the user's machine
-* Have direct access to the local filesystem
-* Start when needed by Kilo Code
-* Not require network configuration
-* Need to be installed alongside Kilo Code or via a package manager
-
-### SSE: Hosted Deployment Model
-
-SSE servers can be deployed to remote servers and accessed over the network:
-
-* **Installation**: Installed once on a server, accessed by many users
-* **Distribution**: Single deployment serves multiple clients
-* **Updates**: Centralized updates affect all users immediately
-* **Resources**: Uses server resources, not local machine resources
-* **Access Control**: Managed through authentication and authorization systems
-* **Integration**: More complex integration with user-specific resources
-* **Execution**: Runs as an independent service (often continuously)
-* **Dependencies**: Managed on the server, not on user machines
-
-#### Practical Example
-
-A database query tool using SSE would:
-* Run on a central server
-* Connect to databases with server-side credentials
-* Be continuously available for multiple users
-* Require proper network security configuration
-* Be deployed using container or cloud technologies
-
-### Hybrid Approaches
-
-Some scenarios benefit from a hybrid approach:
-
-1. **STDIO with Network Access**: A local STDIO server that acts as a proxy to remote services
-2. **SSE with Local Commands**: A remote SSE server that can trigger operations on the client machine through callbacks
-3. **Gateway Pattern**: STDIO servers for local operations that connect to SSE servers for specialized functions
-
-## Choosing Between STDIO and SSE
-
-| Consideration | STDIO | SSE |
-|---------------|-------|-----|
-| **Location** | Local machine only | Local or remote |
-| **Clients** | Single client | Multiple clients |
-| **Performance** | Lower latency | Higher latency (network overhead) |
-| **Setup Complexity** | Simpler | More complex (requires HTTP server) |
-| **Security** | Inherently secure | Requires explicit security measures |
-| **Network Access** | Not needed | Required |
-| **Scalability** | Limited to local machine | Can distribute across network |
-| **Deployment** | Per-user installation | Centralized installation |
-| **Updates** | Distributed updates | Centralized updates |
-| **Resource Usage** | Uses client resources | Uses server resources |
-| **Dependencies** | Client-side dependencies | Server-side dependencies |
-
-## Configuring Transports in Kilo Code
-
-For detailed information on configuring STDIO and SSE transports in Kilo Code, including example configurations, see the [Understanding Transport Types](/features/mcp/using-mcp-in-kilo-code#understanding-transport-types) section in the Using MCP in Kilo Code guide.
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/features/model-temperature.md b/packages/kilo-docs/docs/features/model-temperature.md
deleted file mode 100644
index f4780edf26d..00000000000
--- a/packages/kilo-docs/docs/features/model-temperature.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# Model Temperature
-
-Temperature controls the randomness of AI model outputs. Adjusting this setting optimizes results for different tasks - from precise code generation to creative brainstorming. Temperature is one of the most powerful parameters for controlling AI behavior. A well-tuned temperature setting can dramatically improve the quality and appropriateness of responses for specific tasks.
-
-
-
-## What is Temperature?
-
-Temperature is a setting (usually between 0.0 and 2.0) that controls how random or predictable the AI's output is. Finding the right balance is key: lower values make the output more focused and consistent, while higher values encourage more creativity and variation. For many coding tasks, a moderate temperature (around 0.3 to 0.7) often works well, but the best setting depends on what you're trying to achieve.
-
-:::info Temperature and Code: Common Misconceptions
-Temperature controls output randomness, not code quality or accuracy directly. Key points:
-
-* **Low Temperature (near 0.0):** Produces predictable, consistent code. Good for simple tasks, but can be repetitive and lack creativity. It doesn't guarantee *better* code.
-* **High Temperature:** Increases randomness, potentially leading to creative solutions but also more errors or nonsensical code. It doesn't guarantee *higher-quality* code.
-* **Accuracy:** Code accuracy depends on the model's training and prompt clarity, not temperature.
-* **Temperature 0.0:** Useful for consistency, but limits exploration needed for complex problems.
-:::
-
-## Default Values in Kilo Code
-
-Kilo Code uses a default temperature of 0.0 for most models, optimizing for maximum determinism and precision in code generation. This applies to OpenAI models, Anthropic models (non-thinking variants), LM Studio models, and most other providers.
-
-Some models use higher default temperatures - DeepSeek R1 models and certain reasoning-focused models default to 0.6, providing a balance between determinism and creative exploration.
-
-Models with thinking capabilities (where the AI shows its reasoning process) require a fixed temperature of 1.0 which cannot be changed, as this setting ensures optimal performance of the thinking mechanism. This applies to any model with the ":thinking" flag enabled.
-
-Some specialized models don't support temperature adjustments at all, in which case Kilo Code respects these limitations automatically.
-
-## When to Adjust Temperature
-
-Here are some examples of temperature settings that might work well for different tasks:
-
-* **Code Mode (0.0-0.3):** For writing precise, correct code with consistent, deterministic results
-* **Architect Mode (0.4-0.7):** For brainstorming architecture or design solutions with balanced creativity and structure
-* **Ask Mode (0.7-1.0):** For explanations or open-ended questions requiring diverse and insightful responses
-* **Debug Mode (0.0-0.3):** For troubleshooting bugs with consistent precision
-
-These are starting points – it's important to [experiment with different settings](#experimentation) to find what works best for your specific needs and preferences.
-
-## How to Adjust Temperature
-
-1. **Open the Kilo Code Panel:** Click the Kilo Code icon () in the VS Code Side Bar
-2. **Open Settings:** Click the icon in the top right corner
-3. **Find Temperature Control:** Navigate to the Providers section
-4. **Enable Custom Temperature:** Check the "Use custom temperature" box
-5. **Set Your Value:** Adjust the slider to your preferred value
-
-
- *Temperature slider in Kilo Code settings panel*
-
-## Using API Configuration Profiles for Temperature
-
-Create multiple [API configuration profiles](/features/api-configuration-profiles) with different temperature settings:
-
-**How to set up task-specific temperature profiles:**
-
-1. Create specialized profiles like "Code - Low Temp" (0.1) and "Ask - High Temp" (0.8)
-2. Configure each profile with appropriate temperature settings
-3. Switch between profiles using the dropdown in settings or chat interface
-4. Set different profiles as defaults for each mode for automatic switching when changing modes
-
-This approach optimizes model behavior for specific tasks without manual adjustments.
-
-## Technical Implementation
-
-Kilo Code implements temperature handling with these considerations:
-
-* User-defined settings take priority over defaults
-* Provider-specific behaviors are respected
-* Model-specific limitations are enforced:
- * Thinking-enabled models require a fixed temperature of 1.0
- * Some models don't support temperature adjustments
-
-## Experimentation
-
-Experimenting with different temperature settings is the most effective way to discover what works best for your specific needs:
-
-### Effective Temperature Testing
-
-1. **Start with defaults** - Begin with Kilo Code's preset values (0.0 for most tasks) as your baseline
-2. **Make incremental adjustments** - Change values in small steps (±0.1) to observe subtle differences
-3. **Test consistently** - Use the same prompt across different temperature settings for valid comparisons
-4. **Document results** - Note which values produce the best outcomes for specific types of tasks
-5. **Create profiles** - Save effective settings as [API configuration profiles](/features/api-configuration-profiles) for quick access
-
-Remember that different models may respond differently to the same temperature values, and thinking-enabled models always use a fixed temperature of 1.0 regardless of your settings.
-
-## Related Features
-
-- Works with all [API providers](/providers/openai) supported by Kilo Code
-- Complements [custom instructions](/advanced-usage/custom-instructions) for fine-tuning responses
-- Works alongside [custom modes](/features/custom-modes) you create
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/features/more-features.md b/packages/kilo-docs/docs/features/more-features.md
deleted file mode 100644
index a8b47b644ab..00000000000
--- a/packages/kilo-docs/docs/features/more-features.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-sidebar_label: Additional Features
----
-
-
-# Additional Features
-
-Kilo Code's extras streamline routine tasks and improve accessibility.
-
-## Suggested Responses
-
-Kilo Code offers suggested responses so you spend less time typing.
-- After you ask a question, buttons appear below the chat box.
-- Click a button to reuse it as your next prompt.
-
-## Text to Speech
-
-The Text-to-Speech feature lets Kilo Code read responses aloud.
-1. Enable TTS in settings.
-2. Click the speaker icon next to any response to start listening.
-
-## Global Language Support
-
-Kilo Code supports 14 languages:
-
-- Simplified Chinese
-- Traditional Chinese
-- Spanish
-- Hindi
-- French
-- Portuguese
-- German
-- Japanese
-- Korean
-- Italian
-- Turkish
-- Vietnamese
-- Polish
-- Catalan
-
-Change languages under **Advanced Settings > Language**.
diff --git a/packages/kilo-docs/docs/features/suggested-responses.md b/packages/kilo-docs/docs/features/suggested-responses.md
deleted file mode 100644
index 4a9fb07ca6c..00000000000
--- a/packages/kilo-docs/docs/features/suggested-responses.md
+++ /dev/null
@@ -1,45 +0,0 @@
----
-sidebar_label: Suggested Responses
----
-
-import Codicon from '@site/src/components/Codicon';
-
-# Suggested Responses
-
-When Kilo Code needs more information to complete a task, it uses the [`ask_followup_question` tool](/features/tools/ask-followup-question). To make responding easier and faster, Kilo Code often provides suggested answers alongside the question.
-
-## Overview
-
-Suggested Responses appear as clickable buttons directly below Kilo Code's question in the chat interface. They offer pre-formulated answers relevant to the question, helping you provide input quickly.
-
-
-
-## How It Works
-
-1. **Question Appears**: Kilo Code asks a question using the `ask_followup_question` tool.
-2. **Suggestions Displayed**: If suggestions are provided by Kilo Code, they appear as buttons below the question.
-3. **Interaction**: You can interact with these suggestions in two ways.
-
-## Interacting with Suggestions
-
-You have two options for using suggested responses:
-
-1. **Direct Selection**:
- * **Action**: Simply click the button containing the answer you want to provide.
- * **Result**: The selected answer is immediately sent back to Kilo Code as your response. This is the quickest way to reply if one of the suggestions perfectly matches your intent.
-
-2. **Edit Before Sending**:
- * **Action**:
- * Hold down `Shift` and click the suggestion button.
- * *Alternatively*, hover over the suggestion button and click the pencil icon () that appears.
- * **Result**: The text of the suggestion is copied into the chat input box. You can then modify the text as needed before pressing Enter to send your customized response. This is useful when a suggestion is close but needs minor adjustments.
-
-
-
-## Benefits
-
-* **Speed**: Quickly respond without typing full answers.
-* **Clarity**: Suggestions often clarify the type of information Kilo Code needs.
-* **Flexibility**: Edit suggestions to provide precise, customized answers when needed.
-
-This feature streamlines the interaction when Kilo Code requires clarification, allowing you to guide the task effectively with minimal effort.
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/features/tools/access-mcp-resource.md b/packages/kilo-docs/docs/features/tools/access-mcp-resource.md
deleted file mode 100644
index 16af3cfbfc6..00000000000
--- a/packages/kilo-docs/docs/features/tools/access-mcp-resource.md
+++ /dev/null
@@ -1,126 +0,0 @@
-# access_mcp_resource
-
-The `access_mcp_resource` tool retrieves data from resources exposed by connected Model Context Protocol (MCP) servers. It allows Kilo Code to access files, API responses, documentation, or system information that provides additional context for tasks.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `server_name` (required): The name of the MCP server providing the resource
-- `uri` (required): The URI identifying the specific resource to access
-
-## What It Does
-
-This tool connects to MCP servers and fetches data from their exposed resources. Unlike `use_mcp_tool` which executes actions, this tool specifically retrieves information that serves as context for tasks.
-
-## When is it used?
-
-- When Kilo Code needs additional context from external systems
-- When Kilo Code needs to access domain-specific data from specialized MCP servers
-- When Kilo Code needs to retrieve reference documentation hosted by MCP servers
-- When Kilo Code needs to integrate real-time data from external APIs via MCP
-
-## Key Features
-
-- Retrieves both text and image data from MCP resources
-- Requires user approval before executing resource access
-- Uses URI-based addressing to precisely identify resources
-- Integrates with the Model Context Protocol SDK
-- Displays resource content appropriately based on content type
-- Supports timeouts for reliable network operations
-- Handles server connection states (connected, connecting, disconnected)
-- Discovers available resources from connected servers
-- Processes structured response data with metadata
-- Handles image content special rendering
-
-## Limitations
-
-- Depends on external MCP servers being available and connected
-- Limited to the resources provided by connected servers
-- Cannot access resources from disabled servers
-- Network issues can affect reliability and performance
-- Resource access subject to configured timeouts
-- URI formats are determined by the specific MCP server implementation
-- No offline or cached resource access capabilities
-
-## How It Works
-
-When the `access_mcp_resource` tool is invoked, it follows this process:
-
-1. **Connection Validation**:
- - Verifies that an MCP hub is available and initialized
- - Confirms the specified server exists in the connection list
- - Checks if the server is disabled (returns an error if it is)
-
-2. **User Approval**:
- - Presents the resource access request to the user for approval
- - Provides server name and resource URI for user verification
- - Proceeds only if the user approves the resource access
-
-3. **Resource Request**:
- - Uses the Model Context Protocol SDK to communicate with servers
- - Makes a `resources/read` request to the server through the MCP hub
- - Applies configured timeouts to prevent hanging on unresponsive servers
-
-4. **Response Processing**:
- - Receives a structured response with metadata and content arrays
- - Processes text content for display to the user
- - Handles image data specially for appropriate display
- - Returns the processed resource data to Kilo Code for use in the current task
-
-## Resource Types
-
-MCP servers can provide two main types of resources:
-
-1. **Standard Resources**:
- - Fixed resources with specific URIs
- - Defined name, description, and MIME type
- - Direct access without parameters
- - Typically represent static data or real-time information
-
-2. **Resource Templates**:
- - Parameterized resources with placeholder values in URIs
- - Allow dynamic resource generation based on provided parameters
- - Can represent queries or filtered views of data
- - More flexible but require additional URI formatting
-
-## Examples When Used
-
-- When helping with API development, Kilo Code retrieves endpoint specifications from MCP resources to ensure correct implementation.
-- When assisting with data visualization, Kilo Code accesses current data samples from connected MCP servers.
-- When working in specialized domains, Kilo Code retrieves technical documentation to provide accurate guidance.
-- When generating industry-specific code, Kilo Code references compliance requirements from documentation resources.
-
-## Usage Examples
-
-Accessing current weather data:
-```
-
-weather-server
-weather://san-francisco/current
-
-```
-
-Retrieving API documentation:
-```
-
-api-docs
-docs://payment-service/endpoints
-
-```
-
-Accessing domain-specific knowledge:
-```
-
-knowledge-base
-kb://medical/terminology/common
-
-```
-
-Fetching system configuration:
-```
-
-infra-monitor
-config://production/database
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/apply-diff.md b/packages/kilo-docs/docs/features/tools/apply-diff.md
deleted file mode 100644
index 002bfad6616..00000000000
--- a/packages/kilo-docs/docs/features/tools/apply-diff.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# apply_diff
-
-The `apply_diff` tool makes precise, surgical changes to files by specifying exactly what content to replace. It uses multiple sophisticated strategies for finding and applying changes while maintaining proper code formatting and structure.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `path` (required): The path of the file to modify relative to the current working directory.
-- `diff` (required): The search/replace block defining the changes. **Line numbers are mandatory within the diff content format** for all currently implemented strategies.
-
-**Note**: While the system is designed to be extensible with different diff strategies, all currently implemented strategies require line numbers to be specified within the diff content itself using the `:start_line:` marker.
-
-## What It Does
-
-This tool applies targeted changes to existing files using sophisticated strategies to locate and replace content precisely. Unlike simple search and replace, it uses intelligent matching algorithms (including fuzzy matching) that adapt to different content types and file sizes, with fallback mechanisms for complex edits.
-
-## When is it used?
-
-- When Kilo Code needs to make precise changes to existing code without rewriting entire files.
-- When refactoring specific sections of code while maintaining surrounding context.
-- When fixing bugs in existing code with surgical precision.
-- When implementing feature enhancements that modify only certain parts of a file.
-
-## Key Features
-
-- Uses intelligent fuzzy matching with configurable confidence thresholds (typically 0.8-1.0).
-- Provides context around matches using `BUFFER_LINES` (default 40).
-- Employs an overlapping window approach for searching large files.
-- Preserves code formatting and indentation automatically.
-- Combines overlapping matches for improved confidence scoring.
-- Shows changes in a diff view for user review and editing before applying.
-- Tracks consecutive errors per file (`consecutiveMistakeCountForApplyDiff`) to prevent repeated failures.
-- Validates file access against `.kilocodeignore` rules.
-- Handles multi-line edits effectively.
-
-## Limitations
-
-- Works best with unique, distinctive code sections for reliable identification.
-- Performance can vary with very large files or highly repetitive code patterns.
-- Fuzzy matching might occasionally select incorrect locations if content is ambiguous.
-- Each diff strategy has specific format requirements.
-- Complex edits might require careful strategy selection or manual review.
-
-## How It Works
-
-When the `apply_diff` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates required `path` and `diff` parameters.
-2. **KiloCodeIgnore Check**: Validates if the target file path is allowed by `.kilocodeignore` rules.
-3. **File Analysis**: Loads the target file content.
-4. **Match Finding**: Uses the selected strategy's algorithms (exact, fuzzy, overlapping windows) to locate the target content, considering confidence thresholds and context (`BUFFER_LINES`).
-5. **Change Preparation**: Generates the proposed changes, preserving indentation.
-6. **User Interaction**:
- * Displays the changes in a diff view.
- * Allows the user to review and potentially edit the proposed changes.
- * Waits for user approval or rejection.
-7. **Change Application**: If approved, applies the changes (potentially including user edits) to the file.
-8. **Error Handling**: If errors occur (e.g., match failure, partial application), increments the `consecutiveMistakeCountForApplyDiff` for the file and reports the failure type.
-9. **Feedback**: Returns the result, including any user feedback or error details.
-
-## Diff Strategy
-
-Kilo Code uses this strategy for applying diffs:
-
-### MultiSearchReplaceDiffStrategy
-
-An enhanced search/replace format supporting multiple changes in one request. **Line numbers are mandatory for each search block.**
-
-* **Best for**: Multiple, distinct changes where line numbers are known or can be estimated.
-* **Requires**: Exact match for the `SEARCH` block content, including whitespace and indentation. The `:start_line:` marker is **required** within each SEARCH block. Markers within content must be escaped (`\`).
-
-Example format for the `` block:
-
-```diff
-<<<<<<< SEARCH
-:start_line:10
-:end_line:12
--------
- // Old calculation logic
- const result = value * 0.9;
- return result;
-=======
- // Updated calculation logic with logging
- console.log(`Calculating for value: ${value}`);
- const result = value * 0.95; // Adjusted factor
- return result;
->>>>>>> REPLACE
-
-<<<<<<< SEARCH
-:start_line:25
-:end_line:25
--------
- const defaultTimeout = 5000;
-=======
- const defaultTimeout = 10000; // Increased timeout
->>>>>>> REPLACE
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/features/tools/ask-followup-question.md b/packages/kilo-docs/docs/features/tools/ask-followup-question.md
deleted file mode 100644
index ac47c4cae36..00000000000
--- a/packages/kilo-docs/docs/features/tools/ask-followup-question.md
+++ /dev/null
@@ -1,169 +0,0 @@
-# ask_followup_question
-
-The `ask_followup_question` tool enables interactive communication by asking specific questions to gather additional information needed to complete tasks effectively.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `question` (required): The specific question to ask the user
-- `follow_up` (optional): A list of 2-4 suggested answers that help guide user responses, each within `` tags
-
-## What It Does
-
-This tool creates a conversational interface between Kilo Code and the user, allowing for gathering clarification, additional details, or user preferences when facing ambiguities or decision points. Each question can include suggested responses to streamline the interaction.
-
-## When is it used?
-
-- When critical information is missing from the original request
-- When Kilo Code needs to choose between multiple valid implementation approaches
-- When technical details or preferences are required to proceed
-- When Kilo Code encounters ambiguities that need resolution
-- When additional context would significantly improve the solution quality
-
-## Key Features
-
-- Provides a structured way to gather specific information without breaking workflow
-- Includes suggested answers to reduce user typing and guide responses
-- Maintains conversation history and context across interactions
-- Supports responses containing images and code snippets
-- Available in all modes as part of the "always available" tool set
-- Enables direct user guidance on implementation decisions
-- Formats responses with `` tags to distinguish them from regular conversation
-- Resets consecutive error counter when used successfully
-
-## Limitations
-
-- Limited to asking one specific question per tool use
-- Presents suggestions as selectable options in the UI
-- Cannot force structured responses – users can still respond freely
-- Excessive use can slow down task completion and create a fragmented experience
-- Suggested answers must be complete, with no placeholders requiring user edits
-- No built-in validation for user responses
-- Contains no mechanism to enforce specific answer formats
-
-## How It Works
-
-When the `ask_followup_question` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates the required `question` parameter and checks for optional suggestions
- - Ensures question text is provided
- - Parses any suggested answers from the `follow_up` parameter using the `fast-xml-parser` library
- - Normalizes suggestions into an array format even if there's only one suggestion
-
-2. **JSON Transformation**: Converts the XML structure into a standardized JSON format for UI display
- ```typescript
- {
- question: "User's question here",
- suggest: [
- { answer: "Suggestion 1" },
- { answer: "Suggestion 2" }
- ]
- }
- ```
-
-3. **UI Integration**:
- - Passes the JSON structure to the UI layer via the `ask("followup", ...)` method
- - Displays selectable suggestion buttons to the user in the interface
- - Creates an interactive experience for selecting or typing a response
-
-4. **Response Collection and Processing**:
- - Captures user text input and any images included in the response
- - Wraps user responses in `` tags when returning to the assistant
- - Preserves any images included in the user's response
- - Maintains the conversational context by adding the response to the history
- - Resets the consecutive error counter when the tool is used successfully
-
-5. **Error Handling**:
- - Tracks consecutive mistakes using a counter
- - Resets the counter when the tool is used successfully
- - Provides specific error messages:
- - For missing parameters: "Missing required parameter 'question'"
- - For XML parsing: "Failed to parse operations: [error message]"
- - For invalid format: "Invalid operations xml format"
- - Contains safeguards to prevent tool execution when required parameters are missing
- - Increments consecutive mistake count when errors occur
-
-## Workflow Sequence
-
-The question-answer cycle follows this sequence:
-
-1. **Information Gap Recognition**: Kilo Code identifies missing information needed to proceed
-2. **Specific Question Creation**: Kilo Code formulates a clear, targeted question
-3. **Suggestion Development**: Kilo Code creates relevant suggested answers (optional but recommended)
-4. **Tool Invocation**: Assistant invokes the tool with question and optional suggestions
-5. **UI Presentation**: Question and suggestions are displayed to the user as interactive elements
-6. **User Response**: The user selects a suggestion or provides a custom answer
-7. **Message Handling**: System handles both partial and complete messages
- - For streaming responses, processes chunks as they arrive
- - For complete messages, processes the entire response at once
- - Maintains state consistency regardless of message chunking
-8. **Response Processing**: System wraps the response in `` tags and preserves images
-9. **Context Integration**: Response is added to the conversation history
-10. **Task Continuation**: Kilo Code proceeds with the task using the new information
-
-## Examples When Used
-
-- When developing a web application, Kilo Code might ask about preferred styling frameworks (Bootstrap, Tailwind, custom CSS)
-- When creating an API, Kilo Code might ask about authentication methods (JWT, OAuth, API keys)
-- When refactoring code, Kilo Code might ask about prioritizing performance vs. readability
-- When setting up a database, Kilo Code might ask about specific schema design preferences
-- When creating a custom feature, Kilo Code might ask about specific behavior expectations
-- When troubleshooting errors, Kilo Code might ask about specific environment details
-
-## Response Format
-
-When a user responds to a question, the response is formatted with `` tags for clarity and consistency. This format helps clearly separate the user's answer from other conversation elements.
-
-Example response format:
-```
-
-Use Tailwind CSS for utility-first styling with maximum flexibility
-
-```
-
-Key characteristics of the response format:
-- Surrounded by `` tags
-- Preserves formatting of the original response
-- Maintains images if included in the response
-- Returns the complete text, even for long responses
-
-## Usage Examples
-
-Asking about implementation preferences:
-```
-
-Which styling approach would you prefer for this web application?
-
-Use Bootstrap for rapid development with consistent components
-Use Tailwind CSS for utility-first styling with maximum flexibility
-Use vanilla CSS with custom styling for complete control and minimal dependencies
-
-
-```
-
-
-Requesting technical clarification:
-```
-
-What database should this application use for storing user data?
-
-MongoDB for flexible schema and document-based storage
-PostgreSQL for relational data with strong consistency guarantees
-Firebase for real-time updates and simplified backend management
-SQLite for lightweight local storage without external dependencies
-
-
-```
-
-Addressing ambiguity in requirements:
-```
-
-How should the application handle user authentication?
-
-Implement email/password authentication with account verification
-Use social login providers (Google, GitHub, etc.) for quick signup
-Implement both email/password and social login options
-
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/attempt-completion.md b/packages/kilo-docs/docs/features/tools/attempt-completion.md
deleted file mode 100644
index 112f98415f2..00000000000
--- a/packages/kilo-docs/docs/features/tools/attempt-completion.md
+++ /dev/null
@@ -1,175 +0,0 @@
-# attempt_completion
-
-The `attempt_completion` tool signals that Kilo Code believes a task is complete and presents results to the user. It provides a summary of what was accomplished, optionally includes a command to demonstrate the result, and supports continued refinement through user feedback.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `result` (required): The final result description summarizing what was accomplished
-- `command` (optional): A CLI command to execute to demonstrate the result
-
-## What It Does
-
-This tool marks the end of a task by presenting a final summary of what was accomplished. It signals to both the user and the system that the current task is complete. When a command is provided, it can also demonstrate the result through a live execution.
-
-## When is it used?
-
-- When Kilo Code believes the user's task has been completed
-- When summarizing what changes or improvements were made
-- When demonstrating the current result with a command execution
-- When providing a checkpoint for user feedback on the solution
-- When transitioning from one phase of work to potential refinements
-
-## Key Features
-
-- Provides a clear signal that Kilo Code believes the task is complete
-- Summarizes accomplishments in a concise message
-- Optionally demonstrates results through command execution
-- Enables user feedback for further refinements
-- Displays results in a special UI format distinct from regular messages
-- Captures task completion telemetry for system analytics
-- Maintains a structured conversation flow by providing checkpoints
-- Supports subtask completion within larger workflows
-- Ensures users receive a clear summary of what was done
-- Available in all modes as part of the "always available" tool group
-
-## Limitations
-
-- Should not be used until previous tool uses are confirmed successful (guideline, not enforced)
-- Limited to a single command for result demonstration
-- Cannot present multiple command options
-- Commands require user approval before execution
-- Limited to demonstrating results that can be shown via CLI commands
-- Cannot be used for partial task completion or progress updates
-- Result formatting strips XML closing tags through internal processing
-
-## How It Works
-
-When the `attempt_completion` tool is invoked, it follows this process:
-
-1. **Safety Consideration** (guideline, not enforced):
- - The AI is instructed to confirm previous tool uses were successful
- - This is a best practice rather than a programmatically enforced mechanism
-
-2. **Result Presentation**:
- - Displays the completion message to the user in a special "completion_result" UI format
- - Removes XML closing tags from the result text using the `removeClosingTag` function
- - Presents the result differently than regular messages for visual distinction
-
-3. **Command Execution** (if provided):
- - Requests user approval before executing the command
- - Only executes if the user approves
- - Executes the command using the system's command execution functionality
- - Shows the result of the command to the user
-
-4. **Feedback Collection**:
- - Waits for user feedback on the completion result
- - Processes this feedback and returns it to the AI
- - Enables continued refinement based on user input
-
-5. **Task Completion and Continuation**:
- - Signals the task as completed in the system
- - Captures telemetry data for the completed task
- - For subtasks, offers to finish the subtask and resume the parent task
- - Supports continued conversation through the feedback mechanism
-
-6. **Implementation Integration**:
- - Tool results are parsed through the system's parsing mechanism in `parse-assistant-message.ts`
- - The tool is part of the "ALWAYS_AVAILABLE_TOOLS" constant, making it available in all modes
-
-## Result Formatting Guidelines
-
-The result message should follow these guidelines:
-
-- Clearly communicate what was accomplished
-- Be concise but complete
-- Focus on the value delivered to the user
-- Avoid unnecessary pleasantries or filler text
-- Maintain a professional, straightforward tone
-- Present information in a way that's easy to scan and understand
-- Acknowledge that the user may provide feedback for further refinements
-
-Note: The system automatically strips XML closing tags from the result text through the `removeClosingTag` function.
-
-## Command Selection Guidelines
-
-When including a command, follow these guidelines:
-
-- Choose commands that visually demonstrate the result
-- Prefer commands that show the user what was created or modified
-- Examples include:
- * `open index.html` to display a created website
- * `npm start` to launch a development server
- * `python app.py` to run a created application
-- Avoid commands that merely print text (like `echo` or `cat`)
-- Remember that commands require user approval before execution
-- Ensure the command is valid for the user's operating system
-
-## Feedback and UI Representation
-
-The `attempt_completion` tool has a unique feedback mechanism:
-
-- Results appear in a special "completion_result" UI format distinct from regular messages
-- The system waits for user feedback after presenting the result
-- Feedback is processed and returned to Kilo Code for further refinements
-- This creates an iterative improvement cycle rather than ending the conversation
-- The UI includes special elements for providing feedback
-- Results serve as clear checkpoints in the conversation flow
-
-When used within subtasks:
-- The system offers to finish the subtask and resume the parent task
-- If approved, the subtask is completed with a summary
-- The parent task resumes with context from the completed subtask
-- This enables complex, nested workflows while maintaining context
-
-## Examples When Used
-
-- When creating a website, Kilo Code presents the solution and uses `open index.html` to show the result. The user provides feedback, and Kilo Code refines the design.
-- When implementing a feature, Kilo Code summarizes the changes and their impact. The user requests additional test coverage, and Kilo Code continues the task.
-- When fixing bugs, Kilo Code explains what was fixed and how the solution addresses the Kilo Codet cause. The user confirms the fix works.
-- When setting up a development environment, Kilo Code confirms all components are installed. The user requests additional configuration, and Kilo Code continues.
-- When creating a data processing script, Kilo Code summarizes the functionality. The user suggests performance improvements, and Kilo Code optimizes the code.
-
-## Usage Examples
-
-
-Completing a task with just a result summary:
-```
-
-
-I've updated the CSS for the navigation bar to match the design mockup. The changes include:
-1. Updated color scheme to use the new brand colors
-2. Added responsive behavior for mobile devices
-3. Fixed the alignment issues in the dropdown menus
-
-
-```
-
-Completing a task with a result and demonstration command:
-```
-
-
-I've created a simple React application with the following features:
-1. A responsive landing page with the requested hero section
-2. A working contact form with validation
-3. Navigation between all three requested pages
-4. Styling that matches the provided design mockup
-
-npm start
-
-```
-
-Completing a Python script task with execution:
-```
-
-
-I've created a data processing script that:
-1. Reads the CSV files from the data directory
-2. Cleans and normalizes the data as requested
-3. Generates the summary statistics in JSON format
-4. Outputs the processed data to the output directory
-
-python process_data.py
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/browser-action.md b/packages/kilo-docs/docs/features/tools/browser-action.md
deleted file mode 100644
index 6e14b36586e..00000000000
--- a/packages/kilo-docs/docs/features/tools/browser-action.md
+++ /dev/null
@@ -1,152 +0,0 @@
-# browser_action
-
-The `browser_action` tool enables web automation and interaction via a Puppeteer-controlled browser. It allows Kilo Code to launch browsers, navigate to websites, click elements, type text, and scroll pages with visual feedback through screenshots.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `action` (required): The action to perform:
- * `launch`: Start a new browser session at a URL
- * `click`: Click at specific x,y coordinates
- * `type`: Type text via the keyboard
- * `scroll_down`: Scroll down one page height
- * `scroll_up`: Scroll up one page height
- * `close`: End the browser session
-- `url` (optional): The URL to navigate to when using the `launch` action
-- `coordinate` (optional): The x,y coordinates for the `click` action (e.g., "450,300")
-- `text` (optional): The text to type when using the `type` action
-
-## What It Does
-
-This tool creates an automated browser session that Kilo Code can control to navigate websites, interact with elements, and perform tasks that require browser automation. Each action provides a screenshot of the current state, enabling visual verification of the process.
-
-## When is it used?
-
-- When Kilo Code needs to interact with web applications or websites
-- When testing user interfaces or web functionality
-- When capturing screenshots of web pages
-- When demonstrating web workflows visually
-
-## Key Features
-
-- Provides visual feedback with screenshots after each action and captures console logs
-- Supports complete workflows from launching to page interaction to closing
-- Enables precise interactions via coordinates, keyboard input, and scrolling
-- Maintains consistent browser sessions with intelligent page loading detection
-- Operates in two modes: local (isolated Puppeteer instance) or remote (connects to existing Chrome)
-- Handles errors gracefully with automatic session cleanup and detailed messages
-- Optimizes visual output with support for various formats and quality settings
-- Tracks interaction state with position indicators and action history
-
-## Browser Modes
-
-The tool operates in two distinct modes:
-
-### Local Browser Mode (Default)
-- Downloads and manages a local Chromium instance through Puppeteer
-- Creates a fresh browser environment with each launch
-- No access to existing user profiles, cookies, or extensions
-- Consistent, predictable behavior in a sandboxed environment
-- Completely closes the browser when the session ends
-
-### Remote Browser Mode
-- Connects to an existing Chrome/Chromium instance running with remote debugging enabled
-- Can access existing browser state, cookies, and potentially extensions
-- Faster startup as it reuses an existing browser process
-- Supports connecting to browsers in Docker containers or on remote machines
-- Only disconnects (doesn't close) from the browser when session ends
-- Requires Chrome to be running with remote debugging port open (typically port 9222)
-
-## Limitations
-
-- While the browser is active, only `browser_action` tool can be used
-- Browser coordinates are viewport-relative, not page-relative
-- Click actions must target visible elements within the viewport
-- Browser sessions must be explicitly closed before using other tools
-- Browser window has configurable dimensions (default 900x600)
-- Cannot directly interact with browser DevTools
-- Browser sessions are temporary and not persistent across Kilo Code restarts
-- Works only with Chrome/Chromium browsers, not Firefox or Safari
-- Local mode has no access to existing cookies; remote mode requires Chrome with debugging enabled
-
-## How It Works
-
-When the `browser_action` tool is invoked, it follows this process:
-
-1. **Action Validation and Browser Management**:
- - Validates the required parameters for the requested action
- - For `launch`: Initializes a browser session (either local Puppeteer instance or remote Chrome)
- - For interaction actions: Uses the existing browser session
- - For `close`: Terminates or disconnects from the browser appropriately
-
-2. **Page Interaction and Stability**:
- - Ensures pages are fully loaded using DOM stability detection via `waitTillHTMLStable` algorithm
- - Executes requested actions (navigation, clicking, typing, scrolling) with proper timing
- - Monitors network activity after clicks and waits for navigation when necessary
-
-3. **Visual Feedback**:
- - Captures optimized screenshots using WebP format (with PNG fallback)
- - Records browser console logs for debugging purposes
- - Tracks mouse position and maintains paginated history of actions
-
-4. **Session Management**:
- - Maintains browser state across multiple actions
- - Handles errors and automatically cleans up resources
- - Enforces proper workflow sequence (launch → interactions → close)
-
-## Workflow Sequence
-
-Browser interactions must follow this specific sequence:
-
-1. **Session Initialization**: All browser workflows must start with a `launch` action
-2. **Interaction Phase**: Multiple `click`, `type`, and scroll actions can be performed
-3. **Session Termination**: All browser workflows must end with a `close` action
-4. **Tool Switching**: After closing the browser, other tools can be used
-
-## Examples When Used
-
-- When creating a web form submission process, Kilo Code launches a browser, navigates to the form, fills out fields with the `type` action, and clicks submit.
-- When testing a responsive website, Kilo Code navigates to the site and uses scroll actions to examine different sections.
-- When capturing screenshots of a web application, Kilo Code navigates through different pages and takes screenshots at each step.
-- When demonstrating an e-commerce checkout flow, Kilo Code simulates the entire process from product selection to payment confirmation.
-
-## Usage Examples
-
-Launching a browser and navigating to a website:
-```
-
-launch
-https://example.com
-
-```
-
-Clicking at specific coordinates (e.g., a button):
-```
-
-click
-450,300
-
-```
-
-Typing text into a focused input field:
-```
-
-type
-Hello, World!
-
-```
-
-Scrolling down to see more content:
-```
-
-scroll_down
-
-```
-
-Closing the browser session:
-```
-
-close
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/codebase-search.md b/packages/kilo-docs/docs/features/tools/codebase-search.md
deleted file mode 100644
index d86b8663f20..00000000000
--- a/packages/kilo-docs/docs/features/tools/codebase-search.md
+++ /dev/null
@@ -1,244 +0,0 @@
-# codebase_search
-
-:::info Setup Required
-The `codebase_search` tool is part of the [Codebase Indexing](/features/codebase-indexing) feature. It requires additional setup including an embedding provider and vector database.
-:::
-
-The `codebase_search` tool performs semantic searches across your entire codebase using AI embeddings. Unlike traditional text-based search, it understands the meaning of your queries and finds relevant code even when exact keywords don't match.
-
----
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `query` (required): Natural language search query describing what you're looking for
-- `path` (optional): Directory path to limit search scope to a specific part of your codebase
-
----
-
-## What It Does
-
-This tool searches through your indexed codebase using semantic similarity rather than exact text matching. It finds code blocks that are conceptually related to your query, even if they don't contain the exact words you searched for. Results include relevant code snippets with file paths, line numbers, and similarity scores.
-
----
-
-## When is it used?
-
-- When Kilo Code needs to find code related to specific functionality across your project
-- When looking for implementation patterns or similar code structures
-- When searching for error handling, authentication, or other conceptual code patterns
-- When exploring unfamiliar codebases to understand how features are implemented
-- When finding related code that might be affected by changes or refactoring
-
----
-
-## Key Features
-
-- **Semantic Understanding**: Finds code by meaning rather than exact keyword matches
-- **Cross-Project Search**: Searches across your entire indexed codebase, not just open files
-- **Contextual Results**: Returns code snippets with file paths and line numbers for easy navigation
-- **Similarity Scoring**: Results ranked by relevance with similarity scores (0-1 scale)
-- **Scope Filtering**: Optional path parameter to limit searches to specific directories
-- **Intelligent Ranking**: Results sorted by semantic relevance to your query
-- **UI Integration**: Results displayed with syntax highlighting and navigation links
-- **Performance Optimized**: Fast vector-based search with configurable result limits
-
----
-
-## Requirements
-
-This tool is only available when the Codebase Indexing feature is properly configured:
-
-- **Feature Configured**: Codebase Indexing must be configured in settings
-- **Embedding Provider**: OpenAI API key or Ollama configuration required
-- **Vector Database**: Qdrant instance running and accessible
-- **Index Status**: Codebase must be indexed (status: "Indexed" or "Indexing")
-
----
-
-## Limitations
-
-- **Requires Configuration**: Depends on external services (embedding provider + Qdrant)
-- **Index Dependency**: Only searches through indexed code blocks
-- **Result Limits**: Maximum of 50 results per search to maintain performance
-- **Similarity Threshold**: Only returns results above similarity threshold (default: 0.4, configurable)
-- **File Size Limits**: Limited to files under 1MB that were successfully indexed
-- **Language Support**: Effectiveness depends on Tree-sitter language support
-
----
-
-## How It Works
-
-When the `codebase_search` tool is invoked, it follows this process:
-
-1. **Availability Validation**:
- - Verifies that the CodeIndexManager is available and initialized
- - Confirms codebase indexing is enabled in settings
- - Checks that indexing is properly configured (API keys, Qdrant URL)
- - Validates the current index state allows searching
-
-2. **Query Processing**:
- - Takes your natural language query and generates an embedding vector
- - Uses the same embedding provider configured for indexing (OpenAI or Ollama)
- - Converts the semantic meaning of your query into a mathematical representation
-
-3. **Vector Search Execution**:
- - Searches the Qdrant vector database for similar code embeddings
- - Uses cosine similarity to find the most relevant code blocks
- - Applies the minimum similarity threshold (default: 0.4, configurable) to filter results
- - Limits results to 50 matches for optimal performance
-
-4. **Path Filtering** (if specified):
- - Filters results to only include files within the specified directory path
- - Uses normalized path comparison for accurate filtering
- - Maintains relevance ranking within the filtered scope
-
-5. **Result Processing and Formatting**:
- - Converts absolute file paths to workspace-relative paths
- - Structures results with file paths, line ranges, similarity scores, and code content
- - Formats for both AI consumption and UI display with syntax highlighting
-
-6. **Dual Output Format**:
- - **AI Output**: Structured text format with query, file paths, scores, and code chunks
- - **UI Output**: JSON format with syntax highlighting and navigation capabilities
-
----
-
-## Search Query Best Practices
-
-### Effective Query Patterns
-
-**Good: Conceptual and specific**
-```xml
-
-user authentication and password validation
-
-```
-
-**Good: Feature-focused**
-```xml
-
-database connection pool setup
-
-```
-
-**Good: Problem-oriented**
-```xml
-
-error handling for API requests
-
-```
-
-**Less effective: Too generic**
-```xml
-
-function
-
-```
-
-### Query Types That Work Well
-
-- **Functional Descriptions**: "file upload processing", "email validation logic"
-- **Technical Patterns**: "singleton pattern implementation", "factory method usage"
-- **Domain Concepts**: "user profile management", "payment processing workflow"
-- **Architecture Components**: "middleware configuration", "database migration scripts"
-
----
-
-## Directory Scoping
-
-Use the optional `path` parameter to focus searches on specific parts of your codebase:
-
-**Search within API modules:**
-```xml
-
-endpoint validation middleware
-src/api
-
-```
-
-**Search in test files:**
-```xml
-
-mock data setup patterns
-tests
-
-```
-
-**Search specific feature directories:**
-```xml
-
-component state management
-src/components/auth
-
-```
-
----
-
-## Result Interpretation
-
-### Similarity Scores
-
-- **0.8-1.0**: Highly relevant matches, likely exactly what you're looking for
-- **0.6-0.8**: Good matches with strong conceptual similarity
-- **0.4-0.6**: Potentially relevant but may require review
-- **Below 0.4**: Filtered out as too dissimilar
-
-### Result Structure
-
-Each search result includes:
-- **File Path**: Workspace-relative path to the file containing the match
-- **Score**: Similarity score indicating relevance (0.4-1.0)
-- **Line Range**: Start and end line numbers for the code block
-- **Code Chunk**: The actual code content that matched your query
-
----
-
-## Examples When Used
-
-- When implementing a new feature, Kilo Code searches for "authentication middleware" to understand existing patterns before writing new code.
-- When debugging an issue, Kilo Code searches for "error handling in API calls" to find related error patterns across the codebase.
-- When refactoring code, Kilo Code searches for "database transaction patterns" to ensure consistency across all database operations.
-- When onboarding to a new codebase, Kilo Code searches for "configuration loading" to understand how the application bootstraps.
-
----
-
-## Usage Examples
-
-Searching for authentication-related code across the entire project:
-```xml
-
-user login and authentication logic
-
-```
-
-Finding database-related code in a specific directory:
-```xml
-
-database connection and query execution
-src/data
-
-```
-
-Looking for error handling patterns in API code:
-```xml
-
-HTTP error responses and exception handling
-src/api
-
-```
-
-Searching for testing utilities and mock setups:
-```xml
-
-test setup and mock data creation
-tests
-
-```
-
-Finding configuration and environment setup code:
-```xml
-
-environment variables and application configuration
-
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/features/tools/execute-command.md b/packages/kilo-docs/docs/features/tools/execute-command.md
deleted file mode 100644
index 37ed565d661..00000000000
--- a/packages/kilo-docs/docs/features/tools/execute-command.md
+++ /dev/null
@@ -1,153 +0,0 @@
-# execute_command
-
-The `execute_command` tool runs CLI commands on the user's system. It allows Kilo Code to perform system operations, install dependencies, build projects, start servers, and execute other terminal-based tasks needed to accomplish user objectives.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `command` (required): The CLI command to execute. Must be valid for the user's operating system.
-- `cwd` (optional): The working directory to execute the command in. If not provided, the current working directory is used.
-
-## What It Does
-
-This tool executes terminal commands directly on the user's system, enabling a wide range of operations from file manipulations to running development servers. Commands run in managed terminal instances with real-time output capture, integrated with VS Code's terminal system for optimal performance and security.
-
-## When is it used?
-
-- When installing project dependencies (npm install, pip install, etc.)
-- When building or compiling code (make, npm run build, etc.)
-- When starting development servers or running applications
-- When initializing new projects (git init, npm init, etc.)
-- When performing file operations beyond what other tools provide
-- When running tests or linting operations
-- When needing to execute specialized commands for specific technologies
-
-## Key Features
-
-- Integrates with VS Code shell API for reliable terminal execution
-- Reuses terminal instances when possible through a registry system
-- Captures command output line by line with real-time feedback
-- Supports long-running commands that continue in the background
-- Allows specification of custom working directories
-- Maintains terminal history and state across command executions
-- Handles complex command chains appropriate for the user's shell
-- Provides detailed command completion status and exit code interpretation
-- Supports interactive terminal applications with user feedback loop
-- Shows terminals during execution for transparency
-- Validates commands for security using shell-quote parsing
-- Blocks potentially dangerous subshell execution patterns
-- Integrates with KiloCodeIgnore system for file access control
-- Handles terminal escape sequences for clean output
-
-## Limitations
-
-- Command access may be restricted by KiloCodeIgnore rules and security validations
-- Commands with elevated permission requirements may need user configuration
-- Behavior may vary across operating systems for certain commands
-- Very long-running commands may require specific handling
-- File paths should be properly escaped according to the OS shell rules
-- Not all terminal features may work with remote development scenarios
-
-## How It Works
-
-When the `execute_command` tool is invoked, it follows this process:
-
-1. **Command Validation and Security Checks**:
- - Parses the command using shell-quote to identify components
- - Validates against security restrictions (subshell usage, restricted files)
- - Checks against KiloCodeIgnore rules for file access permissions
- - Ensures the command meets system security requirements
-
-2. **Terminal Management**:
- - Gets or creates a terminal through TerminalRegistry
- - Sets up the working directory context
- - Prepares event listeners for output capture
- - Shows the terminal for user visibility
-
-3. **Command Execution and Monitoring**:
- - Executes via VS Code's shellIntegration API
- - Captures output with escape sequence processing
- - Throttles output handling (100ms intervals)
- - Monitors for command completion or errors
- - Detects "hot" processes like compilers for special handling
-
-4. **Result Processing**:
- - Strips ANSI/VS Code escape sequences for clean output
- - Interprets exit codes with detailed signal information
- - Updates working directory tracking if changed by command
- - Provides command status with appropriate context
-
-## Terminal Implementation Details
-
-The tool uses a sophisticated terminal management system:
-
-1. **First Priority: Terminal Reuse**
- - The TerminalRegistry tries to reuse existing terminals when possible
- - This reduces proliferation of terminal instances and improves performance
- - Terminal state (working directory, history) is preserved across commands
-
-2. **Second Priority: Security Validation**
- - Commands are parsed using shell-quote for component analysis
- - Dangerous patterns like `$(...)` and backticks are blocked
- - Commands are checked against KiloCodeIgnore rules for file access control
- - A prefix-based allowlist system validates command patterns
-
-3. **Performance Optimizations**
- - Output is processed in 100ms throttled intervals to prevent UI overload
- - Zero-copy buffer management uses index-based tracking for efficiency
- - Special handling for compilation and "hot" processes
- - Platform-specific optimizations for Windows PowerShell
-
-4. **Error and Signal Handling**
- - Exit codes are mapped to detailed signal information (SIGTERM, SIGKILL, etc.)
- - Core dump detection for critical failures
- - Working directory changes are tracked and handled automatically
- - Clean recovery from terminal disconnection scenarios
-
-## Examples When Used
-
-- When setting up a new project, Kilo Code runs initialization commands like `npm init -y` followed by installing dependencies.
-- When building a web application, Kilo Code executes build commands like `npm run build` to compile assets.
-- When deploying code, Kilo Code runs git commands to commit and push changes to a repository.
-- When troubleshooting, Kilo Code executes diagnostic commands to gather system information.
-- When starting a development server, Kilo Code launches the appropriate server command (e.g., `npm start`).
-- When running tests, Kilo Code executes the test runner command for the project's testing framework.
-
-## Usage Examples
-
-Running a simple command in the current directory:
-```
-
-npm run dev
-
-```
-
-Installing dependencies for a project:
-```
-
-npm install express mongodb mongoose dotenv
-
-```
-
-Running multiple commands in sequence:
-```
-
-mkdir -p src/components && touch src/components/App.js
-
-```
-
-Executing a command in a specific directory:
-```
-
-git status
-./my-project
-
-```
-
-Building and then starting a project:
-```
-
-npm run build && npm start
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/list-code-definition-names.md b/packages/kilo-docs/docs/features/tools/list-code-definition-names.md
deleted file mode 100644
index 2f24f949151..00000000000
--- a/packages/kilo-docs/docs/features/tools/list-code-definition-names.md
+++ /dev/null
@@ -1,116 +0,0 @@
-# list_code_definition_names
-
-The `list_code_definition_names` tool provides a structural overview of your codebase by listing code definitions from source files at the top level of a specified directory. It helps Kilo Code understand code architecture by displaying line numbers and definition snippets.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `path` (required): The path of the directory to list top level source code definitions for, relative to the current working directory
-
-## What It Does
-
-This tool scans source code files at the top level of a specified directory and extracts code definitions like classes, functions, and interfaces. It displays the line numbers and actual code for each definition, providing a quick way to map the important components of your codebase.
-
-## When is it used?
-
-- When Kilo Code needs to understand your codebase architecture quickly
-- When Kilo Code needs to locate important code constructs across multiple files
-- When planning refactoring or extensions to existing code
-- Before diving into implementation details with other tools
-- When identifying relationships between different parts of your codebase
-
-## Key Features
-
-- Extracts classes, functions, methods, interfaces, and other definitions from source files
-- Displays line numbers and actual source code for each definition
-- Supports multiple programming languages including JavaScript, TypeScript, Python, Rust, Go, C++, C, C#, Ruby, Java, PHP, Swift, and Kotlin
-- Processes only files at the top level of the specified directory (not subdirectories)
-- Limits processing to a maximum of 50 files for performance
-- Focuses on top-level definitions to avoid overwhelming detail
-- Helps identify code organization patterns across the project
-- Creates a mental map of your codebase's architecture
-- Works in conjunction with other tools like `read_file` for deeper analysis
-
-## Limitations
-
-- Only identifies top-level definitions, not nested ones
-- Only processes files at the top level of the specified directory, not subdirectories
-- Limited to processing a maximum of 50 files per request
-- Dependent on language-specific parsers, with varying detection quality
-- May not recognize all definitions in languages with complex syntax
-- Not a substitute for reading code to understand implementation details
-- Cannot detect runtime patterns or dynamic code relationships
-- Does not provide information about how definitions are used
-- May have reduced accuracy with highly dynamic or metaprogrammed code
-- Limited to specific languages supported by the implemented Tree-sitter parsers
-
-## How It Works
-
-When the `list_code_definition_names` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates the required `path` parameter
-2. **Path Resolution**: Resolves the relative path to an absolute path
-3. **Directory Scanning**: Scans only the top level of the specified directory for source code files (not recursive)
-4. **File Filtering**: Limits processing to a maximum of 50 files
-5. **Language Detection**: Identifies file types based on extensions (.js, .jsx, .ts, .tsx, .py, .rs, .go, .cpp, .hpp, .c, .h, .cs, .rb, .java, .php, .swift, .kt, .kts)
-6. **Code Parsing**: Uses Tree-sitter to parse code and extract definitions through these steps:
- - Parsing file content into an Abstract Syntax Tree (AST)
- - Creating a query using a language-specific query string
- - Sorting the captures by their position in the file
-7. **Result Formatting**: Outputs definitions with line numbers and actual source code
-
-## Output Format
-
-The output shows file paths followed by line numbers and the actual source code of each definition. For example:
-
-```
-src/utils.js:
-0--0 | export class HttpClient {
-5--5 | formatDate() {
-10--10 | function parseConfig(data) {
-
-src/models/User.js:
-0--0 | interface UserProfile {
-10--10 | export class User {
-20--20 | function createUser(data) {
-```
-
-Each line displays:
-- The start and end line numbers of the definition
-- The pipe symbol (|) as a separator
-- The actual source code of the definition
-
-This output format helps you quickly see both where definitions are located in the file and their implementation details.
-
-## Examples When Used
-
-- When starting a new task, Kilo Code first lists key code definitions to understand the overall structure of your project.
-- When planning refactoring work, Kilo Code uses this tool to identify classes and functions that might be affected.
-- When exploring unfamiliar codebases, Kilo Code maps the important code constructs before diving into implementation details.
-- When adding new features, Kilo Code identifies existing patterns and relevant code definitions to maintain consistency.
-- When troubleshooting bugs, Kilo Code maps the codebase structure to locate potential sources of the issue.
-- When planning architecture changes, Kilo Code identifies all affected components across files.
-
-## Usage Examples
-
-Listing code definitions in the current directory:
-```
-
-.
-
-```
-
-Examining a specific module's structure:
-```
-
-src/components
-
-```
-
-Exploring a utility library:
-```
-
-lib/utils
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/list-files.md b/packages/kilo-docs/docs/features/tools/list-files.md
deleted file mode 100644
index a0595f7b71f..00000000000
--- a/packages/kilo-docs/docs/features/tools/list-files.md
+++ /dev/null
@@ -1,132 +0,0 @@
-# list_files
-
-The `list_files` tool displays the files and directories within a specified location. It helps Kilo Code understand your project structure and navigate your codebase effectively.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `path` (required): The path of the directory to list contents for, relative to the current working directory
-- `recursive` (optional): Whether to list files recursively. Use `true` for recursive listing, `false` or omit for top-level only.
-
-## What It Does
-
-This tool lists all files and directories in a specified location, providing a clear overview of your project structure. It can either show just the top-level contents or recursively explore subdirectories.
-
-## When is it used?
-
-- When Kilo Code needs to understand your project structure
-- When Kilo Code explores what files are available before reading specific ones
-- When Kilo Code maps a codebase to better understand its organization
-- Before using more targeted tools like `read_file` or `search_files`
-- When Kilo Code needs to check for specific file types (like configuration files) across a project
-
-## Key Features
-
-- Lists both files and directories with directories clearly marked
-- Offers both recursive and non-recursive listing modes
-- Intelligently ignores common large directories like `node_modules` and `.git` in recursive mode
-- Respects `.gitignore` rules when in recursive mode
-- Marks files ignored by `.kilocodeignore` with a lock symbol (🔒) when `showKiloCodeIgnoredFiles` is enabled
-- Optimizes performance with level-by-level directory traversal
-- Sorts results to show directories before their contents, maintaining a logical hierarchy
-- Presents results in a clean, organized format
-- Automatically creates a mental map of your project structure
-
-## Limitations
-
-- File listing is capped at about 200 files by default to prevent performance issues
-- Has a 10-second timeout for directory traversal to prevent hanging on complex directory structures
-- When the file limit is hit, it adds a note suggesting to use `list_files` on specific subdirectories
-- Not designed for confirming the existence of files you've just created
-- May have reduced performance in very large directory structures
-- Cannot list files in root or home directories for security reasons
-
-## How It Works
-
-When the `list_files` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates the required `path` parameter and optional `recursive` parameter
-2. **Path Resolution**: Resolves the relative path to an absolute path
-3. **Security Checks**: Prevents listing files in sensitive locations like root or home directories
-4. **Directory Scanning**:
- - For non-recursive mode: Lists only the top-level contents
- - For recursive mode: Traverses the directory structure level by level with a 10-second timeout
- - If timeout occurs, returns partial results collected up to that point
-5. **Result Filtering**:
- - In recursive mode, skips common large directories like `node_modules`, `.git`, etc.
- - Respects `.gitignore` rules when in recursive mode
- - Handles `.kilocodeignore` patterns, either hiding files or marking them with a lock symbol
-6. **Formatting**:
- - Marks directories with a trailing slash (`/`)
- - Sorts results to show directories before their contents for logical hierarchy
- - Marks ignored files with a lock symbol (🔒) when `showKiloCodeIgnored` is enabled
- - Caps results at 200 files by default with a note about using subdirectories
- - Organizes results for readability
-
-## File Listing Format
-
-The file listing results include:
-
-- Each file path is displayed on its own line
-- Directories are marked with a trailing slash (`/`)
-- Files ignored by `.kilocodeignore` are marked with a lock symbol (🔒) when `showKiloCodeIgnored` is enabled
-- Results are sorted logically with directories appearing before their contents
-- When the file limit is reached, a message appears suggesting to use `list_files` on specific subdirectories
-
-Example output format:
-```
-src/
-src/components/
-src/components/Button.tsx
-src/components/Header.tsx
-src/utils/
-src/utils/helpers.ts
-src/index.ts
-...
-File listing truncated (showing 200 of 543 files). Use list_files on specific subdirectories for more details.
-```
-
-When `.kilocodeignore` files are used and `showKiloCodeIgnored` is enabled:
-```
-src/
-src/components/
-src/components/Button.tsx
-src/components/Header.tsx
-🔒 src/secrets.json
-src/utils/
-src/utils/helpers.ts
-src/index.ts
-```
-
-## Examples When Used
-
-- When starting a new task, Kilo Code may list the project files to understand its structure before diving into specific code.
-- When asked to find specific types of files (like all JavaScript files), Kilo Code first lists directories to know where to look.
-- When providing recommendations for code organization, Kilo Code examines the current project structure first.
-- When setting up a new feature, Kilo Code lists related directories to understand the project conventions.
-
-## Usage Examples
-
-Listing top-level files in the current directory:
-```
-
-.
-
-```
-
-Recursively listing all files in a source directory:
-```
-
-src
-true
-
-```
-
-Examining a specific project subdirectory:
-```
-
-src/components
-false
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/new-task.md b/packages/kilo-docs/docs/features/tools/new-task.md
deleted file mode 100644
index 5ccc8de2dbd..00000000000
--- a/packages/kilo-docs/docs/features/tools/new-task.md
+++ /dev/null
@@ -1,103 +0,0 @@
-# new_task
-
-The `new_task` tool creates subtasks with specialized modes while maintaining a parent-child relationship. It breaks down complex projects into manageable pieces, each operating in the mode best suited for specific work.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `mode` (required): The slug of the mode to start the new task in (e.g., "code", "ask", "architect")
-- `message` (required): The initial user message or instructions for this new task
-
-## What It Does
-
-This tool creates a new task instance with a specified starting mode and initial message. It allows complex workflows to be divided into subtasks with their own conversation history. Parent tasks are paused during subtask execution and resumed when the subtask completes, with results transferred back to the parent.
-
-## When is it used?
-
-- When breaking down complex projects into separate, focused subtasks
-- When different aspects of a task require different specialized modes
-- When different phases of work benefit from context separation
-- When organizing multi-phase development workflows
-
-## Key Features
-
-- Creates subtasks with their own conversation history and specialized mode
-- Pauses parent tasks for later resumption
-- Maintains hierarchical task relationships for navigation
-- Transfers results back to parent tasks upon completion
-- Supports workflow segregation for complex projects
-- Allows different parts of a project to use modes optimized for specific work
-- Requires explicit user approval for task creation
-- Provides clear task transition in the UI
-
-## Limitations
-
-- Cannot create tasks with modes that don't exist
-- Requires user approval before creating each new task
-- Task interface may become complex with deeply nested subtasks
-- Subtasks inherit certain workspace and extension configurations from parents
-- May require re-establishing context when switching between deeply nested tasks
-- Task completion needs explicit signaling to properly return to parent tasks
-
-## How It Works
-
-When the `new_task` tool is invoked, it follows this process:
-
-1. **Parameter Validation**:
- - Validates the required `mode` and `message` parameters
- - Verifies that the requested mode exists in the system
-
-2. **Task Stack Management**:
- - Maintains a task stack that tracks all active and paused tasks
- - Preserves the current mode for later resumption
- - Sets the parent task to paused state
-
-3. **Task Context Management**:
- - Creates a new task context with the provided message
- - Assigns unique taskId and instanceId identifiers for state management
- - Captures telemetry data on tool usage and task lifecycles
-
-4. **Mode Switching and Integration**:
- - Switches to the specified mode with appropriate role and capabilities
- - Initializes the new task with the provided message
- - Integrates with VS Code's command palette and code actions
-
-5. **Task Completion and Result Transfer**:
- - When subtask completes, result is passed back to parent task via `finishSubTask()`
- - Parent task resumes in its original mode
- - Task history and token usage metrics are updated
- - The `taskCompleted` event is emitted with performance data
-
-## Examples When Used
-
-- When a front-end developer needs to architect a new feature, implement the code, and document it, they can create separate tasks for each phase with results flowing from one phase to the next.
-- When debugging an issue before implementing a fix, the debugging task can document findings that are passed to the implementation task.
-- When developing a full-stack application, database schema designs from an architect-mode task inform implementation details in a subsequent code-mode task.
-- When documenting a system after implementation, the documentation task can reference the completed implementation while using documentation-specific features.
-
-## Usage Examples
-
-Creating a new task in code mode:
-```
-
-code
-Implement a user authentication service with login, registration, and password reset functionality.
-
-```
-
-Creating a documentation task after completing implementation:
-```
-
-docs
-Create comprehensive API documentation for the authentication service we just built.
-
-```
-
-Breaking down a complex feature into architectural planning and implementation:
-```
-
-architect
-Design the database schema and system architecture for our new e-commerce platform.
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/read-file.md b/packages/kilo-docs/docs/features/tools/read-file.md
deleted file mode 100644
index 306c608fe2e..00000000000
--- a/packages/kilo-docs/docs/features/tools/read-file.md
+++ /dev/null
@@ -1,181 +0,0 @@
-
-# read_file
-
-The `read_file` tool examines the contents of files in a project. It allows Kilo Code to understand code, configuration files, and documentation to provide better assistance.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `path` (required): The path of the file to read relative to the current working directory
-- `start_line` (optional): The starting line number to read from (1-based indexing)
-- `end_line` (optional): The ending line number to read to (1-based, inclusive)
-- `auto_truncate` (optional): Whether to automatically truncate large files when line range isn't specified (true/false)
-
-## What It Does
-
-This tool reads the content of a specified file and returns it with line numbers for easy reference. It can read entire files or specific sections, and even extract text from PDFs and Word documents.
-
-## When is it used?
-
-- When Kilo Code needs to understand existing code structure
-- When Kilo Code needs to analyze configuration files
-- When Kilo Code needs to extract information from text files
-- When Kilo Code needs to see code before suggesting changes
-- When specific line numbers need to be referenced in discussions
-
-## Key Features
-
-- Displays file content with line numbers for easy reference
-- Can read specific portions of files by specifying line ranges
-- Extracts readable text from PDF and DOCX files
-- Intelligently truncates large files to focus on the most relevant sections
-- Provides method summaries with line ranges for large code files
-- Efficiently streams only requested line ranges for better performance
-- Makes it easy to discuss specific parts of code with line numbering
-
-## Limitations
-
-- May not handle extremely large files efficiently without using line range parameters
-- For binary files (except PDF and DOCX), may return content that isn't human-readable
-
-## How It Works
-
-When the `read_file` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates the required `path` parameter and optional parameters
-2. **Path Resolution**: Resolves the relative path to an absolute path
-3. **Reading Strategy Selection**:
- - The tool uses a strict priority hierarchy (explained in detail below)
- - It chooses between range reading, auto-truncation, or full file reading
-4. **Content Processing**:
- - Adds line numbers to the content (e.g., "1 | const x = 13") where `1 |` is the line number.
- - For truncated files, adds truncation notice and method definitions
- - For special formats (PDF, DOCX, IPYNB), extracts readable text
-
-## Reading Strategy Priority
-
-The tool uses a clear decision hierarchy to determine how to read a file:
-
-1. **First Priority: Explicit Line Range**
- - If either `start_line` or `end_line` is provided, the tool always performs a range read
- - The implementation efficiently streams only the requested lines, making it suitable for processing large files
- - This takes precedence over all other options
-
-2. **Second Priority: Auto-Truncation for Large Files**
- - This only applies when ALL of these conditions are met:
- - Neither `start_line` nor `end_line` is specified
- - The `auto_truncate` parameter is set to `true`
- - The file is not a binary file
- - The file exceeds the configured line threshold (typically 500-1000 lines)
- - When auto-truncation activates, the tool:
- - Reads only the first portion of the file (determined by the maxReadFileLine setting)
- - Adds a truncation notice showing the number of lines displayed vs. total
- - Provides a summary of method definitions with their line ranges
-
-3. **Default Behavior: Read Entire File**
- - If neither of the above conditions are met, it reads the entire file content
- - For special formats like PDF, DOCX, and IPYNB, it uses specialized extractors
-
-## Examples When Used
-
-- When asked to explain or improve code, Kilo Code first reads the relevant files to understand the current implementation.
-- When troubleshooting configuration issues, Kilo Code reads config files to identify potential problems.
-- When working with documentation, Kilo Code reads existing docs to understand the current content before suggesting improvements.
-
-## Usage Examples
-
-Here are several scenarios demonstrating how the `read_file` tool is used and the typical output you might receive.
-
-### Reading an Entire File
-
-To read the complete content of a file:
-
-**Input:**
-```xml
-
-src/app.js
-
-```
-
-**Simulated Output (for a small file like `example_small.txt`):**
-```
-1 | This is the first line.
-2 | This is the second line.
-3 | This is the third line.
-```
-*(Output will vary based on the actual file content)*
-
-### Reading Specific Lines
-
-To read only a specific range of lines (e.g., 46-68):
-
-**Input:**
-```xml
-
-src/app.js
-46
-68
-
-```
-
-**Simulated Output (for lines 2-3 of `example_five_lines.txt`):**
-```
-2 | Content of line two.
-3 | Content of line three.
-```
-*(Output shows only the requested lines with their original line numbers)*
-
-### Reading a Large File (Auto-Truncation)
-
-When reading a large file without specifying lines and `auto_truncate` is enabled (or defaults to true based on settings):
-
-**Input:**
-```xml
-
-src/large-module.js
-true
-
-```
-
-**Simulated Output (for `large_file.log` with 1500 lines, limit 1000):**
-```
-1 | Log entry 1...
-2 | Log entry 2...
-...
-1000 | Log entry 1000...
-[... truncated 500 lines ...]
-```
-*(Output is limited to the configured maximum lines, with a truncation notice)*
-
-### Attempting to Read a Non-Existent File
-
-If the specified file does not exist:
-
-**Input:**
-```xml
-
-non_existent_file.txt
-
-```
-
-**Simulated Output (Error):**
-```
-Error: File not found at path 'non_existent_file.txt'.
-```
-
-### Attempting to Read a Blocked File
-
-If the file is excluded by rules in a `.kilocodeignore` file:
-
-**Input:**
-```xml
-
-.env
-
-```
-
-**Simulated Output (Error):**
-```
-Error: Access denied to file '.env' due to .kilocodeignore rules.
-```
diff --git a/packages/kilo-docs/docs/features/tools/search-files.md b/packages/kilo-docs/docs/features/tools/search-files.md
deleted file mode 100644
index 0a7f0160f5e..00000000000
--- a/packages/kilo-docs/docs/features/tools/search-files.md
+++ /dev/null
@@ -1,128 +0,0 @@
-
-# search_files
-
-The `search_files` tool performs regex searches across multiple files in your project. It helps Kilo Code locate specific code patterns, text, or other content throughout your codebase with contextual results.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `path` (required): The path of the directory to search in, relative to the current working directory
-- `regex` (required): The regular expression pattern to search for (uses Rust regex syntax)
-- `file_pattern` (optional): Glob pattern to filter files (e.g., '*.ts' for TypeScript files)
-
-## What It Does
-
-This tool searches across files in a specified directory using regular expressions, showing each match with surrounding context. It's like having a powerful "Find in Files" feature that works across the entire project structure.
-
-## When is it used?
-
-- When Kilo Code needs to find where specific functions or variables are used
-- When Kilo Code helps with refactoring and needs to understand usage patterns
-- When Kilo Code needs to locate all instances of a particular code pattern
-- When Kilo Code searches for text across multiple files with filtering capabilities
-
-## Key Features
-
-- Searches across multiple files in a single operation using high-performance Ripgrep
-- Shows context around each match (1 line before and after)
-- Filters files by type using glob patterns (e.g., only TypeScript files)
-- Provides line numbers for easy reference
-- Uses powerful regex patterns for precise searches
-- Automatically limits output to 300 results with notification
-- Truncates lines longer than 500 characters with "[truncated...]" marker
-- Intelligently combines nearby matches into single blocks for readability
-
-## Limitations
-
-- Works best with text-based files (not effective for binary files like images)
-- Performance may slow with extremely large codebases
-- Uses Rust regex syntax, which may differ slightly from other regex implementations
-- Cannot search within compressed files or archives
-- Default context size is fixed (1 line before and after)
-- May display varying context sizes when matches are close together due to result grouping
-
-## How It Works
-
-When the `search_files` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates the required `path` and `regex` parameters
-2. **Path Resolution**: Resolves the relative path to an absolute path
-3. **Search Execution**:
- - Uses Ripgrep (rg) for high-performance text searching
- - Applies file pattern filtering if specified
- - Collects matches with surrounding context
-4. **Result Formatting**:
- - Formats results with file paths, line numbers, and context
- - Displays 1 line of context before and after each match
- - Structures output for easy readability
- - Limits results to a maximum of 300 matches with notification
- - Truncates lines longer than 500 characters
- - Merges nearby matches into contiguous blocks
-
-## Search Results Format
-
-The search results include:
-
-- Relative file paths for each matching file (prefixed with #)
-- Context lines before and after each match (1 line by default)
-- Line numbers padded to 3 spaces followed by ` | ` and the line content
-- A separator line (----) after each match group
-
-Example output format:
-```
-# rel/path/to/app.ts
- 11 | // Some processing logic here
- 12 | // TODO: Implement error handling
- 13 | return processedData;
-----
-
-# Showing first 300 of 300+ results. Use a more specific search if necessary.
-```
-
-When matches occur close to each other, they're merged into a single block rather than shown as separate results:
-
-```
-# rel/path/to/auth.ts
- 13 | // Some code here
- 14 | // TODO: Add proper validation
- 15 | function validateUser(credentials) {
- 16 | // TODO: Implement rate limiting
- 17 | return checkDatabase(credentials);
-----
-```
-
-## Examples When Used
-
-- When asked to refactor a function, Kilo Code first searches for all places the function is used to ensure comprehensive changes.
-- When investigating bugs, Kilo Code searches for similar patterns to identify related issues across the codebase.
-- When addressing technical debt, Kilo Code locates all TODO comments across the project.
-- When analyzing dependencies, Kilo Code finds all imports of a particular module.
-
-## Usage Examples
-
-Searching for TODO comments in all JavaScript files:
-```
-
-src
-TODO|FIXME
-*.js
-
-```
-
-Finding all usages of a specific function:
-```
-
-.
-function\s+calculateTotal
-*.{js,ts}
-
-```
-
-Searching for a specific import pattern across the entire project:
-```
-
-.
-import\s+.*\s+from\s+['"]@components/
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/switch-mode.md b/packages/kilo-docs/docs/features/tools/switch-mode.md
deleted file mode 100644
index fc528a86243..00000000000
--- a/packages/kilo-docs/docs/features/tools/switch-mode.md
+++ /dev/null
@@ -1,151 +0,0 @@
-# switch_mode
-
-The `switch_mode` tool enables Kilo Code to change between different operational modes, each with specialized capabilities for specific types of tasks. This allows seamless transitions between modes like Code, Architect, Ask, or Debug when the current task requires different expertise.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `mode_slug` (required): The slug of the mode to switch to (e.g., "code", "ask", "architect")
-- `reason` (optional): The reason for switching modes, providing context for the user
-
-## What It Does
-
-This tool requests a mode change when the current task would be better handled by another mode's capabilities. It maintains context while shifting Kilo Code's focus and available toolsets to match the requirements of the new task phase.
-
-## When is it used?
-
-- When transitioning from information gathering to code implementation
-- When shifting from coding to architecture or design
-- When the current task requires capabilities only available in a different mode
-- When specialized expertise is needed for a particular phase of a complex project
-
-## Key Features
-
-- Maintains context continuity across mode transitions
-- Provides clear reasoning for mode switch recommendations
-- Requires user approval for all mode changes
-- Enforces tool group restrictions specific to each mode
-- Seamlessly adapts tool availability based on the selected mode
-- Works with both standard and custom modes
-- Displays the mode switch and reasoning in the UI
-- Uses XML-style formatting for parameter specification
-- Handles file type restrictions specific to certain modes
-
-## Limitations
-
-- Cannot switch to modes that don't exist in the system
-- Requires explicit user approval for each mode transition
-- Cannot use tools specific to a mode until the switch is complete
-- Applies a 500ms delay after mode switching to allow the change to take effect
-- Some modes have file type restrictions (e.g., Architect mode can only edit markdown files)
-- Mode preservation for resumption applies only to the `new_task` functionality, not general mode switching
-
-## How It Works
-
-When the `switch_mode` tool is invoked, it follows this process:
-
-1. **Request Validation**:
- - Validates that the requested mode exists in the system
- - Checks that the `mode_slug` parameter is provided and valid
- - Verifies the user isn't already in the requested mode
- - Ensures the `reason` parameter (if provided) is properly formatted
-
-2. **Mode Transition Preparation**:
- - Packages the mode change request with the provided reason
- - Presents the change request to the user for approval
-
-3. **Mode Activation (Upon User Approval)**:
- - Updates the UI to reflect the new mode
- - Adjusts available tools based on the mode's tool group configuration
- - Applies the mode-specific prompt and behavior
- - Applies a 500ms delay to allow the change to take effect before executing next tool
- - Enforces any file restrictions specific to the mode
-
-4. **Continuation**:
- - Proceeds with the task using the capabilities of the new mode
- - Retains relevant context from the previous interaction
-
-## Tool Group Association
-
-The `switch_mode` tool belongs to the "modes" tool group but is also included in the "always available" tools list. This means:
-
-- It can be used in any mode regardless of the mode's configured tool groups
-- It's available alongside other core tools like `ask_followup_question` and `attempt_completion`
-- It allows mode transitions at any point in a workflow when task requirements change
-
-## Mode Structure
-
-Each mode in the system has a specific structure:
-
-- `slug`: Unique identifier for the mode (e.g., "code", "ask")
-- `name`: Display name for the mode (e.g., "Code", "Ask")
-- `roleDefinition`: The specialized role and capabilities of the mode
-- `customInstructions`: Optional mode-specific instructions that guide behavior
-- `groups`: Tool groups available to the mode with optional restrictions
-
-## Mode Capabilities
-
-The core modes provide these specialized capabilities:
-
-- **Code Mode**: Focused on coding tasks with full access to code editing tools
-- **Architect Mode**: Specialized for system design and architecture planning, limited to editing markdown files only
-- **Ask Mode**: Optimized for answering questions and providing information
-- **Debug Mode**: Equipped for systematic problem diagnosis and resolution
-
-## Custom Modes
-
-Beyond the core modes, the system supports custom project-specific modes:
-
-- Custom modes can be defined with specific tool groups enabled
-- They can specify custom role definitions and instructions
-- The system checks custom modes first before falling back to core modes
-- Custom mode definitions take precedence over core modes with the same slug
-
-## File Restrictions
-
-Different modes may have specific file type restrictions:
-
-- **Architect Mode**: Can only edit files matching the `.md` extension
-- Attempting to edit restricted file types results in a `FileRestrictionError`
-- These restrictions help enforce proper separation of concerns between modes
-
-## Examples When Used
-
-- When discussing a new feature, Kilo Code switches from Ask mode to Architect mode to help design the system structure.
-- After completing architecture planning in Architect mode, Kilo Code switches to Code mode to implement the designed features.
-- When encountering bugs during development, Kilo Code switches from Code mode to Debug mode for systematic troubleshooting.
-
-## Usage Examples
-
-Switching to Code mode for implementation:
-```
-
-code
-Need to implement the login functionality based on the architecture we've discussed
-
-```
-
-Switching to Architect mode for design:
-```
-
-architect
-Need to design the system architecture before implementation
-
-```
-
-Switching to Debug mode for troubleshooting:
-```
-
-debug
-Need to systematically diagnose the authentication error
-
-```
-
-Switching to Ask mode for information:
-```
-
-ask
-Need to answer questions about the implemented feature
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/tool-use-overview.md b/packages/kilo-docs/docs/features/tools/tool-use-overview.md
deleted file mode 100644
index 9783605a812..00000000000
--- a/packages/kilo-docs/docs/features/tools/tool-use-overview.md
+++ /dev/null
@@ -1,246 +0,0 @@
-# Tool Use Overview
-
-Kilo Code implements a sophisticated tool system that allows AI models to interact with your development environment in a controlled and secure manner. This document explains how tools work, when they're called, and how they're managed.
-
-## Core Concepts
-
-### Tool Groups
-
-Tools are organized into logical groups based on their functionality:
-
-| Category | Purpose | Tools | Common Use |
-|----------|---------|-------|------------|
-| **Read Group** | File system reading and searching | [read_file](/features/tools/read-file), [search_files](/features/tools/search-files), [list_files](/features/tools/list-files), [list_code_definition_names](/features/tools/list-code-definition-names) | Code exploration and analysis |
-| **Edit Group** | File system modifications | [apply_diff](/features/tools/apply-diff), [write_to_file](/features/tools/write-to-file) | Code changes and file manipulation |
-| **Browser Group** | Web automation | [browser_action](/features/tools/browser-action) | Web testing and interaction |
-| **Command Group** | System command execution | [execute_command](/features/tools/execute-command) | Running scripts, building projects |
-| **MCP Group** | External tool integration | [use_mcp_tool](/features/tools/use-mcp-tool), [access_mcp_resource](/features/tools/access-mcp-resource) | Specialized functionality through external servers |
-| **Workflow Group** | Mode and task management | [switch_mode](/features/tools/switch-mode), [new_task](/features/tools/new-task), [ask_followup_question](/features/tools/ask-followup-question), [attempt_completion](/features/tools/attempt-completion), [update_todo_list](/features/tools/update-todo-list) | Context switching and task organization |
-
-### Always Available Tools
-
-Certain tools are accessible regardless of the current mode:
-
-- [ask_followup_question](/features/tools/ask-followup-question): Gather additional information from users
-- [attempt_completion](/features/tools/attempt-completion): Signal task completion
-- [switch_mode](/features/tools/switch-mode): Change operational modes
-- [new_task](/features/tools/new-task): Create subtasks
-- [update_todo_list](/features/tools/update-todo-list): Manage step-by-step task tracking
-
-## Available Tools
-
-### Read Tools
-These tools help Kilo Code understand your code and project:
-
-- [read_file](/features/tools/read-file) - Examines the contents of files
-- [search_files](/features/tools/search-files) - Finds patterns across multiple files
-- [list_files](/features/tools/list-files) - Maps your project's file structure
-- [list_code_definition_names](/features/tools/list-code-definition-names) - Creates a structural map of your code
-
-### Edit Tools
-These tools help Kilo Code make changes to your code:
-
-- [apply_diff](/features/tools/apply-diff) - Makes precise, surgical changes to your code
-- [write_to_file](/features/tools/write-to-file) - Creates new files or completely rewrites existing ones
-
-### Browser Tools
-These tools help Kilo Code interact with web applications:
-
-- [browser_action](/features/tools/browser-action) - Automates browser interactions
-
-### Command Tools
-These tools help Kilo Code execute commands:
-
-- [execute_command](/features/tools/execute-command) - Runs system commands and programs
-
-### MCP Tools
-These tools help Kilo Code connect with external services:
-
-- [use_mcp_tool](/features/tools/use-mcp-tool) - Uses specialized external tools
-- [access_mcp_resource](/features/tools/access-mcp-resource) - Accesses external data sources
-
-### Workflow Tools
-These tools help manage the conversation and task flow:
-
-- [ask_followup_question](/features/tools/ask-followup-question) - Gets additional information from you
-- [attempt_completion](/features/tools/attempt-completion) - Presents final results
-- [switch_mode](/features/tools/switch-mode) - Changes to a different mode for specialized tasks
-- [new_task](/features/tools/new-task) - Creates a new subtask
-- [update_todo_list](/features/tools/update-todo-list) - Tracks task progress with step-by-step checklists
-
-## Tool Calling Mechanism
-
-### When Tools Are Called
-
-Tools are invoked under specific conditions:
-
-1. **Direct Task Requirements**
- - When specific actions are needed to complete a task as decided by the LLM
- - In response to user requests
- - During automated workflows
-
-2. **Mode-Based Availability**
- - Different modes enable different tool sets
- - Mode switches can trigger tool availability changes
- - Some tools are restricted to specific modes
-
-3. **Context-Dependent Calls**
- - Based on the current state of the workspace
- - In response to system events
- - During error handling and recovery
-
-### Decision Process
-
-The system uses a multi-step process to determine tool availability:
-
-1. **Mode Validation**
- ```typescript
- isToolAllowedForMode(
- tool: string,
- modeSlug: string,
- customModes: ModeConfig[],
- toolRequirements?: Record,
- toolParams?: Record
- )
- ```
-
-2. **Requirement Checking**
- - System capability verification
- - Resource availability
- - Permission validation
-
-3. **Parameter Validation**
- - Required parameter presence
- - Parameter type checking
- - Value validation
-
-## Technical Implementation
-
-### Tool Call Processing
-
-1. **Initialization**
- - Tool name and parameters are validated
- - Mode compatibility is checked
- - Requirements are verified
-
-2. **Execution**
- ```typescript
- const toolCall = {
- type: "tool_call",
- name: chunk.name,
- arguments: chunk.input,
- callId: chunk.callId
- }
- ```
-
-3. **Result Handling**
- - Success/failure determination
- - Result formatting
- - Error handling
-
-### Security and Permissions
-
-1. **Access Control**
- - File system restrictions
- - Command execution limitations
- - Network access controls
-
-2. **Validation Layers**
- - Tool-specific validation
- - Mode-based restrictions
- - System-level checks
-
-## Mode Integration
-
-### Mode-Based Tool Access
-
-Tools are made available based on the current mode:
-
-- **Code Mode**: Full access to file system tools, code editing capabilities, command execution
-- **Ask Mode**: Limited to reading tools, information gathering capabilities, no file system modifications
-- **Architect Mode**: Design-focused tools, documentation capabilities, limited execution rights
-- **Custom Modes**: Can be configured with specific tool access for specialized workflows
-
-### Mode Switching
-
-1. **Process**
- - Current mode state preservation
- - Tool availability updates
- - Context switching
-
-2. **Impact on Tools**
- - Tool set changes
- - Permission adjustments
- - Context preservation
-
-## Best Practices
-
-### Tool Usage Guidelines
-
-1. **Efficiency**
- - Use the most specific tool for the task
- - Avoid redundant tool calls
- - Batch operations when possible
-
-2. **Security**
- - Validate inputs before tool calls
- - Use minimum required permissions
- - Follow security best practices
-
-3. **Error Handling**
- - Implement proper error checking
- - Provide meaningful error messages
- - Handle failures gracefully
-
-### Common Patterns
-
-1. **Information Gathering**
- ```
- [ask_followup_question](/features/tools/ask-followup-question) → [read_file](/features/tools/read-file) → [search_files](/features/tools/search-files)
- ```
-
-2. **Code Modification**
- ```
- [read_file](/features/tools/read-file) → [apply_diff](/features/tools/apply-diff) → [attempt_completion](/features/tools/attempt-completion)
- ```
-
-3. **Task Management**
- ```
- [new_task](/features/tools/new-task) → [switch_mode](/features/tools/switch-mode) → [execute_command](/features/tools/execute-command)
- ```
-
-4. **Progress Tracking**
- ```
- [update_todo_list](/features/tools/update-todo-list) → [execute_command](/features/tools/execute-command) → [update_todo_list](/features/tools/update-todo-list)
- ```
-
-## Error Handling and Recovery
-
-### Error Types
-
-1. **Tool-Specific Errors**
- - Parameter validation failures
- - Execution errors
- - Resource access issues
-
-2. **System Errors**
- - Permission denied
- - Resource unavailable
- - Network failures
-
-3. **Context Errors**
- - Invalid mode for tool
- - Missing requirements
- - State inconsistencies
-
-### Recovery Strategies
-
-1. **Automatic Recovery**
- - Retry mechanisms
- - Fallback options
- - State restoration
-
-2. **User Intervention**
- - Error notifications
- - Recovery suggestions
- - Manual intervention options
diff --git a/packages/kilo-docs/docs/features/tools/update-todo-list.md b/packages/kilo-docs/docs/features/tools/update-todo-list.md
deleted file mode 100644
index 9fd1e887950..00000000000
--- a/packages/kilo-docs/docs/features/tools/update-todo-list.md
+++ /dev/null
@@ -1,159 +0,0 @@
-# update_todo_list
-
-The `update_todo_list` tool replaces the entire TODO list with an updated checklist reflecting the current state. It provides step-by-step task tracking, allowing confirmation of completion before updating and dynamic addition of new todos discovered during complex tasks.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `todos` (required): A markdown checklist with task descriptions and status indicators
-
-## What It Does
-
-This tool manages a comprehensive TODO list that tracks task progress through different status states. It replaces the entire list with each update, ensuring the current state accurately reflects all pending, in-progress, and completed tasks. The system displays the TODO list as reminders in subsequent messages.
-
-## When is it used?
-
-- When tasks involve multiple steps requiring systematic tracking
-- When new actionable items are discovered during task execution
-- When updating the status of several todos simultaneously
-- When complex projects benefit from clear, stepwise progress tracking
-- When organizing multi-phase workflows with dependencies
-
-## Key Features
-
-- Maintains a single-level markdown checklist with three status states
-- Updates multiple task statuses in a single operation
-- Dynamically adds new todos as they're discovered during execution
-- Provides visual progress tracking through status indicators
-- Integrates with the reminder system for persistent task visibility
-- Supports task reordering based on execution priority
-- Preserves all unfinished tasks unless explicitly removed
-- Enables efficient batch status updates
-
-## Limitations
-
-- Limited to single-level checklists (no nesting or subtasks)
-- Cannot remove tasks unless they're completed or no longer relevant
-- Requires complete list replacement rather than incremental updates
-- Status changes must be explicitly managed through tool calls
-- No built-in task dependency tracking
-- Cannot schedule tasks for future execution
-- Limited to three status states (pending, in-progress, completed)
-
-## Status Indicators
-
-The tool uses three distinct status indicators:
-
-- `[ ]` **Pending**: Task not yet started
-- `[-]` **In Progress**: Task currently being worked on
-- `[x]` **Completed**: Task fully finished with no unresolved issues
-
-## How It Works
-
-When the `update_todo_list` tool is invoked, it follows this process:
-
-1. **Status Validation**:
- - Parses the markdown checklist format
- - Validates status indicators are properly formatted
- - Ensures task descriptions are clear and actionable
-
-2. **List Replacement**:
- - Completely replaces the existing TODO list
- - Preserves task order as specified in the update
- - Maintains task descriptions and status states
-
-3. **Reminder Integration**:
- - Integrates updated list with the reminder system
- - Displays current tasks in subsequent message headers
- - Provides persistent visibility of task progress
-
-4. **Progress Tracking**:
- - Tracks completion status across multiple updates
- - Maintains task history for reference
- - Supports workflow continuation across sessions
-
-## Best Practices
-
-### Task Management Guidelines
-
-- Mark tasks as completed immediately after all work is finished
-- Start the next task by marking it as in-progress
-- Add new todos as soon as they are identified during execution
-- Use clear, descriptive task names that indicate specific actions
-- Order tasks by logical execution sequence or priority
-
-### Status Update Patterns
-
-- Update multiple statuses simultaneously when transitioning between tasks
-- Confirm task completion before marking as finished
-- Keep in-progress tasks focused on current work
-- Add blocking tasks when dependencies are discovered
-
-### When to Use
-
-Use this tool when:
-- The task involves multiple steps or requires ongoing tracking
-- New actionable items are discovered during task execution
-- Multiple todos need status updates simultaneously
-- Complex tasks benefit from clear progress visualization
-
-Avoid using when:
-- There is only a single, trivial task
-- The task can be completed in one or two simple steps
-- The request is purely conversational or informational
-
-## Examples When Used
-
-- When implementing a multi-component feature requiring frontend, backend, and database changes
-- When debugging issues that reveal multiple related problems requiring fixes
-- When setting up development environments with multiple configuration steps
-- When documenting systems that require research, writing, and review phases
-- When refactoring code that affects multiple files and requires testing
-
-## Usage Examples
-
-Initial task breakdown:
-```
-
-
-[-] Analyze requirements and create technical specification
-[ ] Design database schema and API endpoints
-[ ] Implement backend authentication service
-[ ] Create frontend login components
-[ ] Write comprehensive tests
-[ ] Update documentation
-
-
-```
-
-Updating progress and adding discovered tasks:
-```
-
-
-[x] Analyze requirements and create technical specification
-[x] Design database schema and API endpoints
-[-] Implement backend authentication service
-[ ] Create frontend login components
-[ ] Write comprehensive tests
-[ ] Update documentation
-[ ] Add password reset functionality
-[ ] Implement rate limiting for login attempts
-
-
-```
-
-Completing multiple tasks and transitioning focus:
-```
-
-
-[x] Analyze requirements and create technical specification
-[x] Design database schema and API endpoints
-[x] Implement backend authentication service
-[x] Create frontend login components
-[-] Write comprehensive tests
-[ ] Update documentation
-[ ] Add password reset functionality
-[ ] Implement rate limiting for login attempts
-
-
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/features/tools/use-mcp-tool.md b/packages/kilo-docs/docs/features/tools/use-mcp-tool.md
deleted file mode 100644
index 050111d4687..00000000000
--- a/packages/kilo-docs/docs/features/tools/use-mcp-tool.md
+++ /dev/null
@@ -1,188 +0,0 @@
-# use_mcp_tool
-
-The `use_mcp_tool` tool enables interaction with external tools provided by connected Model Context Protocol (MCP) servers. It extends Kilo Code's capabilities with domain-specific functionality through a standardized protocol.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `server_name` (required): The name of the MCP server providing the tool
-- `tool_name` (required): The name of the tool to execute
-- `arguments` (required/optional): A JSON object containing the tool's input parameters, following the tool's input schema. May be optional for tools that require no input.
-
-## What It Does
-
-This tool allows Kilo Code to access specialized functionality provided by external MCP servers. Each MCP server can offer multiple tools with unique capabilities, extending Kilo Code beyond its built-in functionality. The system validates arguments against schemas, manages server connections, and processes responses of various content types (text, image, resource).
-
-## When is it used?
-
-- When specialized functionality not available in core tools is needed
-- When domain-specific operations are required
-- When integration with external systems or services is needed
-- When working with data that requires specific processing or analysis
-- When accessing proprietary tools through a standardized interface
-
-## Key Features
-
-- Uses the standardized MCP protocol via the `@modelcontextprotocol/sdk` library
-- Supports multiple transport mechanisms (StdioClientTransport and SSEClientTransport)
-- Validates arguments using Zod schema validation on both client and server sides
-- Processes multiple response content types: text, image, and resource references
-- Manages server lifecycle with automatic restarts when server code changes
-- Provides an "always allow" mechanism to bypass approval for trusted tools
-- Works with the companion `access_mcp_resource` tool for resource retrieval
-- Maintains proper error tracking and handling for failed operations
-- Supports configurable timeouts (1-3600 seconds, default: 60 seconds)
-- Allows file watchers to automatically detect and reload server changes
-
-## Limitations
-
-- Depends on external MCP servers being available and connected
-- Limited to the tools provided by connected servers
-- Tool capabilities vary between different MCP servers
-- Network issues can affect reliability and performance
-- Requires user approval before execution (unless in the "always allow" list)
-- Cannot execute multiple MCP tool operations simultaneously
-
-## Server Configuration
-
-MCP servers can be configured globally or at the project level:
-
-- **Global Configuration**: Managed through the Kilo Code extension settings in VS Code. These apply across all projects unless overridden.
-- **Project-level Configuration**: Defined in a `.kilocode/mcp.json` file within your project's root directory.
- - This allows project-specific server setups.
- - Project-level servers take precedence over global servers if they share the same name.
- - Since `.kilocode/mcp.json` can be committed to version control, it simplifies sharing configurations with your team.
-
-## How It Works
-
-When the `use_mcp_tool` tool is invoked, it follows this process:
-
-1. **Initialization and Validation**:
- - The system verifies that the MCP hub is available
- - Confirms the specified server exists and is connected
- - Validates the requested tool exists on the server
- - Arguments are validated against the tool's schema definition
- - Timeout settings are extracted from server configuration (default: 60 seconds)
-
-2. **Execution and Communication**:
- - The system selects the appropriate transport mechanism:
- - `StdioClientTransport`: For communicating with local processes via standard I/O
- - `SSEClientTransport`: For communicating with HTTP servers via Server-Sent Events
- - A request is sent with validated server name, tool name, and arguments
- - Communication uses the `@modelcontextprotocol/sdk` library for standardized interactions
- - Request execution is tracked with timeout handling to prevent hanging operations
-
-3. **Response Processing**:
- - Responses can include multiple content types:
- - Text content: Plain text responses
- - Image content: Binary image data with MIME type information
- - Resource references: URIs to access server resources (works with `access_mcp_resource`)
- - The system checks the `isError` flag to determine if error handling is needed
- - Results are formatted for display in the Kilo Code interface
-
-4. **Resource and Error Handling**:
- - The system uses WeakRef patterns to prevent memory leaks
- - A consecutive mistake counter tracks and manages errors
- - File watchers monitor for server code changes and trigger automatic restarts
- - The security model requires approval for tool execution unless in the "always allow" list
-
-## Security and Permissions
-
-The MCP architecture provides several security features:
-
-- Users must approve tool usage before execution (by default)
-- Specific tools can be marked for automatic approval in the "always allow" list
-- Server configurations are validated with Zod schemas for integrity
-- Configurable timeouts prevent hanging operations (1-3600 seconds)
-- Server connections can be enabled or disabled through the UI
-
-## Examples When Used
-
-- Analyzing specialized data formats using server-side processing tools
-- Generating images or other media through AI models hosted on external servers
-- Executing complex domain-specific calculations without local implementation
-- Accessing proprietary APIs or services through a controlled interface
-- Retrieving data from specialized databases or data sources
-
-## Usage Examples
-
-Requesting weather forecast data with text response:
-```
-
-weather-server
-get_forecast
-
-{
- "city": "San Francisco",
- "days": 5,
- "format": "text"
-}
-
-
-```
-
-Analyzing source code with a specialized tool that returns JSON:
-```
-
-code-analysis
-complexity_metrics
-
-{
- "language": "typescript",
- "file_path": "src/app.ts",
- "include_functions": true,
- "metrics": ["cyclomatic", "cognitive"]
-}
-
-
-```
-
-Generating an image with specific parameters:
-```
-
-image-generation
-create_image
-
-{
- "prompt": "A futuristic city with flying cars",
- "style": "photorealistic",
- "dimensions": {
- "width": 1024,
- "height": 768
- },
- "format": "webp"
-}
-
-
-```
-
-Accessing a resource through a tool that returns a resource reference:
-```
-
-database-connector
-query_and_store
-
-{
- "database": "users",
- "type": "select",
- "fields": ["name", "email", "last_login"],
- "where": {
- "status": "active"
- },
- "store_as": "active_users"
-}
-
-
-```
-
-Tool with no required arguments:
-```
-
-system-monitor
-get_current_status
-
-{}
-
-
-```
diff --git a/packages/kilo-docs/docs/features/tools/write-to-file.md b/packages/kilo-docs/docs/features/tools/write-to-file.md
deleted file mode 100644
index a2d0f353e0b..00000000000
--- a/packages/kilo-docs/docs/features/tools/write-to-file.md
+++ /dev/null
@@ -1,169 +0,0 @@
-# write_to_file
-
-The `write_to_file` tool creates new files or completely replaces existing file content with an interactive approval process. It provides a diff view for reviewing changes before they're applied.
-
-## Parameters
-
-The tool accepts these parameters:
-
-- `path` (required): The path of the file to write to, relative to the current working directory
-- `content` (required): The complete content to write to the file
-- `line_count` (required): The number of lines in the file, including empty lines
-
-## What It Does
-
-This tool writes content to a specified file, either creating a new file if it doesn't exist or completely overwriting an existing file. All changes require explicit user approval through a diff view interface, where users can review and even edit the proposed changes before they're applied.
-
-## When is it used?
-
-- When Kilo Code needs to create a new file from scratch
-- When Kilo Code needs to completely rewrite an existing file
-- When creating multiple files for a new project
-- When generating configuration files, documentation, or source code
-- When you need to review changes before they're applied
-
-## Key Features
-
-- Interactive Approval: Shows changes in a diff view requiring explicit approval before applying
-- User Edit Support: Allows editing the proposed content before final approval
-- Safety Measures: Detects code omission, validates paths, and prevents truncated content
-- Editor Integration: Opens a diff view that scrolls to the first difference automatically
-- Content Preprocessing: Handles artifacts from different AI models to ensure clean content
-- Access Control: Validates against `.kilocodeignore` restrictions before making changes
-- Parent Directories: May handle directory creation through system dependencies
-- Complete Replacement: Provides a fully transformed file in a single operation
-
-## Limitations
-
-- Not suitable for existing files: Much slower and less efficient than `apply_diff` for modifying existing files
-- Performance with large files: Operation becomes significantly slower with larger files
-- Complete overwrite: Replaces entire file content, cannot preserve original content
-- Line count required: Needs accurate line count to detect potential content truncation
-- Review overhead: The approval process adds extra steps compared to direct edits
-- Interactive only: Cannot be used in automated workflows that require non-interactive execution
-
-## How It Works
-
-When the `write_to_file` tool is invoked, it follows this process:
-
-1. **Parameter Validation**: Validates the required parameters and permissions
- - Checks that `path`, `content`, and `line_count` are provided
- - Validates the file is allowed (not restricted by `.kilocodeignore`)
- - Ensures the path is within the workspace boundaries
- - Tracks consecutive mistake counts for missing parameters
- - Shows specific error messages for each validation failure
-
-2. **Content Preprocessing**:
- - Removes code block markers that might be added by AI models
- - Handles escaped HTML entities (specifically for non-Claude models)
- - Strips line numbers if accidentally included in content
- - Performs model-specific processing for different AI providers
-
-3. **Diff View Generation**:
- - Opens a diff view in the editor showing the proposed changes
- - Adds a 300ms delay to ensure UI responsiveness
- - Scrolls automatically to the first difference
- - Highlights changes for easy review
-
-4. **User Approval Process**:
- - Waits for explicit user approval to proceed
- - Allows users to edit the content in the diff view
- - Captures any user edits for the final content
- - Provides option to reject changes entirely
- - Detects and incorporates user modifications into the final result
-
-5. **Safety Validation**:
- - Detects potential content truncation by comparing with provided line count
- - Shows warnings if content appears incomplete
- - Validates file path and access permissions
- - Specifically checks if files are outside the workspace with `isOutsideWorkspace` flag
-
-6. **File Writing**:
- - Writes the approved content (with any user edits) to the file
- - Provides confirmation of successful write
- - Resets the consecutive mistakes counter on success
-
-## Examples When Used
-
-- When creating a new project, Kilo Code generates multiple files but lets you review each before committing changes.
-- When setting up configuration files, Kilo Code shows the proposed configuration in a diff view for approval.
-- When generating documentation, Kilo Code creates markdown files but lets you make final adjustments in the diff view.
-- When developing a prototype, Kilo Code shows complete source files in a diff view where you can fine-tune before saving.
-
-## Usage Examples
-
-Creating a new JSON configuration file:
-```
-
-config/settings.json
-
-{
- "apiEndpoint": "https://api.example.com",
- "theme": {
- "primaryColor": "#007bff",
- "secondaryColor": "#6c757d",
- "fontFamily": "Arial, sans-serif"
- },
- "features": {
- "darkMode": true,
- "notifications": true,
- "analytics": false
- },
- "version": "1.0.0"
-}
-
-14
-
-```
-
-Creating a simple HTML file:
-```
-
-src/index.html
-
-
-
-
-
-
- My Application
-
-
-
-
-
-
-
-
-13
-
-```
-
-Creating a JavaScript module:
-```
-
-src/utils/helpers.js
-
-/**
- * Utility functions for the application
- */
-
-export function formatDate(date) {
- return new Date(date).toLocaleDateString();
-}
-
-export function calculateTotal(items) {
- return items.reduce((sum, item) => sum + item.price, 0);
-}
-
-export function debounce(func, delay) {
- let timeout;
- return function(...args) {
- clearTimeout(timeout);
- timeout = setTimeout(() => func.apply(this, args), delay);
- };
-}
-
-18
-
-```
diff --git a/packages/kilo-docs/docs/getting-started/concepts.md b/packages/kilo-docs/docs/getting-started/concepts.md
deleted file mode 100644
index efd810a1909..00000000000
--- a/packages/kilo-docs/docs/getting-started/concepts.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Core Concepts
-
-Learn the key concepts used in Kilo Code
-
-| Concept | Description | Video Preview |
-| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
-| **Provider** | Kilo Code provides its own built-in API provider that gives you access to the latest frontier coding models without the need to manage API keys that offers access to frontier models such as: OpenAI (GPT-5), Anthropic (Claude), Google (Gemini), Meta (Llama) etc. | |
-| **Foundational Models** | Large-scale AI models trained on vast datasets that serve as the base for AI applications. Models like GPT, Claude, LLaMA provide core language understanding and generation capabilities. | |
-| **Prompt Engineering** | Art and science of crafting effective inputs for AI models to achieve desired outputs. Use enhance button to improve your prompt | |
-| **Modes** | Within Kilo Code you can choose **Architect** mode to plan and design you software, **Code** mode to write and refactor code, **Ask** to understand your codebase, **Debug** to fix software issues and **Orchestrator** to coordinate tasks accross modes | |
-| **Codebase Indexing** | Codebase Indexing enables semantic code search across your entire project using AI embeddings. | |
-| **MCP (Model Context Protocol)** | Standardized protocol for managing context and communication between AI models and external systems. Enables seamless integration with tools, databases, and services. | |
diff --git a/packages/kilo-docs/docs/getting-started/connecting-api-provider.md b/packages/kilo-docs/docs/getting-started/connecting-api-provider.md
deleted file mode 100644
index dc7e4774555..00000000000
--- a/packages/kilo-docs/docs/getting-started/connecting-api-provider.md
+++ /dev/null
@@ -1,89 +0,0 @@
----
-sidebar_label: Connecting To A Provider
----
-
-# Connecting an AI Provider
-
-Kilo Code requires an API key from an AI model provider to function.
-
-We recommend these options for accessing the powerful **Claude 4 Sonnet** model:
-
-- **Kilo Gateway (Recommended):** Provides access to all of the models available through OpenRouter with competitive pricing and free credits to get started. [View pricing](https://kilocode.ai/pricing)
-- **OpenRouter:** Provides access to multiple AI models through a single API key. [View pricing](https://openrouter.ai/models?order=pricing-low-to-high).
-- **Anthropic:** Direct access to Claude models. Requires API access approval and may have [rate limits depending on your tier](https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier). See [Anthropic's pricing page](https://www.anthropic.com/pricing#anthropic-api) for details.
-
-## Using the Kilo Code Provider
-
-By default when you install Kilo Code the extension, you'll be prompted to sign in or create an account in the [Kilo Code Provider](/providers/kilocode).
-
-That will walk you through the account setup and _automatically_ configure Kilo Code properly to get you started. If you'd rather use another provider, you'll need to manually get your API key as described below.
-
-## Using another API Provider
-
-_Coming soon to Kilo Code Teams and Enterprise!_
-
-### Getting Your API Key
-
-#### Option 1: LLM Routers
-
-LLM routers let you access multiple AI models with one API key, simplifying cost management and switching between models. They often offer [competitive pricing](https://openrouter.ai/models?order=pricing-low-to-high) compared to direct providers.
-
-##### OpenRouter
-
-1. Go to [openrouter.ai](https://openrouter.ai/)
-2. Sign in with your Google or GitHub account
-3. Navigate to the [API keys page](https://openrouter.ai/keys) and create a new key
-4. Copy your API key - you'll need this for Kilo Code setup
-
-
-
-_OpenRouter dashboard with "Create key" button. Name your key and copy it after creation._
-
-##### Requesty
-
-1. Go to [requesty.ai](https://requesty.ai/)
-2. Sign in with your Google account or email
-3. Navigate to the [API management page](https://app.requesty.ai/manage-api) and create a new key
-4. **Important:** Copy your API key immediately as it won't be displayed again
-
-
-
-_Requesty API management page with "Create API Key" button. Copy your key immediately - it's shown only once._
-
-#### Option 2: Direct Providers
-
-For direct access to specific models from their original providers, with full access to their features and capabilities:
-
-##### Anthropic
-
-1. Go to [console.anthropic.com](https://console.anthropic.com/)
-2. Sign up for an account or log in
-3. Navigate to the [API keys section](https://console.anthropic.com/settings/keys) and create a new key
-4. **Important:** Copy your API key immediately as it won't be displayed again
-
-
-
-_Anthropic console API Keys section with "Create key" button. Name your key, set expiration, and copy it immediately._
-
-##### OpenAI
-
-1. Go to [platform.openai.com](https://platform.openai.com/)
-2. Sign up for an account or log in
-3. Navigate to the [API keys section](https://platform.openai.com/api-keys) and create a new key
-4. **Important:** Copy your API key immediately as it won't be displayed again
-
-
-
-_OpenAI platform with "Create new secret key" button. Name your key and copy it immediately after creation._
-
-### Configuring the Provider in Kilo Code
-
-Once you have your API key:
-
-1. Open the Kilo Code sidebar by clicking the Kilo Code icon () in the VS Code Side Bar
-2. In the welcome screen, select your API provider from the dropdown
-3. Paste your API key into the appropriate field
-4. Select your model:
- - For **OpenRouter**: select `anthropic/claude-3.7-sonnet` ([model details](https://openrouter.ai/anthropic/claude-3.7-sonnet))
- - For **Anthropic**: select `claude-3-7-sonnet-20250219` ([model details](https://www.anthropic.com/pricing#anthropic-api))
-5. Click "Let's go!" to save your settings and start using Kilo Code
diff --git a/packages/kilo-docs/docs/getting-started/installing.md b/packages/kilo-docs/docs/getting-started/installing.md
deleted file mode 100644
index 07415f158fb..00000000000
--- a/packages/kilo-docs/docs/getting-started/installing.md
+++ /dev/null
@@ -1,108 +0,0 @@
----
-sidebar_label: Installing Kilo Code
----
-
-# Installing Kilo Code
-
-Kilo Code is a VS Code extension that brings AI-powered coding assistance directly to your editor. Install using one of these methods:
-- [**VS Code Marketplace (Recommended)**](#vs-code-marketplace) - fastest method for standard VS Code users
-- [**Cursor Marketplace**](#cursor-marketplace) - recommended way for Cursor users
-- [**Open VSX Registry**](#open-vsx-registry) - for VS Code-compatible editors like VSCodium or Windsurf
-- [**Manually install the .vsix file**](#manual-installation-from-vsix) - direct installation from the GitHub Release
-
-## VS Code Marketplace
-
-:::tip
-
-If you already have VS Code installed: [Click here to install Kilo Code](vscode:extension/kilocode.Kilo-Code)
-
-:::
-
-alternatively, you can:
-
-1. Open VS Code
-2. Access Extensions: Click the Extensions icon in the Side Bar or press `Ctrl+Shift+X` (Windows/Linux) or `Cmd+Shift+X` (macOS)
-3. Search for "Kilo Code"
-4. Select "Kilo Code" by Kilo Code and click **Install**
-5. Reload VS Code if prompted
-
-After installation, find the Kilo Code icon () in the Side Bar to open the Kilo Code panel.
-
-
-*VS Code marketplace with Kilo Code extension ready to install*
-
-## Cursor Marketplace
-
-:::tip
-
-If you already have Cursor installed: [Click here to install Kilo Code](cursor:extension/kilocode.Kilo-Code)
-
-:::
-
-alternatively, you can:
-
-1. Open Cursor
-2. Access Extensions: Click the Extensions icon in the Side Bar or press `Ctrl+Shift+X` (Windows/Linux) or `Cmd+Shift+X` (macOS)
-3. Search for "Kilo Code"
-4. Select "Kilo Code" by Kilo Code and click **Install**
-5. Reload Cursor if prompted
-
-After installation, find the Kilo Code icon () in the Side Bar to open the Kilo Code panel.
-
-
-
-## Open VSX Registry
-
-[Open VSX Registry](https://open-vsx.org/) is an open-source alternative to the VS Code Marketplace for VS Code-compatible editors that cannot access the official marketplace due to licensing restrictions.
-
-For VS Code-compatible editors like VSCodium, Gitpod, Eclipse Theia, and Windsurf, you can browse and install directly from the [Kilo Code page on Open VSX Registry](https://open-vsx.org/extension/kilocode/Kilo-Code).
-
-1. Open your editor
-2. Access the Extensions view (Side Bar icon or `Ctrl+Shift+X` / `Cmd+Shift+X`)
-3. Your editor should be pre-configured to use Open VSX Registry
-4. Search for "Kilo Code"
-5. Select "Kilo Code" and click **Install**
-6. Reload the editor if prompted
-
-:::note
-If your editor isn't automatically configured for Open VSX Registry, you may need to set it as your extension marketplace in settings. Consult your specific editor's documentation for instructions.
-:::
-
-## Manual Installation from VSIX
-
-If you prefer to download and install the VSIX file directly:
-
-1. **Download the VSIX file:**
- * Find official releases on the [Kilo Code GitHub Releases page](https://github.com/Kilo-Org/kilocode/releases)
- * Download the `.vsix` file from the [latest release](https://github.com/Kilo-Org/kilocode/releases/latest)
-
-2. **Install in VS Code:**
- * Open VS Code
- * Access Extensions view
- * Click the "..." menu in the Extensions view
- * Select "Install from VSIX..."
- * Browse to and select your downloaded `.vsix` file
-
-
-*Installing Kilo Code using VS Code's "Install from VSIX" dialog*
-
-## Troubleshooting
-
-**Extension Not Visible**
-* Restart VS Code
-* Verify Kilo Code is listed and enabled in Extensions
-* Try disabling and re-enabling the extension in Extensions
-* Check Output panel for errors (View → Output, select "Kilo Code")
-
-**Installation Problems**
-* Ensure stable internet connection
-* Verify VS Code version 1.84.0 or later
-* If VS Code Marketplace is inaccessible, try the Open VSX Registry method
-
-## Getting Support
-
-If you encounter issues not covered here:
-
-* Join our [Discord community](https://kilocode.ai/discord) for real-time support
-* Submit issues on [GitHub](https://github.com/Kilo-Org/kilocode/issues)
-* Visit our [Reddit community](https://www.reddit.com/r/KiloCode)
diff --git a/packages/kilo-docs/docs/getting-started/setting-up.mdx b/packages/kilo-docs/docs/getting-started/setting-up.mdx
deleted file mode 100644
index 42de7ca5921..00000000000
--- a/packages/kilo-docs/docs/getting-started/setting-up.mdx
+++ /dev/null
@@ -1,40 +0,0 @@
----
-sidebar_label: Getting Set up
----
-
-import { DISCORD_URL } from "@site/src/constants.ts"
-import useDocusaurusContext from "@docusaurus/useDocusaurusContext"
-
-# Setting up Kilo Code
-
-When you sign up for Kilo Code, you can start immediately with free models, or [purchase Kilo credits](../basic-usage/adding-credits) and receive bonus credits.
-
-To claim your bonus credits:
-
-1. **Sign up:** Complete the registration process
-2. **First top-up:** [Add credits to your account](https://app.kilo.ai/profile) and get $20 bonus credits, or sign up for [Kilo Pass](https://kilo.ai/features/kilo-pass).
-3. **Start Coding:** Enjoy your $20 in free credits
-
-## Registration process
-
-Kilo Code provides a simple registration process that gives you access to the latest frontier coding models with your Kilo Code login.
-
-1. Click on "Try Kilo Code for Free" in the extension
-1. Sign in with your Google account to kilo.ai
-1. kilo.ai will prompt you to open Visual Studio Code
- - When using an IDE in a web browser, you will be asked to copy the API key manually instead
-1. Once you allow it to Open VS Code, you must also allow VS Code to open the authorization URL
-
-
-
-That's it - you're all set! Now you can start with [your first task](/getting-started/your-first-task)
-
-## Already have a subscription to another AI provider?
-
-If you subscribe to ChatGPT, use the [OpenAI ChatGPT provider](../providers/openai-chatgpt-plus-pro) to utilize your subscription with Kilo Code.
-
-You can also [bring your own key](../basic-usage/byok) to use your account or subscription for other providers, including: Anthropic, OpenAI, Mistral, Z.AI, and Minimax.
-
-:::tip Need Help?
-If you have any questions about pricing or tokens, please reach out to our [support team](mailto:hi@kilo.ai) or ask in our Discord community.
-:::
diff --git a/packages/kilo-docs/docs/getting-started/your-first-task.md b/packages/kilo-docs/docs/getting-started/your-first-task.md
deleted file mode 100644
index 2fdc496fd94..00000000000
--- a/packages/kilo-docs/docs/getting-started/your-first-task.md
+++ /dev/null
@@ -1,90 +0,0 @@
----
-sidebar_label: Your First Task
----
-
-# Starting Your First Task with Kilo Code
-
-
-
-This quick tour shows how Kilo Code handles a simple request from start to finish.
-
-After you [set up Kilo Code](/getting-started/setting-up), follow these steps:
-
-## Step 1: Open the Kilo Code Panel
-
-Click the Kilo Code icon () in the VS Code Primary Side Bar (vertical bar on the side of the window) to open the chat interface. If you don't see the icon, verify the extension is [installed](/getting-started/installing) and enabled.
-
-
-
-_The Kilo Code icon in the Primary Side Bar opens the chat interface._
-
-## Step 2: Type Your Task
-
-Type a clear, concise description of what you want Kilo Code to do in the chat box at the bottom of the panel. Examples of effective tasks:
-
-- "Create a file named `hello.txt` containing 'Hello, world!'."
-- "Write a Python function that adds two numbers."
-- "Create an HTML file for a simple website with the title 'Kilo test'"
-
-No special commands or syntax needed—just use plain English.
-
-
-💡 Optional: Try Autocomplete
-
-While chat is great for complex tasks, Kilo Code also offers **inline autocomplete** for quick code suggestions. Open any code file, start typing, and watch for ghost text suggestions. Press `Tab` to accept. [Learn more about Autocomplete →](/basic-usage/autocomplete)
-
-
-
-
-*Enter your task in natural language - no special syntax required.*
-
-## Step 3: Send Your Task
-
-Press Enter or click the Send icon () to the right of the input box.
-
-## Step 4: Review and Approve Actions
-
-Kilo Code analyzes your request and proposes specific actions. These may include:
-
-- **Reading files:** Shows file contents it needs to access
-- **Writing to files:** Displays a diff with proposed changes (added lines in green, removed in red)
-- **Executing commands:** Shows the exact command to run in your terminal
-- **Using the Browser:** Outlines browser actions (click, type, etc.)
-- **Asking questions:** Requests clarification when needed to proceed
-
-
-*Kilo Code shows exactly what action it wants to perform and waits for your approval.*
-
-- In **Code** mode, writing capabilities are on by default.
-- In **Architect** and **Ask** modes, Kilo Code won't write code.
-
-:::tip
-
-The level of autonomy is configurable, allowing you to make the agent more or less autonomous.
-
-You can learn more about [using modes](/basic-usage/using-modes) and [auto-approving actions](/features/auto-approving-actions).
-
-:::
-
-## Step 5: Iterate
-
-Kilo Code works iteratively. After each action, it waits for your feedback before proposing the next step. Continue this review-approve cycle until your task is complete.
-
-
-*After completing the task, Kilo Code shows the final result and awaits your next instruction.*
-
-## Conclusion
-
-You've completed your first task. Along the way you learned:
-
-- How to interact with Kilo Code using natural language
-- Why approval keeps you in control
-- How iteration lets the AI refine its work
-
-Ready for more? Here are some next steps:
-
-- **[Autocomplete](/basic-usage/autocomplete)** — Get inline code suggestions as you type
-- **[Modes](/basic-usage/using-modes)** — Explore different modes for different tasks
-- **[Auto-approval](/features/auto-approving-actions)** — Speed up repetitive tasks
diff --git a/packages/kilo-docs/docs/index.mdx b/packages/kilo-docs/docs/index.mdx
deleted file mode 100644
index 5d8661842c1..00000000000
--- a/packages/kilo-docs/docs/index.mdx
+++ /dev/null
@@ -1,108 +0,0 @@
----
-sidebar_label: Welcome
----
-
-import {
- DISCORD_URL,
- REDDIT_URL,
- GITHUB_ISSUES_MAIN_URL,
- GITHUB_FEATURES_URL,
- YOUTUBE_URL,
-} from "@site/src/constants.ts"
-import Image from "@site/src/components/Image"
-
-# Kilo Code Documentation
-
-Kilo Code **accelerates** development with AI-driven code generation and task automation. This open source extension plugs directly into VS Code.
-
-## What Can Kilo Code Do?
-
-- 🚀 **Generate Code** from natural language descriptions
-- 🔧 **Refactor & Debug** existing code
-- 📝 **Write & Update** documentation
-- 🤔 **Answer Questions** about your codebase
-- 🔄 **Automate** repetitive tasks
-- 🏗️ **Create** new files and projects
-- ⚡ **Autocomplete** code as you type with AI-powered suggestions
-
-## Quick Start
-
-1. [Install Kilo Code](/getting-started/installing)
-2. [Set up Kilo Code](/getting-started/setting-up)
-3. [Try Your First Task](/getting-started/your-first-task)
-4. [Enable Autocomplete](/basic-usage/autocomplete) for inline code suggestions
-
-## Features
-
-
-
-### Basics
-
-Use [the chat interface](/basic-usage/the-chat-interface) to tell Kilo Code what you need, or let [Autocomplete](/basic-usage/autocomplete) suggest code as you type. It relies on coding‑optimized AI models to complete each request.
-
-- Switch [modes](/basic-usage/using-modes) to fit the task
-- Control allowed [actions](/features/auto-approving-actions)
-- Run direct [code actions](/features/code-actions)
-
-### Using Kilo Code
-
-#### Multiple Modes
-
-Kilo Code adapts to your needs with specialized [modes](/basic-usage/using-modes):
-
-- [**Code Mode:**](/basic-usage/using-modes#code-mode-default) For general-purpose coding tasks
-- [**Architect Mode:**](/basic-usage/using-modes#architect-mode) For planning and technical leadership
-- [**Ask Mode:**](/basic-usage/using-modes#ask-mode) For answering questions and providing information
-- [**Debug Mode:**](/basic-usage/using-modes#debug-mode) For systematic problem diagnosis
-- **[Custom Modes](/agent-behavior/custom-modes):** Create unlimited specialized personas for security auditing, performance optimization, documentation, or any other task
-
-#### Core Tools
-
-Kilo Code comes with powerful [tools](/features/tools/tool-use-overview) that can:
-
-- [Read](/features/tools/read-file), [write](/features/tools/write-to-file), and [delete](/features/tools/delete-file) files in your project
-- [Execute commands](/features/tools/execute-command) in your VS Code terminal
-- [Control a web browser](/features/tools/browser-action)
-- [Ask follow-up questions](/features/tools/ask-followup-question)
-- [Search your codebase](/features/tools/search-files)
-
-See the complete [Tools Reference](/features/tools/tool-use-overview) for all available tools.
-
-### Extending Kilo Code
-
-- **[MCP (Model Context Protocol)](/features/mcp/overview):** Add unlimited custom tools, integrate with external APIs, connect to databases, or create specialized development tools
-- **[Local Models](/advanced-usage/local-models):** Run Kilo Code with local AI models for offline use or enhanced privacy
-
-### Customizing Kilo Code
-
-Make Kilo Code work your way with:
-
-- [Settings Management](/basic-usage/settings-management) for configuring your experience
-- [Custom Modes](/agent-behavior/custom-modes) for specialized tasks
-- [Custom Rules](/agent-behavior/custom-rules) for project-specific rules
-- [Custom Instructions](/agent-behavior/custom-instructions) for global plugin-wide instructions
-- [API Configuration Profiles](/features/api-configuration-profiles) for different model providers
-- [Auto-Approval Settings](/features/auto-approving-actions) for faster workflows
-
-## Resources
-
-### Documentation
-
-- [Using Kilo Code](/basic-usage/the-chat-interface) - Learn the basics
-- [Autocomplete](/basic-usage/autocomplete) - Get AI-powered code suggestions as you type
-- [Core Concepts](/features/auto-approving-actions) - Master key features
-- [Advanced Usage](/agent-behavior/prompt-engineering) - Take your skills further
-- [Frequently Asked Questions](/faq) - Get answers to common questions
-
-### Community
-
-- **Discord:** Join our Discord server for real-time help and discussions
-- **Reddit:** Visit our subreddit to share experiences and tips
-- **YouTube:** Check out our YouTube to learn hands on skills when using Kilo Code
-- **GitHub:** Report issues or request features
-
-Ready to get started? Click the **Next** button below to begin your journey with Kilo Code!
diff --git a/packages/kilo-docs/docs/jetbrains-troubleshooting.md b/packages/kilo-docs/docs/jetbrains-troubleshooting.md
deleted file mode 100644
index ac6425c40df..00000000000
--- a/packages/kilo-docs/docs/jetbrains-troubleshooting.md
+++ /dev/null
@@ -1,114 +0,0 @@
-# JetBrains Plugin Troubleshooting
-
-This guide covers common issues when using Kilo Code in JetBrains IDEs (IntelliJ IDEA, Android Studio, WebStorm, PyCharm, etc.).
-
-## Known Missing Features
-
-The following features, available in the VS Code version of Kilo Code, are not currently implemented in the JetBrains version:
-
-- **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/Kilo-Org/kilocode) for updates on development progress.
-
-## Node.js Requirements
-
-### Why Node.js is Required
-
-The JetBrains Kilo Extension requires Node.js to be installed on your system. Node.js is used to run the extension's backend services and handle communication between the IDE and Kilo Code's AI features.
-
-### Installing Node.js
-
-Visit the official Node.js website for installation instructions for your platform: [https://nodejs.org/en/download](https://nodejs.org/en/download)
-
-We recommend downloading the **LTS (Long Term Support)** version for stability.
-
-### Verifying Node.js Installation
-
-After installation, verify that Node.js is properly installed by opening a terminal and running:
-
-```bash
-node --version
-npm --version
-```
-
-Both commands should return version numbers.
-
-## JCEF (Java Chromium Embedded Framework) Issues
-
-### What is JCEF?
-
-JCEF (Java Chromium Embedded Framework) is required for Kilo Code's web-based interface to display properly in JetBrains IDEs. Most JetBrains IDEs include JCEF support by default, but some configurations may need manual activation.
-
-## Fixing JCEF Issues by IDE
-
-### Android Studio
-
-JCEF is available in Android Studio but may need to be enabled manually:
-
-1. **Open Settings/Preferences:**
-
- - **Windows/Linux:** File → Settings
- - **macOS:** Help → Find Action...
-
-2. **Navigate to Boot Java Runtime:**
-
- - Choose Boot Java Runtime for the IDE...
-
-3. **Pick a new runtime**
-
- - Pick one that has "with JCEF" in the name
-
-4. **Restart Android Studio:**
-
- - Close and reopen Android Studio for the changes to take effect
-
-5. **Verify:**
- - Open Kilo Code panel
- - The JCEF warning should be gone, and the interface should load properly
-
-**Visual Guide:**
-
-
-
-_This animation shows the complete process of enabling JCEF in Android Studio._
-
-### IntelliJ IDEA
-
-JCEF should be enabled by default in IntelliJ IDEA. If you see JCEF warnings:
-
-1. **Update IntelliJ IDEA:**
-
- - Ensure you're running the latest version
- - Go to Help → Check for Updates
-
-2. **Verify JetBrains Runtime:**
-
- - IntelliJ IDEA should use JetBrains Runtime (JBR) by default
- - JBR includes JCEF support
-
-3. **Check Advanced Settings:**
- - Go to File → Settings (Windows/Linux) or IntelliJ IDEA → Preferences (macOS)
- - Navigate to Advanced Settings
- - Look for any JCEF-related options and ensure they're enabled
-
-### Other JetBrains IDEs
-
-For WebStorm, PyCharm, PhpStorm, RubyMine, CLion, GoLand, DataGrip, and Rider:
-
-1. **Update to Latest Version:**
-
- - Most JCEF issues are resolved in recent versions
- - Use the built-in updater: Help → Check for Updates
-
-2. **Verify JetBrains Runtime:**
-
- - These IDEs should use JetBrains Runtime by default
- - JBR includes comprehensive JCEF support
-
-3. **Check Settings:**
- - Go to File → Settings (Windows/Linux) or [IDE Name] → Preferences (macOS)
- - Navigate to Advanced Settings
- - Enable any JCEF-related options
-
-_For general Kilo Code support and documentation, visit [kilocode.ai/docs](https://kilocode.ai/docs)_
diff --git a/packages/kilo-docs/docs/move-to-secondary.png b/packages/kilo-docs/docs/move-to-secondary.png
deleted file mode 100644
index 9347e5804b4..00000000000
Binary files a/packages/kilo-docs/docs/move-to-secondary.png and /dev/null differ
diff --git a/packages/kilo-docs/docs/providers/anthropic.md b/packages/kilo-docs/docs/providers/anthropic.md
deleted file mode 100644
index 40c7bf1aa19..00000000000
--- a/packages/kilo-docs/docs/providers/anthropic.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-sidebar_label: Anthropic
----
-
-# Using Anthropic With Kilo Code
-
-Anthropic is an AI safety and research company that builds reliable, interpretable, and steerable AI systems. Their Claude models are known for their strong reasoning abilities, helpfulness, and honesty.
-
-**Website:** [https://www.anthropic.com/](https://www.anthropic.com/)
-
-## Getting an API Key
-
-1. **Sign Up/Sign In:** Go to the [Anthropic Console](https://console.anthropic.com/). Create an account or sign in.
-2. **Navigate to API Keys:** Go to the [API keys](https://console.anthropic.com/settings/keys) section.
-3. **Create a Key:** Click "Create Key". Give your key a descriptive name (e.g., "Kilo Code").
-4. **Copy the Key:** **Important:** Copy the API key *immediately*. You will not be able to see it again. Store it securely.
-
-## Supported Models
-
-Kilo Code supports the following Anthropic Claude models:
-
-* `claude-3-7-sonnet-20250219` (Recommended)
-* `claude-3-7-sonnet-20250219:thinking` (Extended Thinking variant)
-* `claude-3-5-sonnet-20241022`
-* `claude-3-5-haiku-20241022`
-* `claude-3-opus-20240229`
-* `claude-3-haiku-20240307`
-
-See [Anthropic's Model Documentation](https://docs.anthropic.com/en/docs/about-claude/models) for more details on each model's capabilities.
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "Anthropic" from the "API Provider" dropdown.
-3. **Enter API Key:** Paste your Anthropic API key into the "Anthropic API Key" field.
-4. **Select Model:** Choose your desired Claude model from the "Model" dropdown.
-5. **(Optional) Custom Base URL:** If you need to use a custom base URL for the Anthropic API, check "Use custom base URL" and enter the URL. Most people won't need to adjust this.
-
-## Tips and Notes
-
-* **Prompt Caching:** Claude 3 models support [prompt caching](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching), which can significantly reduce costs and latency for repeated prompts.
-* **Context Window:** Claude models have large context windows (200,000 tokens), allowing you to include a significant amount of code and context in your prompts.
-* **Pricing:** Refer to the [Anthropic Pricing](https://www.anthropic.com/pricing) page for the latest pricing information.
-* **Rate Limits:** Anthropic has strict rate limits based on [usage tiers](https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier). If you're repeatedly hitting rate limits, consider contacting Anthropic sales or accessing Claude through a different provider like [OpenRouter](/providers/openrouter) or [Requesty](/providers/requesty).
diff --git a/packages/kilo-docs/docs/providers/gemini.md b/packages/kilo-docs/docs/providers/gemini.md
deleted file mode 100644
index 8eb53c4afcc..00000000000
--- a/packages/kilo-docs/docs/providers/gemini.md
+++ /dev/null
@@ -1,54 +0,0 @@
----
-sidebar_label: Google Gemini
----
-
-# Using Google Gemini With Kilo Code
-
-Kilo Code supports Google's Gemini family of models through the Google AI Gemini API.
-
-**Website:** [https://ai.google.dev/](https://ai.google.dev/)
-
-## Getting an API Key
-
-1. **Go to Google AI Studio:** Navigate to [https://ai.google.dev/](https://ai.google.dev/).
-2. **Sign In:** Sign in with your Google account.
-3. **Create API Key:** Click on "Create API key" in the left-hand menu.
-4. **Copy API Key:** Copy the generated API key.
-
-## Supported Models
-
-Kilo Code supports the following Gemini models:
-
-### Chat Models
-
-* `gemini-2.5-pro-exp-03-25`
-* `gemini-2.0-flash-001`
-* `gemini-2.0-flash-lite-preview-02-05`
-* `gemini-2.0-pro-exp-02-05`
-* `gemini-2.0-flash-thinking-exp-01-21`
-* `gemini-2.0-flash-thinking-exp-1219`
-* `gemini-2.0-flash-exp`
-* `gemini-1.5-flash-002`
-* `gemini-1.5-flash-exp-0827`
-* `gemini-1.5-flash-8b-exp-0827`
-* `gemini-1.5-pro-002`
-* `gemini-1.5-pro-exp-0827`
-* `gemini-exp-1206`
-
-### Embedding Models
-
-* `gemini-embedding-001` - Optimized for codebase indexing and semantic search
-
-Refer to the [Gemini documentation](https://ai.google.dev/models/gemini) for more details on each model.
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "Google Gemini" from the "API Provider" dropdown.
-3. **Enter API Key:** Paste your Gemini API key into the "Gemini API Key" field.
-4. **Select Model:** Choose your desired Gemini model from the "Model" dropdown.
-
-## Tips and Notes
-
-* **Pricing:** Gemini API usage is priced based on input and output tokens. Refer to the [Gemini pricing page](https://ai.google.dev/pricing) for detailed information.
-* **Codebase Indexing:** The `gemini-embedding-001` model is specifically supported for [codebase indexing](/features/codebase-indexing), providing high-quality embeddings for semantic code search.
diff --git a/packages/kilo-docs/docs/providers/lmstudio.md b/packages/kilo-docs/docs/providers/lmstudio.md
deleted file mode 100644
index d4e5a23e589..00000000000
--- a/packages/kilo-docs/docs/providers/lmstudio.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-sidebar_label: LM Studio
----
-
-# Using LM Studio With Kilo Code
-
-Kilo Code supports running models locally using LM Studio. LM Studio provides a user-friendly interface for downloading, configuring, and running local language models. It also includes a built-in local inference server that emulates the OpenAI API, making it easy to integrate with Kilo Code.
-
-**Website:** [https://lmstudio.ai/](https://lmstudio.ai/)
-
-## Setting Up LM Studio
-
-1. **Download and Install LM Studio:** Download LM Studio from the [LM Studio website](https://lmstudio.ai/).
-2. **Download a Model:** Use the LM Studio interface to search for and download a model. Some recommended models include:
- * CodeLlama models (e.g., `codellama:7b-code`, `codellama:13b-code`, `codellama:34b-code`)
- * Mistral models (e.g., `mistralai/Mistral-7B-Instruct-v0.1`)
- * DeepSeek Coder models (e.g., `deepseek-coder:6.7b-base`)
- * Any other model that is supported by Kilo Code, or for which you can set the context window.
-
- Look for models in the GGUF format. LM Studio provides a search interface to find and download models.
-3. **Start the Local Server:**
- * Open LM Studio.
- * Click the **"Local Server"** tab (the icon looks like `<->`).
- * Select the model you downloaded.
- * Click **"Start Server"**.
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "LM Studio" from the "API Provider" dropdown.
-3. **Enter Model ID:** Enter the *file name* of the model you loaded in LM Studio (e.g., `codellama-7b.Q4_0.gguf`). You can find this in the LM Studio "Local Server" tab.
-4. **(Optional) Base URL:** By default, Kilo Code will connect to LM Studio at `http://localhost:1234`. If you've configured LM Studio to use a different address or port, enter the full URL here.
-
-## Tips and Notes
-
-* **Resource Requirements:** Running large language models locally can be resource-intensive. Make sure your computer meets the minimum requirements for the model you choose.
-* **Model Selection:** LM Studio provides a wide range of models. Experiment to find the one that best suits your needs.
-* **Local Server:** The LM Studio local server must be running for Kilo Code to connect to it.
-* **LM Studio Documentation:** Refer to the [LM Studio documentation](https://lmstudio.ai/docs) for more information.
-* **Troubleshooting:** If you see a "Please check the LM Studio developer logs to debug what went wrong" error, you may need to adjust the context length settings in LM Studio.
diff --git a/packages/kilo-docs/docs/providers/mistral.md b/packages/kilo-docs/docs/providers/mistral.md
deleted file mode 100644
index bee941225b2..00000000000
--- a/packages/kilo-docs/docs/providers/mistral.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-sidebar_label: Mistral AI
----
-
-# Using Mistral AI With Kilo Code
-
-Kilo Code supports accessing models through the Mistral AI API, including both standard Mistral models and the code-specialized Codestral model.
-
-**Website:** [https://mistral.ai/](https://mistral.ai/)
-
-## Getting an API Key
-
-1. **Sign Up/Sign In:** Go to the [Mistral Platform](https://console.mistral.ai/). Create an account or sign in. You may need to go through a verification process.
-2. **Create an API Key:**
- - [La Plateforme API Key](https://console.mistral.ai/api-keys/) and/or
- - [Codestral API Key](https://console.mistral.ai/codestral)
-
-## Supported Models
-
-Kilo Code supports the following Mistral models:
-
-| Model ID | Model Default Temperature | Function Calling | Vision / Image support |
-|------------------------|-------------------------|------------------|--------|
-| codestral-latest | 0.3 | ✅ | ❌ |
-| devstral | 0.3 | ✅ | ❌ |
-| mistral-large-latest | 0.7 | ✅ | ❌ |
-| ministral-8b-latest | 0.3 | ✅ | ❌ |
-| ministral-3b-latest | 0.3 | ✅ | ❌ |
-| mistral-small-latest | 0.3 | ✅ | ❌ |
-| pixtral-large-latest | 0.7 | ✅ | ✅ |
-The default model temperature in Kilo Code is 0.0, so you should consider experimenting with [temperature adjustments](/features/model-temperature)!
-
-**Note:** Model availability and specifications may change.
-Refer to the [Mistral AI documentation](https://docs.mistral.ai/api/) and [Mistral Model Overview](https://docs.mistral.ai/getting-started/models/models_overview/) for the latest information.
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "Mistral" from the "API Provider" dropdown.
-3. **Enter API Key:** Paste your Mistral API key into the "Mistral API Key" field if you're using a `mistral` model. If you intend to use `codestral-latest`, see the "Codestral" section below.
-4. **Select Model:** Choose your desired model from the "Model" dropdown.
-
-## Using Codestral
-
-[Codestral](https://docs.mistral.ai/capabilities/code_generation/) is a model specifically designed for code generation and interaction.
-Only for Codestral you could use different endpoints (Default: codestral.mistral.ai).
-For the La Platforme API Key change the **Codestral Base Url** to: https://api.mistral.ai
-
-To use Codestral:
-
-1. **Select "Mistral" as the API Provider.**
-2. **Select a Codestral Model**
-3. **Enter your Codestral (codestral.mistral.ai) or La Plateforme (api.mistral.ai) API Key.**
diff --git a/packages/kilo-docs/docs/providers/openai-compatible.md b/packages/kilo-docs/docs/providers/openai-compatible.md
deleted file mode 100644
index 1c9c18a3b51..00000000000
--- a/packages/kilo-docs/docs/providers/openai-compatible.md
+++ /dev/null
@@ -1,83 +0,0 @@
----
-sidebar_label: OpenAI Compatible
----
-
-# Using OpenAI Compatible Providers With Kilo Code
-
-Kilo Code supports a wide range of AI model providers that offer APIs compatible with the OpenAI API standard. This means you can use models from providers *other than* OpenAI, while still using a familiar API interface. This includes providers like:
-
-* **Local models** running through tools like Ollama and LM Studio (covered in separate sections).
-* **Cloud providers** like Perplexity, Together AI, Anyscale, and others.
-* **Any other provider** offering an OpenAI-compatible API endpoint.
-
-This document focuses on setting up providers *other than* the official OpenAI API (which has its own [dedicated configuration page](/providers/openai)).
-
-## General Configuration
-
-The key to using an OpenAI-compatible provider is to configure two main settings:
-
-1. **Base URL:** This is the API endpoint for the provider. It will *not* be `https://api.openai.com/v1` (that's for the official OpenAI API).
-2. **API Key:** This is the secret key you obtain from the provider.
-3. **Model ID:** This is the model name of the specific model.
-
-You'll find these settings in the Kilo Code settings panel (click the icon):
-
-* **API Provider:** Select "OpenAI Compatible".
-* **Base URL:** Enter the base URL provided by your chosen provider. **This is crucial.**
-* **API Key:** Enter your API key.
-* **Model:** Choose a model.
-* **Model Configuration:** This lets you customize advanced configuration for the model
- - Max Output Tokens
- - Context Window
- - Image Support
- - Computer Use
- - Input Price
- - Output Price
-
-### Full Endpoint URL Support
-
-Kilo Code supports full endpoint URLs in the Base URL field, providing greater flexibility for provider configuration:
-
-**Standard Base URL Format:**
-```
-https://api.provider.com/v1
-```
-
-**Full Endpoint URL Format:**
-```
-https://api.provider.com/v1/chat/completions
-https://custom-endpoint.provider.com/api/v2/models/chat
-```
-
-This enhancement allows you to:
-- Connect to providers with non-standard endpoint structures
-- Use custom API gateways or proxy services
-- Work with providers that require specific endpoint paths
-- Integrate with enterprise or self-hosted API deployments
-
-**Note:** When using full endpoint URLs, ensure the URL points to the correct chat completions endpoint for your provider.
-
-## Supported Models (for OpenAI Native Endpoint)
-
-While this provider type allows connecting to various endpoints, if you are connecting directly to the official OpenAI API (or an endpoint mirroring it exactly), Kilo Code recognizes the following model IDs based on the `openAiNativeModels` definition in its source code:
-
-* `o3-mini`
-* `o3-mini-high`
-* `o3-mini-low`
-* `o1`
-* `o1-preview`
-* `o1-mini`
-* `gpt-4.5-preview`
-* `gpt-4o`
-* `gpt-4o-mini`
-
-**Note:** If you are using a different OpenAI-compatible provider (like Together AI, Anyscale, etc.), the available model IDs will vary. Always refer to your specific provider's documentation for their supported model names.
-
-## Troubleshooting
-
-* **"Invalid API Key":** Double-check that you've entered the API key correctly.
-* **"Model Not Found":** Make sure you're using a valid model ID for your chosen provider.
-* **Connection Errors:** Verify the Base URL is correct and that your provider's API is accessible.
-* **Unexpected Results:** If you're getting unexpected results, try a different model.
-
-By using an OpenAI-compatible provider, you can leverage the flexibility of Kilo Code with a wider range of AI models. Remember to always consult your provider's documentation for the most accurate and up-to-date information.
diff --git a/packages/kilo-docs/docs/providers/openai.md b/packages/kilo-docs/docs/providers/openai.md
deleted file mode 100644
index 600c6837747..00000000000
--- a/packages/kilo-docs/docs/providers/openai.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-sidebar_label: OpenAI
----
-
-# Using OpenAI With Kilo Code
-
-Kilo Code supports accessing models directly through the official OpenAI API.
-
-**Website:** [https://openai.com/](https://openai.com/)
-
-## Getting an API Key
-
-1. **Sign Up/Sign In:** Go to the [OpenAI Platform](https://platform.openai.com/). Create an account or sign in.
-2. **Navigate to API Keys:** Go to the [API keys](https://platform.openai.com/api-keys) page.
-3. **Create a Key:** Click "Create new secret key". Give your key a descriptive name (e.g., "Kilo Code").
-4. **Copy the Key:** **Important:** Copy the API key *immediately*. You will not be able to see it again. Store it securely.
-
-## Supported Models
-
-Kilo Code supports a variety of OpenAI models, including:
-
-* `o3-mini` (medium reasoning effort)
-* `o3-mini-high` (high reasoning effort)
-* `o3-mini-low` (low reasoning effort)
-* `o1`
-* `o1-preview`
-* `o1-mini`
-* `gpt-4.5-preview`
-* `gpt-4o`
-* `gpt-4o-mini`
-
-Refer to the [OpenAI Models documentation](https://platform.openai.com/docs/models) for the most up-to-date list of models and capabilities.
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "OpenAI" from the "API Provider" dropdown.
-3. **Enter API Key:** Paste your OpenAI API key into the "OpenAI API Key" field.
-4. **Select Model:** Choose your desired model from the "Model" dropdown.
-
-## Tips and Notes
-
-* **Pricing:** Refer to the [OpenAI Pricing](https://openai.com/pricing) page for details on model costs.
-* **Azure OpenAI Service:** If you'd like to use the Azure OpenAI service, please see our section on [OpenAI-compatible](/providers/openai-compatible) providers.
diff --git a/packages/kilo-docs/docs/providers/v0.md b/packages/kilo-docs/docs/providers/v0.md
deleted file mode 100644
index c795129a78a..00000000000
--- a/packages/kilo-docs/docs/providers/v0.md
+++ /dev/null
@@ -1,47 +0,0 @@
----
-sidebar_label: v0
----
-
-# Using v0 With Kilo Code
-
-Kilo Code supports v0, Vercel's AI model provider that offers an OpenAI-compatible API. This allows you to use v0's models with Kilo Code through the familiar OpenAI API interface.
-
-## Prerequisites
-
-To use v0 with Kilo Code, you'll need:
-
-* A team account with Vercel v0
-* A v0 API key
-
-## Configuration
-
-Setting up v0 in Kilo Code is straightforward:
-
-1. In Kilo Code settings (click the icon):
- * Under **API Provider**, select: **OpenAI Compatible**
- * Set the **Base URL**: `https://api.v0.dev/v1`
- * Paste in your v0 API key
- * Set the **Model ID**: `v0-1.0-md`
- * Click **Verify** to confirm the connection
-
-
-
-## Supported Models
-
-Currently, v0 offers the following model:
-
-* `v0-1.0-md` - v0's multimodal model that supports both text and image inputs
-* `v0-1.5-lg` - composite model ([learn more](https://vercel.com/blog/v0-composite-model-family))
-* `v0-1.5.md` - composite model ([learn more](https://vercel.com/blog/v0-composite-model-family))
-
-## Troubleshooting
-
-* **"Invalid API Key":** Double-check that you've entered the API key correctly.
-* **"Model Not Found":** Make sure you're using the correct model ID (`v0-1.0-md`).
-* **Connection Errors:** Verify the Base URL is correct (`https://api.v0.dev/v1`).
-* **Access Issues:** Confirm that your Vercel v0 team account is active and properly set up.
-
-## Additional Resources
-
-* [v0 Official Documentation](https://v0.dev)
-* [Vercel AI Documentation](https://vercel.com/docs/ai)
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/providers/vertex.md b/packages/kilo-docs/docs/providers/vertex.md
deleted file mode 100644
index 77c96dbe627..00000000000
--- a/packages/kilo-docs/docs/providers/vertex.md
+++ /dev/null
@@ -1,65 +0,0 @@
----
-sidebar_label: GCP Vertex AI
----
-
-# Using GCP Vertex AI With Kilo Code
-
-Kilo Code supports accessing models through Google Cloud Platform's Vertex AI, a managed machine learning platform that provides access to various foundation models, including Anthropic's Claude family.
-
-**Website:** [https://cloud.google.com/vertex-ai](https://cloud.google.com/vertex-ai)
-
-## Prerequisites
-
-* **Google Cloud Account:** You need an active Google Cloud Platform (GCP) account.
-* **Project:** You need a GCP project with the Vertex AI API enabled.
-* **Model Access:** You must request and be granted access to the specific Claude models on Vertex AI you want to use. See the [Google Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude#before_you_begin) for instructions.
-* **Application Default Credentials (ADC):** Kilo Code uses Application Default Credentials to authenticate with Vertex AI. The easiest way to set this up is to:
- 1. Install the Google Cloud CLI: [https://cloud.google.com/sdk/docs/install](https://cloud.google.com/sdk/docs/install)
- 2. Authenticate using: `gcloud auth application-default login`
-* **Service Account Key (Alternative):** Alternatively, you can authenticate using a Google Cloud Service Account key file. You'll need to generate this key in your GCP project. See the [Google Cloud documentation on creating service account keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys).
-
-## Supported Models
-
-Kilo Code supports the following models through Vertex AI (based on source code):
-
-* **Google Gemini Models:**
- * `gemini-2.5-flash-preview-05-20`
- * `gemini-2.0-flash-001`
- * `gemini-2.5-pro-exp-03-25`
- * `gemini-2.0-pro-exp-02-05`
- * `gemini-2.0-flash-lite-001`
- * `gemini-2.0-flash-thinking-exp-01-21`
- * `gemini-1.5-flash-002`
- * `gemini-1.5-pro-002`
-* **Anthropic Claude Models:**
- * `claude-opus-4@20250514:thinking`
- * `claude-opus-4@20250514`
- * `claude-sonnet-4@20250514:thinking`
- * `claude-sonnet-4@20250514`
- * `claude-3-7-sonnet@20250219:thinking`
- * `claude-3-7-sonnet@20250219`
- * `claude-3-5-sonnet-v2@20241022`
- * `claude-3-5-sonnet@20240620`
- * `claude-3-5-haiku@20241022`
- * `claude-3-opus@20240229`
- * `claude-3-haiku@20240307`
-
-Refer to the [Google Cloud documentation on Vertex AI Models](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models) for the most up-to-date list of available models and their IDs.
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "GCP Vertex AI" from the "API Provider" dropdown.
-3. **Configure Authentication:**
- * **If using Application Default Credentials (ADC):** No further action is needed here. ADC will be used automatically if configured correctly (see Prerequisites).
- * **If *not* using ADC (Service Account Key):**
- * **Option A: Paste JSON Content:** Paste the entire content of your Service Account JSON key file into the **Google Cloud Credentials** field.
- * **Option B: Provide File Path:** Enter the absolute path to your downloaded Service Account JSON key file in the **Google Cloud Key File Path** field.
-4. **Enter Project ID:** Enter your Google Cloud Project ID.
-5. **Select Region:** Choose the region where your Vertex AI resources are located (e.g., `us-east5`).
-6. **Select Model:** Choose your desired model from the "Model" dropdown.
-
-## Tips and Notes
-
-* **Permissions:** Ensure your Google Cloud account has the necessary permissions to access Vertex AI and the specific models you want to use.
-* **Pricing:** Refer to the [Vertex AI pricing](https://cloud.google.com/vertex-ai/pricing) page for details.
diff --git a/packages/kilo-docs/docs/providers/vscode-lm.md b/packages/kilo-docs/docs/providers/vscode-lm.md
deleted file mode 100644
index b36207cc183..00000000000
--- a/packages/kilo-docs/docs/providers/vscode-lm.md
+++ /dev/null
@@ -1,46 +0,0 @@
----
-sidebar_label: VS Code Language Model API
----
-
-# Using VS Code Language Model API With Kilo Code
-
-Kilo Code includes *experimental* support for the [VS Code Language Model API](https://code.visualstudio.com/api/language-extensions/language-model-access). This API allows extensions to provide access to language models directly within VS Code. This means you can potentially use models from:
-
-* **GitHub Copilot:** If you have a Copilot subscription and the extension installed.
-* **Other VS Code Extensions:** Any extension that implements the Language Model API.
-
-**Important:** This integration is highly experimental and may not work as expected. It is dependent on other extensions correctly implementing the VS Code Language Model API.
-
-## Prerequisites
-
-* **VS Code:** The Language Model API is available through VS Code (and is not currently supported by Cursor).
-* **A Language Model Provider Extension:** You need an extension that provides a language model. Examples include:
- * **GitHub Copilot:** If you have a Copilot subscription, the GitHub Copilot and GitHub Copilot Chat extensions can provide models.
- * **Other Extensions:** Search the VS Code Marketplace for extensions that mention "Language Model API" or "lm". There may be other experimental extensions available.
-
-## Configuration
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "VS Code LM API" from the "API Provider" dropdown.
-3. **Select Model:** The "Language Model" dropdown will (eventually) list available models. The format is `vendor/family`. For example, if you have Copilot, you might see options like:
- * `copilot - claude-3.5-sonnet`
- * `copilot - o3-mini`
- * `copilot - o1-ga`
- * `copilot - gemini-2.0-flash`
-
-## Limitations
-
-* **Experimental API:** The VS Code Language Model API is still under development. Expect changes and potential instability.
-* **Extension Dependent:** This feature relies entirely on other extensions providing models. Kilo Code cannot directly control which models are available.
-* **Limited Functionality:** The VS Code Language Model API may not support all the features of other API providers (e.g., image input, streaming, detailed usage information).
-* **No Direct Cost Control:** You are subject to the pricing and terms of the extension providing the model. Kilo Code cannot directly track or limit costs.
-* **GitHub Copilot Rate Limits:** When using the VS Code LM API with GitHub Copilot, be aware that GitHub may impose rate limits on Copilot usage. These limits are controlled by GitHub, not Kilo Code.
-
-
-## Troubleshooting
-
-* **No Models Appear:**
- * Ensure you have VS Code installed.
- * Ensure you have a language model provider extension installed and enabled (e.g., GitHub Copilot, GitHub Copilot Chat).
- * If using Copilot, make sure that you have sent a Copilot Chat message using the model you would like to use.
-* **Unexpected Behavior:** If you encounter unexpected behavior, it's likely an issue with the underlying Language Model API or the provider extension. Consider reporting the issue to the provider extension's developers.
diff --git a/packages/kilo-docs/docs/providers/xai.md b/packages/kilo-docs/docs/providers/xai.md
deleted file mode 100644
index 80501cb5e36..00000000000
--- a/packages/kilo-docs/docs/providers/xai.md
+++ /dev/null
@@ -1,81 +0,0 @@
----
-sidebar_label: xAI (Grok)
----
-
-# Using xAI (Grok) With Kilo Code
-
-xAI is the company behind Grok, a large language model known for its conversational abilities and large context window. Grok models are designed to provide helpful, informative, and contextually relevant responses.
-
-**Website:** [https://x.ai/](https://x.ai/)
-
-## Getting an API Key
-
-1. **Sign Up/Sign In:** Go to the [xAI Console](https://console.x.ai/). Create an account or sign in.
-2. **Navigate to API Keys:** Go to the API keys section in your dashboard.
-3. **Create a Key:** Click to create a new API key. Give your key a descriptive name (e.g., "Kilo Code").
-4. **Copy the Key:** **Important:** Copy the API key *immediately*. You will not be able to see it again. Store it securely.
-
-## Supported Models
-
-Kilo Code supports the following xAI Grok models:
-
-### Grok-3 Models
-* `grok-3-beta` (Default) - xAI's Grok-3 beta model with 131K context window
-* `grok-3-fast-beta` - xAI's Grok-3 fast beta model with 131K context window
-* `grok-3-mini-beta` - xAI's Grok-3 mini beta model with 131K context window
-* `grok-3-mini-fast-beta` - xAI's Grok-3 mini fast beta model with 131K context window
-
-### Grok-2 Models
-* `grok-2-latest` - xAI's Grok-2 model - latest version with 131K context window
-* `grok-2` - xAI's Grok-2 model with 131K context window
-* `grok-2-1212` - xAI's Grok-2 model (version 1212) with 131K context window
-
-### Grok Vision Models
-* `grok-2-vision-latest` - xAI's Grok-2 Vision model - latest version with image support and 32K context window
-* `grok-2-vision` - xAI's Grok-2 Vision model with image support and 32K context window
-* `grok-2-vision-1212` - xAI's Grok-2 Vision model (version 1212) with image support and 32K context window
-* `grok-vision-beta` - xAI's Grok Vision Beta model with image support and 8K context window
-
-### Legacy Models
-* `grok-beta` - xAI's Grok Beta model (legacy) with 131K context window
-
-## Configuration in Kilo Code
-
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
-2. **Select Provider:** Choose "xAI" from the "API Provider" dropdown.
-3. **Enter API Key:** Paste your xAI API key into the "xAI API Key" field.
-4. **Select Model:** Choose your desired Grok model from the "Model" dropdown.
-
-## Reasoning Capabilities
-
-Grok 3 Mini models feature specialized reasoning capabilities, allowing them to "think before responding" - particularly useful for complex problem-solving tasks.
-
-### Reasoning-Enabled Models
-
-Reasoning is only supported by:
-* `grok-3-mini-beta`
-* `grok-3-mini-fast-beta`
-
-The Grok 3 models `grok-3-beta` and `grok-3-fast-beta` do not support reasoning.
-
-### Controlling Reasoning Effort
-
-When using reasoning-enabled models, you can control how hard the model thinks with the `reasoning_effort` parameter:
-
-* `low`: Minimal thinking time, using fewer tokens for quick responses
-* `high`: Maximum thinking time, leveraging more tokens for complex problems
-
-Choose `low` for simple queries that should complete quickly, and `high` for harder problems where response latency is less important.
-
-### Key Features
-
-* **Step-by-Step Problem Solving**: The model thinks through problems methodically before delivering an answer
-* **Math & Quantitative Strength**: Excels at numerical challenges and logic puzzles
-* **Reasoning Trace Access**: The model's thinking process is available via the `reasoning_content` field in the response completion object
-
-## Tips and Notes
-
-* **Context Window:** Most Grok models feature large context windows (up to 131K tokens), allowing you to include substantial amounts of code and context in your prompts.
-* **Vision Capabilities:** Select vision-enabled models (`grok-2-vision-latest`, `grok-2-vision`, etc.) when you need to process or analyze images.
-* **Pricing:** Pricing varies by model, with input costs ranging from $0.3 to $5.0 per million tokens and output costs from $0.5 to $25.0 per million tokens. Refer to the xAI documentation for the most current pricing information.
-* **Performance Tradeoffs:** "Fast" variants typically offer quicker response times but may have higher costs, while "mini" variants are more economical but may have reduced capabilities.
\ No newline at end of file
diff --git a/packages/kilo-docs/docs/tips-and-tricks.md b/packages/kilo-docs/docs/tips-and-tricks.md
deleted file mode 100644
index 5d17e3c317d..00000000000
--- a/packages/kilo-docs/docs/tips-and-tricks.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Tips & Tricks
-
-A collection of quick tips to help you get the most out of Kilo Code.
-
-- Right-click on the Kilo Code icon in the Activity Bar and select **Move To → Secondary Side Bar** to move Kilo Code to the [Secondary Sidebar](https://code.visualstudio.com/api/ux-guidelines/sidebars#secondary-sidebar), so you can see the Explorer, Search, Source Control, etc. alongside Kilo Code.
-
- 
-
-- Once you have Kilo Code in a separate sidebar from the file explorer, you can drag files from the explorer into the chat window (and even multiple at once). Just make sure to hold down the shift key after you start dragging the files.
-- **Autocomplete Tips:**
- - Use chat for multi-file changes, refactoring, or when you need to explain intent. Use autocomplete for quick, localized edits where the context is already clear from surrounding code.
- - Steer autocomplete by writing a comment describing what you want before triggering it, or by typing a function signature—autocomplete will fill in the implementation.
- - Treat autocomplete suggestions as drafts: accept them quickly, then refine. It's often faster to fix a 90% correct suggestion than to craft the perfect prompt.
-- If you're not using [MCP](/features/mcp/overview), turn it off in Settings > Agent Behaviour > MCP Servers to significantly cut down the size of the system prompt.
-- To keep your [custom modes](/agent-behavior/custom-modes) on track, limit the types of files that they're allowed to edit.
-- If you hit the dreaded `input length and max tokens exceed context limit` error, you can recover by deleting a message, rolling back to a previous checkpoint, or switching over to a model with a long context window like Gemini for a message.
-- In general, be thoughtful about your `Max Tokens` setting for thinking models. Every token you allocate to that takes away from space available to store conversation history. Consider only using high `Max Tokens` / `Max Thinking Tokens` settings with modes like Architect and Debug, and keeping Code mode at 16k max tokens or less.
-- If there's a real world job posting for something you want a custom mode to do, try asking Code mode to `Create a custom mode based on the job posting at @[url]`
-- If you want to really accelerate, check out multiple copies of your repository and run Kilo Code on all of them in parallel (using git to resolve any conflicts, same as with human devs).
-- When using Debug mode, ask Kilo to "start a new task in Debug mode with all of the necessary context needed to figure out X" so that the debugging process uses its own context window and doesn't pollute the main task
-- Add your own tips by clicking "Edit this page" below!
-- To manage large files and reduce context/resource usage, adjust the `File read auto-truncate threshold` setting. This setting controls the number of lines read from a file in one batch. Lower values can improve performance when working with very large files, but may require more read operations. You can find this setting in the Kilo Code settings under 'Advanced Settings'.
-
-| Browser Tab | Auto-Approve Tab | Display Tab |
-| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
-| [](https://youtube.com/shorts/VMPKXt8k050?feature=shared) | [](https://youtube.com/shorts/NBccFnYDQ-k?feature=shared) | [](https://youtube.com/shorts/qYrT2pbfS7E?feature=shared) |
diff --git a/packages/kilo-docs/docusaurus.config.ts b/packages/kilo-docs/docusaurus.config.ts
deleted file mode 100644
index 8b18ef61a91..00000000000
--- a/packages/kilo-docs/docusaurus.config.ts
+++ /dev/null
@@ -1,381 +0,0 @@
-import { themes as prismThemes } from "prism-react-renderer"
-import type { Config } from "@docusaurus/types"
-import type * as Preset from "@docusaurus/preset-classic"
-import {
- DISCORD_URL,
- REDDIT_URL,
- TWITTER_URL,
- GITHUB_MAIN_REPO_URL,
- GITHUB_ISSUES_MAIN_URL,
- GITHUB_FEATURES_URL,
- VSCODE_MARKETPLACE_URL,
- OPEN_VSX_URL,
- CONTACT_EMAIL,
- CAREERS_URL,
- WEBSITE_PRIVACY_URL,
- EXTENSION_PRIVACY_URL,
- GITHUB_REPO_URL,
-} from "./src/constants"
-
-// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
-
-const config: Config = {
- title: "Kilo Code Docs",
- tagline: "Kilo Code Documentation",
- favicon: "img/favicon.ico",
-
- // Set the production url of your site here
- url: "https://kilo.ai",
- // Set the // pathname under which your site is served
- // For GitHub pages deployment, it is often '//'
- baseUrl: "/docs",
-
- customFields: {
- freeTierAmount: process.env.FREE_TIER_AMOUNT || "$20",
- },
-
- onBrokenLinks: "throw",
- onBrokenMarkdownLinks: "warn",
-
- // Even if you don't use internationalization, you can use this field to set
- // useful metadata like html lang. For example, if your site is Chinese, you
- // may want to replace "en" with "zh-Hans".
- i18n: {
- defaultLocale: "en",
- locales: ["en", "zh-CN"],
- },
-
- presets: [
- [
- "classic",
- {
- docs: {
- sidebarPath: "./sidebars.ts",
- routeBasePath: "/",
- editUrl: `${GITHUB_MAIN_REPO_URL}/edit/main/apps/kilocode-docs/`,
- showLastUpdateTime: true,
- },
- blog: false, // Disable blog feature
- sitemap: {
- lastmod: "date",
- priority: null,
- changefreq: null,
- },
- theme: {
- customCss: "./src/css/custom.css",
- },
- } satisfies Preset.Options,
- ],
- ],
-
- themes: [
- [
- require.resolve("@easyops-cn/docusaurus-search-local"),
- {
- hashed: true,
- language: ["en"],
- highlightSearchTermsOnTargetPage: false,
- explicitSearchResultPath: true,
- docsRouteBasePath: "/",
- },
- ],
- ],
-
- plugins: [
- ...(process.env.POSTHOG_API_KEY
- ? [
- [
- "posthog-docusaurus",
- {
- apiKey: process.env.POSTHOG_API_KEY,
- appUrl: "https://us.i.posthog.com",
- enableInDevelopment: true,
- },
- ],
- ]
- : []),
- [
- "@docusaurus/plugin-client-redirects",
- {
- createRedirects(existingPath) {
- // Redirect old /contributing/specs/spec-* paths to /contributing/architecture/*
- if (existingPath.startsWith("/contributing/architecture/")) {
- const filename = existingPath.replace("/contributing/architecture/", "")
- return [
- `/contributing/specs/spec-${filename}`, // spec- prefix
- `/contributing/specs/${filename}`, // without prefix
- ]
- }
- return undefined
- },
- redirects: [
- // Files moved from advanced-usage to features
- {
- to: "/features/checkpoints",
- from: ["/advanced-usage/checkpoints"],
- },
- {
- to: "/features/code-actions",
- from: ["/advanced-usage/code-actions"],
- },
- {
- to: "/agent-behavior/custom-instructions",
- from: [
- "/advanced-usage/custom-instructions",
- "/features/custom-instructions",
- "/customization/custom-instructions",
- ],
- },
- {
- to: "/agent-behavior/custom-modes",
- from: ["/features/custom-modes", "/advanced-usage/custom-modes", "/customization/custom-modes"],
- },
- {
- to: "/agent-behavior/custom-rules",
- from: ["/advanced-usage/custom-rules", "/customization/custom-rules"],
- },
- {
- to: "/agent-behavior/skills",
- from: ["/features/skills", "/customization/skills"],
- },
- {
- to: "/agent-behavior/workflows",
- from: ["/features/slash-commands/workflows", "/customization/workflows"],
- },
- {
- to: "/basic-usage/settings-management",
- from: ["/features/settings-management", "/customization/settings-management"],
- },
- {
- to: "/agent-behavior/prompt-engineering",
- from: ["/advanced-usage/prompt-engineering"],
- },
- {
- to: "/features/enhance-prompt",
- from: ["/advanced-usage/enhance-prompt"],
- },
- {
- to: "/features/experimental/experimental-features",
- from: ["/advanced-usage/experimental-features"],
- },
- {
- to: "/features/model-temperature",
- from: ["/advanced-usage/model-temperature"],
- },
- {
- to: "/features/auto-approving-actions",
- from: ["/advanced-usage/auto-approving-actions"],
- },
- {
- to: "/features/api-configuration-profiles",
- from: ["/advanced-usage/api-configuration-profiles"],
- },
-
- {
- to: "/slack",
- from: ["/advanced-usage/slackbot"],
- },
-
- // MCP related redirects
- {
- to: "/features/mcp/overview",
- from: ["/advanced-usage/mcp", "/mcp/overview"],
- },
- {
- to: "/features/mcp/using-mcp-in-kilo-code",
- from: ["/mcp/using-mcp-in-kilo-code"],
- },
- {
- to: "/features/mcp/what-is-mcp",
- from: ["/mcp/what-is-mcp"],
- },
- {
- to: "/features/mcp/server-transports",
- from: ["/mcp/server-transports"],
- },
- {
- to: "/features/mcp/mcp-vs-api",
- from: ["/mcp/mcp-vs-api"],
- },
-
- // Kilo credits, not tokens
- {
- to: "/basic-usage/adding-credits",
- from: ["/basic-usage/adding-tokens"],
- },
- // Change to plans language
- {
- to: "/plans/about",
- from: ["/seats/about"],
- },
- {
- to: "/plans/getting-started",
- from: ["/seats/getting-started"],
- },
- {
- to: "/plans/dashboard",
- from: ["/seats/dashboard"],
- },
- {
- to: "/plans/analytics",
- from: ["/seats/analytics"],
- },
- {
- to: "/plans/team-management",
- from: ["/seats/team-management"],
- },
- {
- to: "/plans/custom-modes",
- from: ["/seats/custom-modes"],
- },
- {
- to: "/plans/billing",
- from: ["/seats/billing"],
- },
- {
- to: "/plans/enterprise/SSO",
- from: ["/seats/enterprise/SSO"],
- },
- {
- to: "/plans/enterprise/model-access",
- from: ["/seats/enterprise/model-access"],
- },
- {
- to: "/plans/enterprise/audit-logs",
- from: ["/seats/enterprise/audit-logs"],
- },
- {
- to: "/plans/migration",
- from: ["/seats/migration"],
- },
- // Contributing page relocation
- {
- to: "/contributing",
- from: ["/extending/contributing-to-kilo"],
- },
- {
- to: "/contributing/development-environment",
- from: ["/extending/development-environment"],
- },
- ],
- },
- ],
- [
- "docusaurus-plugin-llms",
- {
- id: "llms-txt",
- name: "Kilo Code Documentation",
- description:
- "Comprehensive documentation for Kilo Code, an AI-powered coding assistant for VS Code, Jetbrains, CLI & Cloud",
- url: "https://kilo.ai/docs",
- email: "hi@kilocode.ai",
- },
- ],
- ],
-
- themeConfig: {
- image: "img/kilo-v1.svg",
- navbar: {
- title: "Kilo Code",
- logo: {
- alt: "Kilo Code Logo",
- src: "img/kilo-v1.svg",
- srcDark: "img/kilo-v1-white.svg",
- href: "/",
- target: "_self",
- },
- items: [
- {
- href: GITHUB_MAIN_REPO_URL,
- label: "GitHub",
- position: "right",
- },
- {
- href: VSCODE_MARKETPLACE_URL,
- label: "Install Extension",
- position: "right",
- },
- {
- type: "localeDropdown",
- position: "right",
- },
- ],
- },
- footer: {
- style: "dark",
- links: [
- {
- title: "Community",
- items: [
- {
- label: "Discord",
- href: DISCORD_URL,
- },
- {
- label: "Reddit",
- href: REDDIT_URL,
- },
- {
- label: "Twitter",
- href: TWITTER_URL,
- },
- ],
- },
- {
- title: "GitHub",
- items: [
- {
- label: "Issues",
- href: GITHUB_ISSUES_MAIN_URL,
- },
- {
- label: "Feature Requests",
- href: GITHUB_FEATURES_URL,
- },
- ],
- },
- {
- title: "Download",
- items: [
- {
- label: "VS Code Marketplace",
- href: VSCODE_MARKETPLACE_URL,
- },
- {
- label: "Open VSX Registry",
- href: OPEN_VSX_URL,
- },
- ],
- },
- {
- title: "Company",
- items: [
- {
- label: "Contact",
- href: CONTACT_EMAIL,
- target: "_self",
- },
- {
- label: "Careers",
- href: CAREERS_URL,
- },
- {
- label: "Website Privacy Policy",
- href: WEBSITE_PRIVACY_URL,
- },
- {
- label: "Extension Privacy Policy",
- href: EXTENSION_PRIVACY_URL,
- },
- ],
- },
- ],
- },
- prism: {
- theme: prismThemes.github,
- darkTheme: prismThemes.dracula,
- },
- } satisfies Preset.ThemeConfig,
-}
-
-export default config
diff --git a/packages/kilo-docs/i18n/zh-CN/code.json b/packages/kilo-docs/i18n/zh-CN/code.json
deleted file mode 100644
index 62950aa3edb..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/code.json
+++ /dev/null
@@ -1,362 +0,0 @@
-{
- "theme.ErrorPageContent.title": {
- "message": "页面已崩溃。",
- "description": "The title of the fallback page when the page crashed"
- },
- "theme.BackToTopButton.buttonAriaLabel": {
- "message": "返回顶部",
- "description": "The ARIA label for the back to top button"
- },
- "theme.blog.archive.title": {
- "message": "历史博文",
- "description": "The page & hero title of the blog archive page"
- },
- "theme.blog.archive.description": {
- "message": "历史博文",
- "description": "The page & hero description of the blog archive page"
- },
- "theme.blog.paginator.navAriaLabel": {
- "message": "博文列表分页导航",
- "description": "The ARIA label for the blog pagination"
- },
- "theme.blog.paginator.newerEntries": {
- "message": "较新的博文",
- "description": "The label used to navigate to the newer blog posts page (previous page)"
- },
- "theme.blog.paginator.olderEntries": {
- "message": "较旧的博文",
- "description": "The label used to navigate to the older blog posts page (next page)"
- },
- "theme.blog.post.paginator.navAriaLabel": {
- "message": "博文分页导航",
- "description": "The ARIA label for the blog posts pagination"
- },
- "theme.blog.post.paginator.newerPost": {
- "message": "下一篇",
- "description": "The blog post button label to navigate to the newer/previous post"
- },
- "theme.blog.post.paginator.olderPost": {
- "message": "上一篇",
- "description": "The blog post button label to navigate to the older/next post"
- },
- "theme.tags.tagsPageLink": {
- "message": "查看所有标签",
- "description": "The label of the link targeting the tag list page"
- },
-"theme.colorToggle.ariaLabel.mode.system": {
- "message": "跟随系统",
- "description": "The name for the system color mode"
-}
-,
- "theme.colorToggle.ariaLabel.mode.light": {
- "message": "浅色模式",
- "description": "The name for the light color mode"
- },
- "theme.colorToggle.ariaLabel.mode.dark": {
- "message": "深色模式",
- "description": "The name for the dark color mode"
- },
- "theme.colorToggle.ariaLabel": {
- "message": "切换浅色/深色模式(当前为{mode})",
- "description": "The ARIA label for the color mode toggle"
- },
- "theme.docs.DocCard.categoryDescription.plurals": {
- "message": "{count} 个项目",
- "description": "The default description for a category card in the generated index about how many items this category includes"
- },
- "theme.docs.breadcrumbs.navAriaLabel": {
- "message": "页面路径",
- "description": "The ARIA label for the breadcrumbs"
- },
- "theme.docs.paginator.navAriaLabel": {
- "message": "文档导航",
- "description": "The ARIA label for the docs pagination"
- },
- "theme.docs.paginator.previous": {
- "message": "上一页",
- "description": "The label used to navigate to the previous doc"
- },
- "theme.docs.paginator.next": {
- "message": "下一页",
- "description": "The label used to navigate to the next doc"
- },
- "theme.docs.tagDocListPageTitle.nDocsTagged": {
- "message": "共 {count} 篇文档",
- "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
- },
- "theme.docs.tagDocListPageTitle": {
- "message": "标签「{tagName}」 - {nDocsTagged}",
- "description": "The title of the page for a docs tag"
- },
- "theme.docs.versions.unreleasedVersionLabel": {
- "message": "这是 {siteTitle} {versionLabel} 版本的未发布文档。",
- "description": "The label used to tell the user that he's browsing an unreleased doc version"
- },
- "theme.docs.versions.unmaintainedVersionLabel": {
- "message": "这是 {siteTitle} {versionLabel} 版本的文档,已不再维护。",
- "description": "The label used to tell the user that he's browsing an unmaintained doc version"
- },
- "theme.docs.versions.latestVersionSuggestionLabel": {
- "message": "请查看最新文档 {latestVersionLink} ({versionLabel})。",
- "description": "The label used to tell the user to check the latest version"
- },
- "theme.docs.versions.latestVersionLinkLabel": {
- "message": "最新版本",
- "description": "The label used for the latest version suggestion link label"
- },
- "theme.docs.versionBadge.label": {
- "message": "版本:{versionLabel}"
- },
- "theme.common.editThisPage": {
- "message": "编辑此页",
- "description": "The link label to edit the current page"
- },
- "theme.common.headingLinkTitle": {
- "message": "{heading}的链接",
- "description": "Title for link to heading"
- },
- "theme.lastUpdated.atDate": {
- "message": "于 {date} ",
- "description": "The words used to describe on which date a page has been last updated"
- },
- "theme.lastUpdated.byUser": {
- "message": "由 {user} ",
- "description": "The words used to describe by who the page has been last updated"
- },
- "theme.lastUpdated.lastUpdatedAtBy": {
- "message": "最后{byUser}{atDate}更新",
- "description": "The sentence used to display when a page has been last updated, and by who"
- },
- "theme.navbar.mobileVersionsDropdown.label": {
- "message": "选择版本",
- "description": "The label for the navbar versions dropdown on mobile view"
- },
- "theme.NotFound.title": {
- "message": "找不到页面",
- "description": "The title of the 404 page"
- },
- "theme.tags.tagsListLabel": {
- "message": "标签:",
- "description": "The label alongside a tag list"
- },
- "theme.AnnouncementBar.closeButtonAriaLabel": {
- "message": "关闭",
- "description": "The ARIA label for close button of announcement bar"
- },
- "theme.admonition.caution": {
- "message": "警告",
- "description": "The default label used for the Caution admonition (:::caution)"
- },
- "theme.admonition.danger": {
- "message": "风险",
- "description": "The default label used for the Danger admonition (:::danger)"
- },
- "theme.admonition.info": {
- "message": "信息",
- "description": "The default label used for the Info admonition (:::info)"
- },
- "theme.admonition.note": {
- "message": "备注",
- "description": "The default label used for the Note admonition (:::note)"
- },
- "theme.admonition.tip": {
- "message": "提示",
- "description": "The default label used for the Tip admonition (:::tip)"
- },
- "theme.admonition.warning": {
- "message": "注意",
- "description": "The default label used for the Warning admonition (:::warning)"
- },
- "theme.blog.sidebar.navAriaLabel": {
- "message": "最近博文导航",
- "description": "The ARIA label for recent posts in the blog sidebar"
- },
- "theme.DocSidebarItem.expandCategoryAriaLabel": {
- "message": "展开侧边栏分类 '{label}'",
- "description": "The ARIA label to expand the sidebar category"
- },
- "theme.DocSidebarItem.collapseCategoryAriaLabel": {
- "message": "折叠侧边栏分类 '{label}'",
- "description": "The ARIA label to collapse the sidebar category"
- },
- "theme.NavBar.navAriaLabel": {
- "message": "网站地图",
- "description": "The ARIA label for the main navigation"
- },
- "theme.NotFound.p1": {
- "message": "我们找不到您要找的页面。",
- "description": "The first paragraph of the 404 page"
- },
- "theme.NotFound.p2": {
- "message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",
- "description": "The 2nd paragraph of the 404 page"
- },
- "theme.TOCCollapsible.toggleButtonLabel": {
- "message": "目录",
- "description": "The label used by the button on the collapsible TOC component"
- },
- "theme.navbar.mobileLanguageDropdown.label": {
- "message": "选择语言",
- "description": "The label for the mobile language switcher dropdown"
- },
- "theme.blog.post.readingTime.plurals": {
- "message": "阅读需 {readingTime} 分钟",
- "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
- },
- "theme.blog.post.readMore": {
- "message": "阅读更多",
- "description": "The label used in blog post item excerpts to link to full blog posts"
- },
- "theme.blog.post.readMoreLabel": {
- "message": "阅读 {title} 的全文",
- "description": "The ARIA label for the link to full blog posts from excerpts"
- },
- "theme.CodeBlock.copy": {
- "message": "复制",
- "description": "The copy button label on code blocks"
- },
- "theme.CodeBlock.copied": {
- "message": "复制成功",
- "description": "The copied button label on code blocks"
- },
- "theme.CodeBlock.copyButtonAriaLabel": {
- "message": "复制代码到剪贴板",
- "description": "The ARIA label for copy code blocks button"
- },
- "theme.CodeBlock.wordWrapToggle": {
- "message": "切换自动换行",
- "description": "The title attribute for toggle word wrapping button of code block lines"
- },
- "theme.docs.sidebar.collapseButtonTitle": {
- "message": "收起侧边栏",
- "description": "The title attribute for collapse button of doc sidebar"
- },
- "theme.docs.sidebar.collapseButtonAriaLabel": {
- "message": "收起侧边栏",
- "description": "The title attribute for collapse button of doc sidebar"
- },
- "theme.docs.sidebar.navAriaLabel": {
- "message": "文档侧边栏",
- "description": "The ARIA label for the sidebar navigation"
- },
- "theme.docs.breadcrumbs.home": {
- "message": "主页",
- "description": "The ARIA label for the home page in the breadcrumbs"
- },
- "theme.docs.sidebar.closeSidebarButtonAriaLabel": {
- "message": "关闭导航栏",
- "description": "The ARIA label for close button of mobile sidebar"
- },
- "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
- "message": "← 返回主菜单",
- "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
- },
- "theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
- "message": "切换导航栏",
- "description": "The ARIA label for hamburger menu button of mobile navigation"
- },
- "theme.docs.sidebar.expandButtonTitle": {
- "message": "展开侧边栏",
- "description": "The ARIA label and title attribute for expand button of doc sidebar"
- },
- "theme.docs.sidebar.expandButtonAriaLabel": {
- "message": "展开侧边栏",
- "description": "The ARIA label and title attribute for expand button of doc sidebar"
- },
- "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": {
- "message": "展开下拉菜单",
- "description": "The ARIA label of the button to expand the mobile dropdown navbar item"
- },
- "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {
- "message": "折叠下拉菜单",
- "description": "The ARIA label of the button to collapse the mobile dropdown navbar item"
- },
- "theme.SearchPage.existingResultsTitle": {
- "message": "“{query}”的搜索结果",
- "description": "The search page title for non-empty query"
- },
- "theme.SearchPage.emptyResultsTitle": {
- "message": "查找文档",
- "description": "The search page title for empty query"
- },
- "theme.SearchPage.searchContext.everywhere": {
- "message": "所有"
- },
- "theme.SearchPage.documentsFound.plurals": {
- "message": "共找到 {count} 篇文档",
- "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
- },
- "theme.SearchPage.noResultsText": {
- "message": "未找到任何文档",
- "description": "The paragraph for empty search result"
- },
- "theme.SearchBar.noResultsText": {
- "message": "未找到任何文档"
- },
- "theme.SearchBar.seeAllOutsideContext": {
- "message": "查看“{context}”以外的全部结果"
- },
- "theme.SearchBar.searchInContext": {
- "message": "查看“{context}”以内的全部结果"
- },
- "theme.SearchBar.seeAll": {
- "message": "查看全部结果"
- },
- "theme.SearchBar.label": {
- "message": "搜索",
- "description": "The ARIA label and placeholder for search button"
- },
- "theme.blog.post.plurals": {
- "message": "{count} 篇博文",
- "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
- },
- "theme.blog.tagTitle": {
- "message": "{nPosts} 含有标签「{tagName}」",
- "description": "The title of the page for a blog tag"
- },
- "theme.blog.author.pageTitle": {
- "message": "{authorName} - {nPosts}",
- "description": "The title of the page for a blog author"
- },
- "theme.blog.authorsList.pageTitle": {
- "message": "作者",
- "description": "The title of the authors page"
- },
- "theme.blog.authorsList.viewAll": {
- "message": "查看所有作者",
- "description": "The label of the link targeting the blog authors page"
- },
- "theme.blog.author.noPosts": {
- "message": "该作者尚未撰写任何文章。",
- "description": "The text for authors with 0 blog post"
- },
- "theme.contentVisibility.unlistedBanner.title": {
- "message": "未公开页面",
- "description": "The unlisted content banner title"
- },
- "theme.contentVisibility.unlistedBanner.message": {
- "message": "此页面未公开。搜索引擎无法索引它,只有通过直接链接的用户才能访问。",
- "description": "The unlisted content banner message"
- },
- "theme.contentVisibility.draftBanner.title": {
- "message": "草稿页",
- "description": "The draft content banner title"
- },
- "theme.contentVisibility.draftBanner.message": {
- "message": "此页面是草稿,仅在开发环境中可见,不会包含在正式版本中。",
- "description": "The draft content banner message"
- },
- "theme.ErrorPageContent.tryAgain": {
- "message": "重试",
- "description": "The label of the button to try again rendering when the React error boundary captures an error"
- },
- "theme.common.skipToMainContent": {
- "message": "跳转到主要内容",
- "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
- },
- "theme.tags.tagsPageTitle": {
- "message": "标签",
- "description": "The title of the tag list page"
- }
-}
-
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current.json b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
deleted file mode 100644
index 074af068cb4..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "version.label": {
- "message": "下一个",
- "description": "The label for version current"
- },
- "sidebar.tutorialSidebar.category.Getting Started": {
- "message": "入门",
- "description": "The label for category Getting Started in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Using Kilo Code": {
- "message": "使用 Kilo Code",
- "description": "The label for category Using Kilo Code in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Basic Features": {
- "message": "基本功能",
- "description": "The label for category Basic Features in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Core Concepts": {
- "message": "核心概念",
- "description": "The label for category Core Concepts in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Advanced Usage": {
- "message": "高级用法",
- "description": "The label for category Advanced Usage in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Customizing Kilo Code": {
- "message": "自定义 Kilo Code",
- "description": "The label for category Customizing Kilo Code in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Advanced Context Features": {
- "message": "高级上下文功能",
- "description": "The label for category Advanced Context Features in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Advanced AI Features": {
- "message": "高级 AI 功能",
- "description": "The label for category Advanced AI Features in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Customization": {
- "message": "自定义",
- "description": "The label for category Customization in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Extending Kilo Code": {
- "message": "扩展 Kilo Code",
- "description": "The label for category Extending Kilo Code in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Model Providers": {
- "message": "模型供应商",
- "description": "The label for category Model Providers in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Model Context Protocol (MCP)": {
- "message": "模型上下文协议 (MCP)",
- "description": "The label for category Model Context Protocol (MCP) in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.category.Tools Reference": {
- "message": "工具参考",
- "description": "The label for category Tools Reference in sidebar tutorialSidebar"
- },
- "sidebar.tutorialSidebar.doc.Setup": {
- "message": "设置",
- "description": "The label for the doc item Setup in sidebar tutorialSidebar, linking to the doc getting-started/setting-up"
- }
-}
-
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/available-tools/codebase-search.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/available-tools/codebase-search.md
deleted file mode 100644
index b763b7052f2..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/available-tools/codebase-search.md
+++ /dev/null
@@ -1,240 +0,0 @@
-# codebase_search
-
-:::warning 实验性功能
-`codebase_search` 工具需要额外的设置,包括嵌入提供程序和向量数据库。
-:::
-
-`codebase_search` 工具使用 AI 嵌入在整个代码库中执行语义搜索。与传统的基于文本的搜索不同,它能理解查询的含义,即使没有完全匹配的关键字,也能找到相关的代码。
-
-## 参数
-
-该工具接受以下参数:
-
-- `query`(必填):自然语言搜索查询,描述你要查找的内容
-- `path`(可选):目录路径,用于将搜索范围限制在代码库的特定部分
-
-## 功能
-
-该工具通过语义相似性而非精确文本匹配来搜索你的索引代码库。它能找到与你的查询在概念上相关的代码块,即使它们不包含你搜索的确切单词。结果包括相关代码片段、文件路径、行号和相似度分数。
-
-## 使用场景
-
-- 当 Kilo Code 需要在项目中查找与特定功能相关的代码时
-- 当查找实现模式或相似代码结构时
-- 当搜索错误处理、身份验证或其他概念性代码模式时
-- 当探索不熟悉的代码库以了解功能实现时
-- 当查找可能受更改或重构影响的代码时
-
-## 主要特性
-
-- **语义理解**:通过含义而非精确关键字匹配查找代码
-- **跨项目搜索**:搜索整个索引代码库,而不仅仅是打开的文件
-- **上下文结果**:返回包含文件路径和行号的代码片段,便于导航
-- **相似度评分**:结果按相关性排序,带有相似度分数(0-1 范围)
-- **范围过滤**:可选路径参数,用于将搜索限制在特定目录
-- **智能排序**:结果按与查询的语义相关性排序
-- **UI 集成**:结果显示语法高亮和导航链接
-- **性能优化**:快速向量搜索,具有可配置的结果限制
-
-## 要求
-
-该工具仅在实验性代码库索引功能正确配置时可用:
-
-- **功能启用**:必须在实验设置中启用代码库索引
-- **嵌入提供程序**:需要 OpenAI API 密钥或 Ollama 配置
-- **向量数据库**:需要运行并访问 Qdrant 实例
-- **索引状态**:代码库必须已索引(状态:"已索引" 或 "正在索引")
-
-## 限制
-
-- **实验性功能**:属于实验性代码库索引系统的一部分
-- **需要配置**:依赖外部服务(嵌入提供程序 + Qdrant)
-- **索引依赖**:仅搜索已索引的代码块
-- **结果限制**:每次搜索最多返回 50 个结果以保持性能
-- **相似度阈值**:仅返回相似度分数高于 0.4 的结果
-- **文件大小限制**:仅限于成功索引的小于 1MB 的文件
-- **语言支持**:效果取决于 Tree-sitter 语言支持
-
-## 工作原理
-
-当调用 `codebase_search` 工具时,它会遵循以下过程:
-
-1. **可用性验证**:
-
- - 验证 CodeIndexManager 是否可用并已初始化
- - 确认设置中已启用代码库索引
- - 检查索引是否正确配置(API 密钥、Qdrant URL)
- - 验证当前索引状态是否允许搜索
-
-2. **查询处理**:
-
- - 获取你的自然语言查询并生成嵌入向量
- - 使用为索引配置的相同嵌入提供程序(OpenAI 或 Ollama)
- - 将查询的语义转换为数学表示
-
-3. **向量搜索执行**:
-
- - 在 Qdrant 向量数据库中搜索相似的代码嵌入
- - 使用余弦相似度查找最相关的代码块
- - 应用最小相似度阈值(0.4)以过滤结果
- - 将结果限制为 50 个匹配项以优化性能
-
-4. **路径过滤**(如果指定):
-
- - 过滤结果,仅包括指定目录路径中的文件
- - 使用标准化路径比较以进行准确过滤
- - 在过滤范围内保持相关性排序
-
-5. **结果处理和格式化**:
-
- - 将绝对文件路径转换为工作区相对路径
- - 使用文件路径、行范围、相似度分数和代码内容构建结果
- - 格式化为 AI 使用和 UI 显示,并带有语法高亮
-
-6. **双重输出格式**:
- - **AI 输出**:结构化文本格式,包含查询、文件路径、分数和代码块
- - **UI 输出**:JSON 格式,带有语法高亮和导航功能
-
-## 搜索查询最佳实践
-
-### 有效查询模式
-
-**良好:概念性和具体性**
-
-```xml
-
-用户身份验证和密码验证
-
-```
-
-**良好:功能导向**
-
-```xml
-
-数据库连接池设置
-
-```
-
-**良好:问题导向**
-
-```xml
-
-API 请求的错误处理
-
-```
-
-**效果较差:过于通用**
-
-```xml
-
-函数
-
-```
-
-### 适用查询类型
-
-- **功能描述**:"文件上传处理","电子邮件验证逻辑"
-- **技术模式**:"单例模式实现","工厂方法使用"
-- **领域概念**:"用户档案管理","支付处理流程"
-- **架构组件**:"中间件配置","数据库迁移脚本"
-
-## 目录范围限定
-
-使用可选的 `path` 参数将搜索范围限定在代码库的特定部分:
-
-**在 API 模块中搜索:**
-
-```xml
-
-端点验证中间件
-src/api
-
-```
-
-**在测试文件中搜索:**
-
-```xml
-
-模拟数据设置模式
-tests
-
-```
-
-**在特定功能目录中搜索:**
-
-```xml
-
-组件状态管理
-src/components/auth
-
-```
-
-## 结果解释
-
-### 相似度分数
-
-- **0.8-1.0**:高度相关匹配,很可能是你要找的内容
-- **0.6-0.8**:良好匹配,具有强概念相似性
-- **0.4-0.6**:可能相关,但可能需要审查
-- **低于 0.4**:作为太不相关而被过滤掉
-
-### 结果结构
-
-每个搜索结果包括:
-
-- **文件路径**:包含匹配项的文件的工作区相对路径
-- **分数**:表示相关性的相似度分数(0.4-1.0)
-- **行范围**:代码块的起始和结束行号
-- **代码块**:与查询匹配的实际代码内容
-
-## 使用示例
-
-- 当 Kilo Code 实现新功能时,搜索 "身份验证中间件" 以在编写新代码之前了解现有模式。
-- 当调试问题时,Kilo Code 搜索 "API 调用中的错误处理" 以查找代码库中相关的错误模式。
-- 当重构代码时,Kilo Code 搜索 "数据库事务模式" 以确保所有数据库操作的一致性。
-- 当加入新代码库时,Kilo Code 搜索 "配置加载" 以了解应用程序如何引导。
-
-## 使用示例
-
-在整个项目中搜索与身份验证相关的代码:
-
-```xml
-
-用户登录和身份验证逻辑
-
-```
-
-在特定目录中查找与数据库相关的代码:
-
-```xml
-
-数据库连接和查询执行
-src/data
-
-```
-
-在 API 代码中查找错误处理模式:
-
-```xml
-
-HTTP 错误响应和异常处理
-src/api
-
-```
-
-搜索测试工具和模拟设置:
-
-```xml
-
-测试设置和模拟数据创建
-tests
-
-```
-
-查找配置和环境设置代码:
-
-```xml
-
-环境变量和应用程序配置
-
-```
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/custom-instructions.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/custom-instructions.md
deleted file mode 100644
index 4576ed37576..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/custom-instructions.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# 自定义指令
-
-自定义指令允许你个性化 Kilo Code 的行为,提供特定的指导来塑造响应、编码风格和决策过程。
-
-## 什么是自定义指令?
-
-自定义指令定义了扩展的特定行为、偏好和约束,超出了 Kilo 的基本角色定义。示例包括编码风格、文档标准、测试要求和工作流指南。
-
-:::info 自定义指令 vs 规则
-自定义指令是 IDE 范围的,适用于所有工作区,无论你在处理哪个项目,都会保持你的偏好。与指令不同,[自定义规则](/advanced-usage/custom-rules.md) 是项目特定的,允许你设置基于工作区的规则集。
-:::
-
-## 设置自定义指令
-
-**如何设置:**
-
-
-1. **打开提示标签:** 点击 Kilo Code 顶部菜单栏中的 图标
-2. **找到部分:** 找到 "所有模式的自定义指令" 部分
-3. **输入指令:** 在文本区域输入你的指令
-4. **保存更改:** 点击 "完成" 保存你的更改
-
-#### 模式特定指令
-
-模式特定指令可以使用提示标签设置
-
-
- * **打开标签:** 点击 Kilo Code 顶部菜单栏中的 图标
- * **选择模式:** 在模式标题下,点击你想要自定义的模式按钮
- * **输入指令:** 在 "模式特定自定义指令(可选)" 下的文本区域输入你的指令
- * **保存更改:** 点击 "完成" 保存你的更改
-
- :::info 全局模式规则
- 如果模式本身是全局的(非工作区特定),你为其设置的任何自定义指令也将全局适用于所有工作区的该模式。
- :::
-
-
-## 相关功能
-
-- [自定义模式](/features/custom-modes)
-- [自定义规则](/advanced-usage/custom-rules)
-- [设置管理](/features/settings-management)
-- [自动批准设置](/features/auto-approving-actions)
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/custom-rules.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/custom-rules.md
deleted file mode 100644
index 38cd99d66e7..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/custom-rules.md
+++ /dev/null
@@ -1,217 +0,0 @@
-# 自定义规则
-
-自定义规则提供了一种强大的方式来定义项目特定的行为和约束,以确保 Kilo Code AI 代理的一致性。通过自定义规则,你可以确保格式一致、限制对敏感文件的访问、强制执行编码标准,并根据你的项目需求自定义 AI 的行为。
-
-## 概述
-
-自定义规则允许您创建文本指令,所有 AI 模型在与您的项目交互时都将遵循这些指令。这些规则充当护栏和约定,在与您的代码库的所有交互中始终得到遵守。规则可以通过文件系统和内置 UI 界面进行管理。
-
-## 规则格式
-
-自定义规则可以用纯文本编写,但建议使用 Markdown 格式,以便更好地组织和让 AI 模型理解。Markdown 的结构化特性有助于模型更有效地解析和理解你的规则。
-
-- 使用 Markdown 标题(`#`, `##` 等)定义规则类别
-- 使用列表(`-`, `*`)枚举特定项目或约束
-- 使用代码块(` `)在需要时包含代码示例
-
-## 规则类型
-
-Kilo Code 支持两种类型的自定义规则:
-
-- **项目规则**:仅适用于当前项目工作区
-- **全局规则**:适用于所有项目和工作区
-
-:::note UI 支持
-内置规则管理 UI 仅适用于一般规则。模式特定规则必须通过文件系统进行管理。
-:::
-
-## 规则位置
-
-### 项目规则
-
-自定义规则主要从 **`.kilocode/rules/` 目录** 加载。这是组织项目特定规则的推荐方法。每个规则通常放置在具有描述性名称的 Markdown 文件中:
-
-```
-project/
-├── .kilocode/
-│ ├── rules/
-│ │ ├── formatting.md
-│ │ ├── restricted_files.md
-│ │ └── naming_conventions.md
-├── src/
-└── ...
-```
-
-### 全局规则
-
-全局规则存储在您的主目录中,适用于所有项目:
-
-```
-~/.kilocode/
-├── rules/
-│ ├── coding_standards.md
-│ ├── security_guidelines.md
-│ └── documentation_style.md
-```
-
-## 通过 UI 管理规则
-
-Kilo Code 提供了一个内置界面,用于管理您的自定义规则,而无需手动编辑 `.kilocode/rules/` 目录中的文件。要访问 UI,请单击 Kilo Code 窗口**右下角**的 图标。
-
-您可以访问规则管理 UI 来:
-
-- 查看所有活动规则(项目和全局)
-- 在不删除规则的情况下切换规则的开启/关闭状态
-- 直接在界面中创建和编辑规则
-- 按类别和优先级组织规则
-
-## 规则加载顺序
-
-### 通用规则(所有模式)
-
-规则按以下优先级顺序加载:
-
-1. 存放在 `~/.kilocode/rules/` 目录的**全局规则**
-2. 存放在 `.kilocode/rules/` 目录的**项目规则**
-3. **旧版回退文件**(为了向后兼容):
- - `.roorules`
- - `.clinerules`
- - `.kilocoderules`(已弃用)
-
-当全局规则和项目规则都存在时,它们将合并,存在冲突时项目规则优先于全局规则。
-
-:::note
-我们强烈建议将规则保留在 `.kilocode/rules/` 文件夹中,因为它提供了更好的组织,并且是未来版本的首选方法。基于文件夹的结构允许更细粒度的规则组织和更清晰的关注点分离。基于文件的旧方法为了向后兼容而保留,但可能会在未来的版本中发生变化。
-:::
-
-### 模式特定规则
-
-此外,系统支持模式特定的规则,这些规则会单独加载,并有自己的优先级顺序:
-
-1. 首先检查 `.kilocode/rules-${mode}/` 目录
-2. 如果该目录不存在或为空,则回退到 `.kilocoderules-${mode}` 文件(已弃用)
-
-目前,模式特定规则仅在项目级别受支持。
-当通用规则和模式特定规则同时存在时,模式特定规则在最终输出中具有优先权。
-
-## 创建自定义规则
-
-### 使用 UI 界面
-
-
-
-创建和管理规则的最简单方法是通过内置 UI:
-
-1. 从 Kilo Code 面板访问规则管理界面
-2. 选择创建项目特定规则或全局规则
-3. 使用界面创建、编辑或切换规则
-4. 规则会自动保存并立即应用
-
-### 使用文件系统
-
-手动创建规则:
-
-**对于项目规则:**
-
-1. 如果不存在,请创建 `.kilocode/rules/` 目录
-2. 在此目录中创建一个具有描述性名称的新 Markdown 文件
-3. 使用 Markdown 格式编写你的规则
-4. 保存文件
-
-**对于全局规则:**
-
-1. 如果 `~/.kilocode/rules/` 目录尚不存在,则创建它
-2. 在此目录中创建一个新的 Markdown 文件,并带有描述性名称
-3. 使用 Markdown 格式编写您的规则
-4. 保存文件
-
-该规则将自动应用于你项目中所有未来的 Kilo Code 交互。任何新更改都会立即生效。
-
-## 规则示例
-
-### 示例 1:表格格式化
-
-```markdown
-# 表格
-
-打印表格时,始终在每列标题中添加感叹号
-```
-
-这个简单的规则指示 AI 在生成表格时在所有列标题中添加感叹号。
-
-### 示例 2:限制文件访问
-
-```markdown
-# 受限文件
-
-列表中包含敏感数据的文件,禁止读取
-
-- supersecrets.txt
-- credentials.json
-- .env
-```
-
-此规则防止 AI 读取或访问敏感文件,即使明确要求这样做。
-
-
-
-## 使用场景
-
-自定义规则可以应用于各种场景:
-
-- **代码风格**:强制执行一致的格式、命名约定和文档风格
-- **安全控制**:防止访问敏感文件或目录
-- **项目结构**:定义不同类型文件的创建位置
-- **文档要求**:指定文档格式和要求
-- **测试模式**:定义测试的结构方式
-- **API 使用**:指定 API 的使用和文档方式
-- **错误处理**:定义错误处理约定
-
-## 自定义规则示例
-
-- "严格遵守代码风格指南 [你的项目特定代码风格指南]"
-- "始终使用空格缩进,宽度为 4 个空格"
-- "使用 camelCase 命名变量"
-- "为所有新函数编写单元测试"
-- "在提供代码之前解释你的推理"
-- "专注于代码的可读性和可维护性"
-- "优先使用社区中最常见的库"
-- "当为网站添加新功能时,确保它们是响应式且可访问的"
-
-## 最佳实践
-
-- **具体明确**:明确定义每个规则的范围和意图
-- **使用类别**:将相关规则组织在共同的标题下
-- **分离关注点**:为不同类型的规则使用不同的文件
-- **使用示例**:包含示例以说明预期行为
-- **保持简单**:规则应简洁易懂
-- **定期更新**:随着项目需求的变化,定期审查和更新规则
-
-:::tip 专业提示:基于文件的团队标准
-在团队环境中工作时,将 `.kilocode/rules/codestyle.md` 文件置于版本控制之下,可以让你在整个开发团队中标准化 Kilo 的行为。这确保了项目中的每个人都有一致的代码风格、文档实践和开发工作流程。
-:::
-
-## 限制
-
-- 规则由 AI 模型尽力应用
-- 复杂规则可能需要多个示例才能清晰理解
-- 项目规则仅适用于定义它们的项目
-- 全局规则适用于所有项目
-
-## 故障排除
-
-如果你的自定义规则未被正确遵循:
-
-1. 检查你的规则是否使用清晰的 Markdown 结构正确格式化
-2. 确保你的规则位于以下支持的位置之一:
- - 推荐的 `.kilocode/rules/` 目录
- - 根级规则文件(`.kilocoderules`, `.roorules`, 或 `.clinerules`)
-3. 验证规则是否具体且明确
-4. 重启 VS Code 以确保规则正确加载
-
-## 相关功能
-
-- [自定义模式](/features/custom-modes)
-- [自定义指令](/advanced-usage/custom-instructions)
-- [设置管理](/features/settings-management)
-- [自动批准设置](/features/auto-approving-actions)
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/free-and-budget-models.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/free-and-budget-models.md
deleted file mode 100644
index 6f5b0beb101..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/free-and-budget-models.md
+++ /dev/null
@@ -1,283 +0,0 @@
----
-sidebar_label: 免费和预算模型
----
-
-# 免费和低成本使用 Kilo Code
-
-**为什么这很重要:** 在开发过程中,AI 模型成本可能会迅速累积。本指南展示了如何通过免费模型、经济实惠的替代方案和智能使用策略,在最小化或消除成本的同时有效使用 Kilo Code。
-
-## 完全免费的选项
-
-### Grok Code Fast 1
-
-这款前沿 AI 模型在 Kilo Code 中限时 100% 免费。[查看博客文章了解更多信息](https://blog.kilo.ai/p/grok-code-fast-get-this-frontier-ai-model-free)。
-
-### OpenRouter 免费层级模型
-
-OpenRouter 免费提供了几种具有慷慨额度的模型。**注意:** 你需要创建一个免费的 OpenRouter 账户才能访问这些模型。
-
-**设置:**
-
-1. 创建一个免费的 [OpenRouter 账户](https://openrouter.ai)
-2. 从仪表板获取你的 API 密钥
-3. 使用 OpenRouter 供应商配置 Kilo Code
-
-**可用的免费模型:**
-
-- **Qwen3 Coder (免费)** - 针对代理编码任务进行了优化,如函数调用、工具使用和对仓库的长上下文推理。
-- **Z.AI: GLM 4.5 Air (免费)** - GLM-4.5 系列的轻量级变体,专为以代理为中心的应用程序而构建。
-- **DeepSeek: R1 0528 (免费)** - 性能与 OpenAI o1 相当,但是开源的并且具有完全开放的推理令牌。
-- **MoonshotAI: Kimi K2 (免费)** - 针对代理能力进行了优化,包括高级工具使用、推理和代码合成。
-
-## 性价比高的付费模型
-
-当你需要比免费模型提供更多功能时,这些选项提供了极佳的价值:
-
-### 超低预算冠军(每百万 Tokens 低于 $0.50)
-
-**Mistral Devstral Small**
-
-- **成本:** ~$0.20 每百万输入 Tokens
-- **最佳用途:** 代码生成、调试、重构
-- **性能:** 85% 的高级模型能力,成本仅为 10%
-
-**Llama 4 Maverick**
-
-- **成本:** ~$0.30 每百万输入 Tokens
-- **最佳用途:** 复杂推理、架构规划
-- **性能:** 适用于大多数开发任务
-
-**DeepSeek v3**
-
-- **成本:** ~$0.27 每百万输入 Tokens
-- **最佳用途:** 代码分析、大型代码库理解
-- **性能:** 强大的技术推理能力
-
-### 中等价位模型(每百万 Tokens $0.50-$2.00)
-
-**Qwen3 235B**
-
-- **成本:** ~$1.20 每百万输入 Tokens
-- **最佳用途:** 需要高精度的复杂项目
-- **性能:** 接近高级质量,成本为 40%
-
-## 智能使用策略
-
-### 50% 规则
-
-**原则:** 将预算模型用于 50% 的任务,将高级模型用于另外 50% 的任务。
-
-**预算模型任务:**
-
-- 代码审查和分析
-- 文档编写
-- 简单的错误修复
-- 样板代码生成
-- 重构现有代码
-
-**高级模型任务:**
-
-- 复杂的架构决策
-- 调试困难的问题
-- 性能优化
-- 新功能设计
-- 关键生产代码
-
-### 成本节约的上下文管理
-
-**最小化上下文大小:**
-
-```typescript
-// 而不是提及整个文件
-@src/components/UserProfile.tsx
-
-// 提及特定函数或部分
-@src/components/UserProfile.tsx:45-67
-```
-
-**有效使用记忆库:**
-
-- 在 [Memory bank](/advanced-usage/memory-bank) 中存储一次项目上下文
-- 减少重复解释项目细节的需要
-- 每次对话节省 200-500 个 Tokens
-
-**战略性文件提及:**
-
-- 仅包含与任务直接相关的文件
-- 使用 [`@folder/`](/basic-usage/context-mentions) 获取广泛上下文,使用特定文件进行针对性工作
-
-### 模型切换策略
-
-**从便宜开始,需要时升级:**
-
-1. **从免费模型开始**(Qwen3 Coder, GLM-4.5-Air)
-2. **如果免费模型难以胜任,则切换到预算模型**
-3. **仅对复杂任务升级到高级模型**
-
-**使用 API 配置档案:**
-
-- 为不同成本层级设置 [多个配置](/features/api-configuration-profiles)
-- 在免费、预算和高级模型之间快速切换
-- 根据任务复杂性匹配模型能力
-
-### 基于模式的成本优化
-
-**使用适当的模式来限制昂贵的操作:**
-
-- **[询问模式](/basic-usage/using-modes#问答模式):** 信息收集,无需代码更改
-- **[架构师模式](/basic-usage/using-modes#架构师模式):** 规划,无需昂贵的文件操作
-- **[调试模式](/basic-usage/using-modes#调试模式):** 专注的故障排除
-
-**用于预算控制的自定义模式:**
-
-- 创建限制昂贵工具的模式
-- 限制对特定目录的文件访问
-- 控制哪些操作是自动批准的
-
-## 现实世界的性能比较
-
-### 代码生成任务
-
-**简单函数创建:**
-
-- **Mistral Devstral Small:** 95% 成功率
-- **GPT-4:** 98% 成功率
-- **成本差异:** 免费 vs $0.20 vs $30 每百万令牌
-
-**复杂重构:**
-
-- **预算模型:** 70-80% 成功率
-- **高级模型:** 90-95% 成功率
-- **建议:** 从预算开始,需要时再升级
-
-### 调试性能
-
-**简单错误:**
-
-- **免费模型:** 通常足够
-- **预算模型:** 表现优秀
-- **高级模型:** 对于大多数情况来说过于强大
-
-**复杂系统问题:**
-
-- **免费模型:** 40-60% 成功率
-- **预算模型:** 60-80% 成功率
-- **高级模型:** 85-95% 成功率
-
-## 混合方法建议
-
-### 日常开发工作流程
-
-**早晨规划会议:**
-
-- 使用 **架构师模式** 配合 **DeepSeek R1**
-- 规划特性和架构
-- 创建任务分解
-
-**实施阶段:**
-
-- 使用 **代码模式** 配合 **预算模型**
-- 生成和修改代码
-- 处理日常开发任务
-
-**复杂问题解决:**
-
-- 当遇到困难时切换到 **高级模型**
-- 用于关键调试
-- 影响多个系统的架构决策
-
-### 项目阶段策略
-
-**早期开发:**
-
-- 免费和预算模型用于原型制作
-- 快速迭代,无需担心成本
-- 建立模式和结构
-
-**生产准备:**
-
-- 高级模型用于关键代码审查
-- 性能优化
-- 安全考虑
-
-## 成本监控和控制
-
-### 跟踪你的使用情况
-
-**监控令牌消耗:**
-
-- 查看聊天历史中的成本估算
-- 审查每月使用模式
-- 识别高成本操作
-
-**设置支出限额:**
-
-- 使用提供商账单警报
-- 配置 [速率限制](/advanced-usage/rate-limits-costs) 来控制使用
-- 设置每日/每月预算
-
-### 节约成本的技巧
-
-**减少系统提示大小:**
-
-- 如果不使用外部工具,则 [禁用 MCP](/features/mcp/using-mcp-in-kilo-code)
-- 使用专注的自定义模式
-- 最小化不必要的上下文
-
-**优化对话长度:**
-
-- 使用 [检查点](/features/checkpoints) 重置上下文
-- 为无关任务开始新的对话
-- 归档已完成的工作
-
-**批量处理相似任务:**
-
-- 分组相关的代码更改
-- 在单个请求中处理多个文件
-- 减少对话开销
-
-## 开始使用预算模型
-
-### 快速设置指南
-
-1. **创建 OpenRouter 账户** 以获取免费模型
-2. **在 Kilo Code 中配置多个提供商**
-3. **设置 API 配置档案** 以便轻松切换
-4. **在需要时升级到预算模型**
-5. **为复杂工作预留高级模型**
-
-### 推荐的提供商组合
-
-**免费层用于基础:**
-
-- [OpenRouter](/providers/openrouter) - 免费模型
-- [Groq](/providers/groq) - 支持模型的快速推理
-- [Z.ai](https://z.ai/model-api) - 提供免费模型 GLM-4.5-Flash
-
-**预算层用于选则:**
-
-- [DeepSeek](/providers/deepseek) - 性价比极高的模型
-- [Mistral](/providers/mistral) - 专业的编码模型
-
-**高级层用于备份:**
-
-- [Anthropic](/providers/anthropic) - Claude 用于复杂推理
-- [OpenAI](/providers/openai) - GPT-4 用于关键任务
-
-## 衡量是否成功
-
-**跟踪这些指标:**
-
-- 每月 AI 成本 vs 开发生产力
-- 按模型层级的任务完成率
-- 节省的时间 vs 花费的钱
-- 代码质量改进
-
-**成功指标:**
-
-- 70%+ 的任务使用免费/预算模型完成
-- 每月成本在你的目标预算内
-- 保持或提高代码质量
-- 更快的开发周期
-
-通过结合免费模型、战略性预算模型使用和智能优化技术,你可以在保持最低成本的同时充分利用 AI 辅助开发的强大功能。从免费选项开始,随着你的需求和对成本的适应程度逐渐增加预算模型。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/large-projects.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/large-projects.md
deleted file mode 100644
index 17c1b7135b5..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/large-projects.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# 处理大型项目
-
-Kilo Code 可以用于任何规模的项目,但处理大型项目时需要特别注意上下文管理。以下是一些处理大型代码库的技巧:
-
-## 理解上下文限制
-
-Kilo Code 使用的大语言模型 (LLMs) 有一个有限的 "上下文窗口"。这是模型一次可以处理的文本的最大量(以 token 为单位)。如果上下文过大,模型可能无法理解你的请求或生成准确的响应。
-
-上下文窗口包括:
-
-* 系统提示(Kilo Code 的指令)。
-* 对话历史记录。
-* 你使用 `@` 提到的任何文件内容。
-* Kilo Code 使用的任何命令或工具的输出。
-
-## 管理上下文的策略
-
-1. **具体化:** 当引用文件或代码时,使用具体的文件路径和函数名称。避免使用模糊的引用,如 "主文件"。
-
-2. **有效使用上下文提及:** 使用 `@/path/to/file.ts` 来包含特定文件。使用 `@problems` 来包含当前错误和警告。使用 `@` 后跟提交哈希来引用特定的 Git 提交。
-
-3. **分解任务:** 将大型任务分解为更小、更易管理的子任务。这有助于保持上下文的聚焦。
-
-4. **总结:** 如果需要引用大量代码,考虑在提示中总结相关部分,而不是包含整个代码。
-
-5. **优先处理最近的历史记录:** Kilo Code 会自动截断对话历史记录中的旧消息,以保持在上下文窗口内。请注意这一点,并在需要时重新包含重要上下文。
-
-6. **使用提示缓存(如果可用):** 一些 API 提供商如 Anthropic、OpenAI、OpenRouter 和 Requesty 支持 "提示缓存"。这将缓存你的提示以供未来任务使用,有助于降低请求的成本和延迟。
-
-## 示例:重构大型文件
-
-假设你需要重构一个大型 TypeScript 文件 (`src/components/MyComponent.tsx`)。以下是一个可能的方法:
-
-1. **初始概览:**
- ```
- @/src/components/MyComponent.tsx 列出此文件中的函数和类。
- ```
-
-2. **定位特定函数:**
- ```
- @/src/components/MyComponent.tsx 将 `processData` 函数重构为使用 `async/await` 而不是 Promises。
- ```
-
-3. **迭代更改:** 进行小的、增量的更改,审查并批准每一步。
-
-通过分解任务并提供具体的上下文,即使在上下文窗口有限的情况下,你也可以有效地处理大型文件。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/local-models.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/local-models.md
deleted file mode 100644
index 5321bb1cce0..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/local-models.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# 使用本地模型
-
-Kilo Code 支持使用 [Ollama](https://ollama.com/) 和 [LM Studio](https://lmstudio.ai/) 在本地计算机上运行语言模型。这提供了以下优势:
-
-* **隐私性**:你的代码和数据永远不会离开你的计算机。
-* **离线访问**:即使没有互联网连接,你也可以使用 Kilo Code。
-* **成本节约**:避免与云端模型相关的 API 使用费用。
-* **定制性**:可以尝试不同的模型和配置。
-
-**然而,使用本地模型也有一些缺点:**
-
-* **资源需求**:本地模型可能对资源要求较高,需要一台性能强大的计算机,最好配备专用 GPU。
-* **设置复杂性**:设置本地模型可能比使用云端 API 更复杂。
-* **模型性能**:本地模型的性能可能差异较大。虽然有些模型表现优秀,但可能无法与最大、最先进的云端模型相媲美。
-* **功能限制**:本地模型(以及许多在线模型)通常不支持高级功能,例如提示缓存、计算机使用等。
-
-## 支持的本地模型提供商
-
-Kilo Code 目前支持两个主要的本地模型提供商:
-
-1. **Ollama**:一个流行的开源工具,用于在本地运行大型语言模型。它支持多种模型。
-2. **LM Studio**:一个用户友好的桌面应用程序,简化了下载、配置和运行本地模型的过程。它还提供了一个模拟 OpenAI API 的本地服务器。
-
-## 设置本地模型
-
-有关详细设置说明,请参阅:
-* [设置 Ollama](/providers/ollama)
-* [设置 LM Studio](/providers/lmstudio)
-
-这两个提供商提供类似的功能,但用户界面和工作流程不同。Ollama 通过命令行界面提供更多控制,而 LM Studio 提供了一个更友好的图形界面。
-
-## 故障排除
-
-* **“由于目标计算机主动拒绝,无法建立连接”**:这通常意味着 Ollama 或 LM Studio 服务器未运行,或者 Kilo Code 配置的端口/地址与服务器不一致。请仔细检查 Base URL 设置。
-
-* **响应时间慢**:本地模型可能比云端模型慢,尤其是在硬件性能较低的情况下。如果遇到性能问题,请尝试使用较小的模型。
-
-* **找不到模型**:请确保你正确输入了模型名称。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/memory-bank.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/memory-bank.md
deleted file mode 100644
index 6a1d220d32f..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/memory-bank.md
+++ /dev/null
@@ -1,297 +0,0 @@
-# Memory Bank
-
-## 概述
-
-
-
-
- 启用 Memory Bank 后,Kilo Code 可以更高效地工作,立即理解项目上下文和技术栈。
-
-
-
-### 问题:AI 记忆丢失
-
-像 Kilo Code 这样的 AI 助手面临一个根本性的限制:它们会在会话之间完全重置。这种“记忆丢失”意味着每次开始新的对话时,都需要重新解释项目的架构、目标、技术和当前状态。这造成了一个关键效率困境:AI 模型要么在没有正确理解项目的情况下进行编辑(导致错误和解决方案不一致),要么必须在每个会话中花费大量时间和资源分析整个代码库(对于大型项目来说,这既昂贵又缓慢)。
-
-如果没有解决这个记忆问题,AI 助手仍然是强大但无状态的工具,无法真正作为持续的开发伙伴。
-
-### 解决方案:Memory Bank
-
-Memory Bank 是一个结构化文档系统,使 Kilo Code 能够**更好地理解你的项目**并**在编码会话之间保持上下文**。它将你的 AI 助手从无状态工具转变为具有完美项目记忆的持续开发伙伴。Kilo Code 会在每次开始新会话时自动读取你的 Memory Bank 文件,以重建对项目的理解。
-
-当 Memory Bank 处于活动状态时,Kilo Code 会在每个任务的开始处显示 `[Memory Bank: Active]`,并简要总结你的项目上下文,确保在不重复解释的情况下保持一致性。
-
-## 主要优点
-
-- **语言无关**:适用于任何编程语言或框架
-- **高效的项目理解**:帮助 Kilo Code 理解项目的用途和技术栈
-- **上下文保留**:在会话之间维护项目知识,而无需在每个新会话中扫描文件
-- **更快的启动**:Kilo Code 在开始新会话时立即理解你的项目上下文
-- **自我记录项目**:作为副产品创建有价值的文档
-
-## Memory Bank 的工作原理
-
-Memory Bank 基于 Kilo Code 的 [自定义规则](/advanced-usage/custom-rules) 功能构建,为项目文档提供了一个专门的框架。Memory Bank 文件是存储在项目仓库 `.kilocode/rules/memory-bank` 文件夹中的标准 Markdown 文件。它们不是隐藏或专有的——它们是你和 Kilo Code 都可以访问的常规文档文件。
-
-在每个任务开始时,Kilo Code 会读取所有 Memory Bank 文件,以构建对项目的全面理解。这是自动进行的,不需要你采取任何操作。Kilo Code 然后会在其响应的开头显示 `[Memory Bank: Active]`,表示 Memory Bank 已成功激活,并简要总结其对项目的理解。
-
-文件按层次结构组织,构建项目的完整视图:
-
-## 核心 Memory Bank 文件
-
-### brief.md
-*此文件由你手动创建和维护*
-- 项目的基础
-- 项目的高级概述
-- 核心需求和目标
-
-示例:*"构建一个带有条形码扫描功能的 React 库存管理系统。该系统需要支持多个仓库并与我们现有的 ERP 系统集成。"*
-
-注意:Kilo Code 不会直接编辑此文件,但如果发现可以改进项目摘要的方式,可能会提出建议。
-
-### product.md
-- 解释项目存在的原因
-- 描述正在解决的问题
-- 概述产品应如何工作
-- 用户体验目标
-
-示例:*"库存系统需要支持多个仓库和实时更新。它通过提供条形码扫描来解决库存差异问题,确保准确的库存计数。"*
-
-### context.md
-- 更新最频繁的文件
-- 包含当前工作重点和最近的变化
-- 跟踪活动决策和考虑事项
-- 开发的下一步
-
-示例:*"当前正在实施条形码扫描组件;上次会话完成了 API 集成。下一步包括为网络故障添加错误处理。"*
-
-### architecture.md
-- 记录系统架构
-- 记录关键技术决策
-- 列出正在使用的设计模式
-- 解释组件关系
-- 关键实现路径
-
-示例:*"使用 Redux 进行状态管理,采用规范化的存储结构。应用程序遵循模块化架构,API 通信、状态管理和 UI 组件分别位于不同的服务中。"*
-
-### tech.md
-- 列出使用的技术和框架
-- 描述开发设置
-- 记录技术约束
-- 记录依赖项和工具配置
-- 工具使用模式
-
-示例:*"React 18、TypeScript、Firebase、Jest 用于测试。开发需要 Node.js 16+ 并使用 Vite 作为构建工具。"*
-
-## 其他上下文文件
-
-根据需要创建其他文件以组织:
-- 复杂功能文档
-- 集成规范
-- API 文档
-- 测试策略
-- 部署程序
-
-这些附加文件有助于组织不适合核心文件的更详细信息。
-
-### tasks.md
-*用于记录重复任务的可选文件*
-- 存储遵循类似模式的任务的工作流程
-- 记录需要修改的文件
-- 记录分步程序
-- 记录重要的注意事项和陷阱
-
-示例:添加对新 AI 模型的支持、实现 API 端点或任何需要重复执行类似工作的任务。
-
-## 开始使用 Memory Bank
-
-### 首次设置
-
-1. 在项目中创建 `.kilocode/rules/memory-bank/` 文件夹
-2. 在 `.kilocode/rules/memory-bank/brief.md` 中编写基本的项目摘要
-3. 创建文件 `.kilocode/rules/memory-bank-instructions.md` 并将 [此文档](pathname:///downloads/memory-bank.md) 粘贴到其中
-4. 切换到 `Architect` 模式
-5. 检查是否选择了最佳可用的 AI 模型,不要使用“轻量级”模型
-6. 要求 Kilo Code “initialize memory bank”
-7. 等待 Kilo Code 分析你的项目并初始化 Memory Bank 文件
-8. 验证文件内容,确保项目描述正确。如有必要,更新文件。
-
-### 项目摘要提示
-
-- 从简单开始——它可以是你喜欢的任何详细程度或高级程度
-- 专注于对你最重要的事情
-- Kilo Code 将帮助填补空白并提出问题
-- 你可以随着项目的发展更新它
-
-提供合理摘要的示例提示:
-
-```
-提供此项目的简明而全面的描述,突出其主要目标、关键功能、使用的技术和重要性。然后,将此描述写入适当命名的文本文件中,以反映项目内容,确保写作的清晰性和专业性。保持简洁。
-```
-
-## 使用 Memory Bank
-
-### 核心工作流程
-
-#### Memory Bank 初始化
-
-初始化步骤至关重要,因为它为所有未来的项目交互奠定了基础。当你使用命令 `initialize memory bank` 请求初始化时,Kilo Code 将:
-
-1. 对你的项目进行详尽的分析,包括:
- - 所有源代码文件及其关系
- - 配置文件和构建系统设置
- - 项目结构和组织模式
- - 文档和注释
- - 依赖项和外部集成
- - 测试框架和模式
-2. 在 `.kilocode/rules/memory-bank` 文件夹中创建全面的 Memory Bank 文件
-3. 提供对其对项目的理解的详细摘要
-4. 要求你验证生成文件的准确性
-
-:::warning 重要
-初始化后,请花时间仔细审查并更正生成的文件。此阶段的任何误解或缺失信息都会影响所有未来的交互。彻底的初始化将显著提高 Kilo Code 的有效性,而仓促或不完整的初始化将永久限制其有效协助你的能力。
-:::
-
-#### Memory Bank 更新
-
-Memory Bank 更新发生在以下情况:
-1. 发现新的项目模式
-2. 实施重大更改后
-3. 当你明确请求 `update memory bank` 时
-4. 当上下文需要澄清时
-
-要执行 Memory Bank 更新,Kilo Code 将:
-1. 审查所有项目文件
-2. 记录当前状态
-3. 记录见解和模式
-4. 根据需要更新所有 Memory Bank 文件
-
-你可以使用类似 `update memory bank using information from @/Makefile` 的命令来指导 Kilo Code 专注于特定的信息源。
-
-#### 常规任务执行
-
-在每个任务开始时,Kilo Code:
-1. 读取所有 Memory Bank 文件
-2. 在其响应的开头包含 `[Memory Bank: Active]`
-3. 提供其对项目理解的简要摘要
-4. 继续执行请求的任务
-
-在任务结束时,如果进行了重大更改,Kilo Code 可能会建议更新 Memory Bank,使用短语:“Would you like me to update memory bank to reflect these changes?”
-
-#### 添加任务工作流程
-
-当你完成一个重复的任务时,你可以将其记录下来以备将来参考。这对于遵循现有模式添加功能等任务特别有用。
-
-要记录任务,请使用命令 `add task` 或 `store this as a task`。Kilo Code 将:
-1. 创建或更新 Memory Bank 文件夹中的 `tasks.md` 文件
-2. 使用当前上下文记录任务:
- - 任务名称和描述
- - 需要修改的文件列表
- - 分步工作流程
- - 重要的注意事项
- - 示例实现
-
-当开始新任务时,Kilo Code 会检查它是否与任何记录的任务匹配,并遵循已建立的工作流程,以确保不会遗漏任何步骤。
-
-### 关键命令
-
-- `initialize memory bank` - 在开始新项目时使用
-- `update memory bank` - 启动对当前任务的上下文文档的全面重新分析。**注意:**此操作资源密集,由于可能降低有效性,不建议用于“轻量级”模型。可以多次使用,可与特定指令很好地结合,例如 `update memory bank using information from @/Makefile`
-- `add task` 或 `store this as a task` - 记录重复任务以备将来参考
-
-### 状态指示器
-
-Kilo Code 使用状态指示器来清楚地传达 Memory Bank 状态:
-
-- `[Memory Bank: Active]` - 表示 Memory Bank 文件已成功读取并正在使用
-- `[Memory Bank: Missing]` - 表示找不到 Memory Bank 文件或文件为空
-
-这些指示器出现在 Kilo Code 响应的开头,提供 Memory Bank 状态的即时确认。
-
-### 文档更新
-
-Memory Bank 更新应自动发生在以下情况:
-- 发现新的项目模式
-- 实施重大更改后
-- 当你明确请求 `update memory bank` 时
-- 当上下文需要澄清时
-
-## 上下文窗口管理
-
-当你与 Kilo Code 一起工作时,你的上下文窗口最终会填满。当你注意到响应速度变慢或引用变得不那么准确时:
-
-1. 要求 Kilo Code “update memory bank” 以记录当前状态
-2. 开始新的对话/任务
-3. Kilo Code 将在新对话中自动访问你的 Memory Bank
-
-此过程确保在多个会话之间保持连续性,而不会丢失重要上下文。
-
-## 处理不一致
-
-如果 Kilo Code 检测到 Memory Bank 文件之间的不一致:
-
-1. 它将优先考虑 `brief.md` 中的信息作为真相来源
-2. 向你指出任何不一致之处
-3. 继续使用最可靠的信息
-
-这确保即使文档不完美,Kilo Code 仍然可以有效地工作。
-
-## 常见问题解答
-
-### Memory Bank 文件存储在哪里?
-Memory Bank 文件是存储在项目仓库中的常规 Markdown 文件,通常在 `.kilocode/rules/memory-bank/` 文件夹中。它们不是隐藏的系统文件——它们旨在成为项目文档的一部分。
-
-### 我应该多久更新一次 Memory Bank?
-在重大里程碑或方向变化后更新 Memory Bank。对于活跃的开发,每隔几次会话更新一次会很有帮助。当你希望确保所有上下文都得到保留时,请使用“update memory bank”命令。
-
-### 我可以手动编辑 Memory Bank 文件吗?
-是的!虽然 Kilo Code 管理大多数文件,但你可以手动编辑其中任何文件。`brief.md` 文件专门设计为由你维护。Kilo Code 会尊重对其他文件的手动编辑。
-
-### 如果 Memory Bank 文件丢失会发生什么?
-如果 Memory Bank 文件丢失,Kilo Code 会在其响应的开头显示 `[Memory Bank: Missing]`,并建议初始化 Memory Bank。
-
-### Memory Bank 是否适用于所有 AI 模型?
-Memory Bank 适用于所有 AI 模型,但更强大的模型将创建更全面和准确的 Memory Bank 文件。轻量级模型可能难以处理分析和更新 Memory Bank 文件的资源密集型过程。
-
-### 我可以在多个项目中使用 Memory Bank 吗?
-是的!每个项目都有自己的 Memory Bank,位于其 `.kilocode/rules/memory-bank/` 文件夹中。Kilo Code 会自动为每个项目使用正确的 Memory Bank。
-
-### Memory Bank 是否会占用我的上下文窗口?
-是的,Memory Bank 在每个会话开始时确实会占用一些上下文窗口,因为它会加载所有 Memory Bank 文件。然而,这是一个战略性的权衡,可以显著提高整体效率。通过预先加载项目上下文:
-
-- 你消除了重复解释,这些解释会随着时间的推移消耗更多的上下文
-- 你可以通过更少的来回交流达到富有成效的结果
-- 你在整个会话中保持一致性理解
-
-测试表明,虽然 Memory Bank 最初使用了更多的 token,但它显著减少了实现结果所需的总交互次数。这意味着更少的时间解释和更多的时间构建。
-
-## 最佳实践
-
-### 开始使用
-- 从基本项目摘要开始,让结构逐步发展
-- 让 Kilo Code 帮助创建初始结构
-- 根据需要审查和调整文件以匹配你的工作流程
-- 初始化后验证生成文件的准确性
-
-### 持续工作
-- 让模式随着工作自然出现
-- 不要强制文档更新——它们应该有机地发生
-- 信任过程——价值会随着时间的推移而复合
-- 在会话开始时注意上下文确认
-- 使用状态指示器确认 Memory Bank 处于活动状态
-
-### 文档流程
-- `brief.md` 是你的基础
-- `context.md` 变化最频繁
-- 所有文件共同维护项目智能
-- 在重大里程碑或方向变化后更新
-
-### 优化 Memory Bank 性能
-- 保持 Memory Bank 文件简洁且重点突出
-- 使用附加文件进行详细文档记录
-- 定期更新但不要过度
-- 专注于特定方面时使用特定的更新命令
-
-## 记住
-
-Memory Bank 是 Kilo Code 与之前工作的唯一链接。其有效性完全依赖于在每个交互中维护清晰、准确的文档并确认上下文保留。当你在响应开头看到 `[Memory Bank: Active]` 时,你可以确信 Kilo Code 对你的项目有全面的理解。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/prompt-engineering.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/prompt-engineering.md
deleted file mode 100644
index 6242bbe9206..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/prompt-engineering.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# Prompt Engineering 技巧
-
-Prompt engineering 是为 AI 模型(如 Kilo Code)编写有效指令的艺术。精心编写的提示可以带来更好的结果、更少的错误和更高的工作效率。
-
-## 通用原则
-
-* **清晰且具体:** 清楚地说明你希望 Kilo Code 做什么。避免歧义。
- * **不好:** 修复代码。
- * **好:** 修复 `calculateTotal` 函数中导致返回错误结果的 bug。
-
-* **提供上下文:** 使用 [上下文提及](/basic-usage/context-mentions) 来引用特定文件、文件夹或问题。
- * **好:** `@/src/utils.ts` 重构 `calculateTotal` 函数以使用 async/await。
-
-* **分解任务:** 将复杂的任务分解为更小、定义明确的步骤。
-
-* **提供示例:** 如果你有特定的编码风格或模式,请提供示例。
-
-* **指定输出格式:** 如果你需要特定格式的输出(例如 JSON、Markdown),请在提示中指定。
-
-* **迭代:** 如果初始结果不符合预期,不要害怕优化你的提示。
-
-## 思考与执行
-
-引导 Kilo Code 通过“先思考后执行”的过程通常很有帮助:
-
-1. **分析:** 让 Kilo Code 分析当前代码,识别问题或规划方法。
-2. **计划:** 让 Kilo Code 概述完成任务的步骤。
-3. **执行:** 指示 Kilo Code 一步一步地执行计划。
-4. **审查:** 在继续之前仔细审查每一步的结果。
-
-## 使用自定义指令
-
-你可以提供自定义指令来进一步调整 Kilo Code 的行为。有两种类型的自定义指令:
-
-* **全局自定义指令:** 适用于所有模式。
-* **模式特定自定义指令:** 仅适用于特定模式(例如 Code、Architect、Ask、Debug 或自定义模式)。
-
-自定义指令会添加到系统提示中,为 AI 模型提供持续的指导。你可以使用这些指令来:
-
-* 强制执行编码风格指南。
-* 指定首选的库或框架。
-* 定义项目特定的约定。
-* 调整 Kilo Code 的语气或个性。
-
-有关更多详细信息,请参阅 [自定义指令](/advanced-usage/custom-instructions) 部分。
-
-## 处理歧义
-
-如果你的请求含糊不清或缺乏足够的细节,Kilo Code 可能会:
-
-* **做出假设:** 它可能会根据最佳猜测继续,这可能不是你想要的。
-* **询问后续问题:** 它可能会使用 `ask_followup_question` 工具来澄清你的请求。
-
-最好从一开始就提供清晰且具体的指令,以避免不必要的来回沟通。
-
-## 提供反馈
-
-如果 Kilo Code 没有产生预期的结果,你可以通过以下方式提供反馈:
-
-* **拒绝操作:** 当 Kilo Code 提出你不想要的操作时,点击“拒绝”按钮。
-* **提供解释:** 拒绝时,解释*为什么*要拒绝该操作。这有助于 Kilo Code 从错误中学习。
-* **重新措辞你的请求:** 尝试重新表述你的初始任务或提供更具体的指令。
-* **手动更正:** 如果有几个小问题,你也可以在接受更改之前直接修改代码。
-
-## 示例
-
-**好提示:**
-
-> `@/src/components/Button.tsx` 重构 `Button` 组件以使用 `useState` 钩子而不是 `useReducer` 钩子。
-
-**不好提示:**
-
-> 修复按钮。
-
-**好提示:**
-
-> 创建一个名为 `utils.py` 的新文件,并添加一个名为 `calculate_average` 的函数,该函数接受一个数字列表并返回它们的平均值。
-
-**不好提示:**
-
-> 写一些 Python 代码。
-
-**好提示:**
-
-> `@problems` 解决当前文件中的所有错误和警告。
-
-**不好提示:**
-
-> 修复所有问题。
-
-通过遵循这些技巧,你可以编写有效的提示,充分利用 Kilo Code 的能力。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/rate-limits-costs.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/rate-limits-costs.md
deleted file mode 100644
index 35f33b9af8a..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/advanced-usage/rate-limits-costs.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# 速率限制与成本
-
-了解和管理 API 使用情况对于在 Kilo Code 中获得流畅且经济高效的体验至关重要。本节将解释如何跟踪你的 token 使用情况、成本以及如何配置速率限制。
-
-## Token 使用
-
-Kilo Code 使用 token 与 AI 模型进行交互。Token 本质上是词语的组成部分。请求和响应中使用的 token 数量会影响处理时间和成本。
-
-- **输入 Token:**这些是你的提示中的 token,包括系统提示、你的指令以及提供的任何上下文(例如文件内容)。
-- **输出 Token:**这些是 AI 模型在响应中生成的 token。
-
-你可以在聊天记录中查看每次交互的输入和输出 token 数量。
-
-## 成本计算
-
-大多数 AI 提供商根据使用的 token 数量收费。价格因提供商和具体模型而异。
-
-Kilo Code 会根据配置的模型定价自动计算每次 API 请求的预估成本。该成本显示在聊天记录中,紧邻 token 使用情况。
-
-**注意:**
-
-- 成本计算是*预估*值。实际成本可能因提供商的计费方式而略有不同。
-- 一些提供商可能提供免费层级或信用额度。请查看提供商的文档以获取详细信息。
-- 一些提供商提供提示缓存,可以显著降低成本。
-
-## 配置速率限制
-
-为了防止意外过度使用 API 并帮助你管理成本,Kilo Code 允许你设置速率限制。速率限制定义了 API 请求之间的最短时间(以秒为单位)。
-
-**如何配置:**
-
-1. 打开 Kilo Code 设置(右上角的 图标)。
-2. 转到“高级设置”部分。
-3. 找到“速率限制(秒)”设置。
-4. 输入所需的延迟时间(以秒为单位)。值为 0 表示禁用速率限制。
-
-**示例:**
-
-如果你将速率限制设置为 10 秒,Kilo Code 会在一个 API 请求完成后至少等待 10 秒再发送下一个请求。
-
-## 优化 Token 使用的技巧
-
-- **简洁明了:**在提示中使用清晰简洁的语言。避免不必要的词语或细节。
-- **仅提供相关上下文:**选择性使用上下文提及(`@file.ts`,`@folder/`)。仅包括与任务直接相关的文件。
-- **分解任务:**将大型任务分解为更小、更专注的子任务。
-- **使用自定义指令:**提供自定义指令以指导 Kilo Code 的行为,减少每次提示中冗长的解释。
-- **选择合适的模型:**某些模型比其他模型更具成本效益。对于不需要较大模型全部功能的任务,可以考虑使用更小、更快的模型。
-- **使用模式:**不同的模式可以访问不同的工具,例如 `Architect` 无法修改代码,这使其成为分析复杂代码库时的安全选择,而无需担心意外允许昂贵的操作。
-- **如果未使用 MCP 则禁用它:**如果你未使用 MCP(模型上下文协议)功能,请考虑[在 MCP 设置中禁用它](/features/mcp/using-mcp-in-kilo-code),以显著减少系统提示的大小并节省 token。
-
-通过了解和管理你的 API 使用情况,你可以高效且经济地使用 Kilo Code。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/adding-tokens.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/adding-tokens.md
deleted file mode 100644
index c6d786d40b4..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/adding-tokens.md
+++ /dev/null
@@ -1,28 +0,0 @@
-import { DISCORD_URL } from '@site/src/constants.ts'
-
-# 添加更多 Tokens
-
-当你用完初始的免费 tokens 后,你可以轻松添加更多:
-
-- 为你的账户添加信用卡(所有支付均通过 Stripe 安全处理)
-- 我们目前不提供订阅服务,因此你只需为使用的 tokens 付费,并且仅在你选择充值 tokens 时付费!
-- 通过[连接你自己的 API 提供商](/getting-started/connecting-api-provider.md) 来利用你自己的 API 提供商
-
-## 透明的定价
-
-在 Kilo Code,我们相信完全透明的定价:
-
-- 我们的定价与模型提供商的 API 费率完全一致
-- 我们不收取任何佣金或加价,无论是按 token 还是按充值
-- 你只需为使用的 tokens 付费,没有任何隐藏费用
-
-## 未来计划
-
-我们正在不断改进 Kilo Code 并扩展我们的服务:
-
-- 未来将添加更多 LLM 提供商
-- 更多支付选项和其他计划正在开发中
-
-:::tip 需要帮助?
-如果你对定价或 tokens 有任何疑问,请联系我们的[支持团队](mailto:hi@kilocode.ai) 或在我们的 Discord 社区中提问。
-:::
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/index.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/index.md
deleted file mode 100644
index a5c642c95c0..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/index.md
+++ /dev/null
@@ -1,112 +0,0 @@
----
-title: 自动补全
-sidebar_position: 4
-slug: /basic-usage/autocomplete
----
-
-# 自动补全
-
-Kilo Code 的自动补全功能在您输入时提供智能代码建议和补全,帮助您更快、更高效地编写代码。它提供自动和手动触发选项。
-
-## 自动补全工作原理
-
-自动补全分析您的代码上下文并提供:
-
-- 在您输入时提供**内联补全**
-- 常见代码模式的**快速修复**
-- 基于周围代码的**上下文建议**
-- 用于复杂代码结构的**多行补全**
-
-该功能使用您选择的 AI 提供商生成智能建议,与您的编码风格和项目上下文相匹配。
-
-## 触发选项
-
-### 代码编辑器建议
-
-#### 自动触发建议
-
-启用后,当您暂停输入时,Kilo Code 会自动显示内联建议。这提供了无缝的编码体验,让您在工作时自然地获得建议。
-
-- **自动触发延迟**:配置停止输入后建议出现的延迟(以秒为单位)
-- 默认为 3 秒,但可以向上或向下调整
-- 较短的延迟意味着更快的建议,但可能更耗费资源
-
-### 快速任务 (Cmd+I)
-
-需要快速更改?快速任务特性允许您:
-
-1. 在编辑器中选择代码(或在您想要更改的位置放置光标)
-2. 按 `Cmd+I`(Mac)或 `Ctrl+I`(Windows/Linux)
-3. 用简单的文字描述您的目标
-4. 在不进入聊天的情况下接收代码建议
-
-**示例:**
-
-- "创建具有这些属性的 React 组件"
-- "为这个函数添加错误处理"
-- "转换为 TypeScript"
-- "优化此循环以提高性能"
-
-您可以在 VS Code 的键盘快捷键设置中自定义键盘快捷键。
-
-#### 按快捷键触发建议 (Cmd+L)
-
-为了更好地控制建议出现的时机:
-
-1. 将光标放在需要帮助的位置
-2. 按 `Cmd+L`(Mac)或 `Ctrl+L`(Windows/Linux)
-3. Kilo Code 分析周围上下文
-4. 立即接收改进或补全
-
-这非常适合:
-
-- 快速修复
-- 代码补全
-- 重构建议
-- 让你的心流不被打断
-
-您也可以在 VS Code 设置中自定义此键盘快捷键。
-
-### 聊天建议
-
-#### 启用聊天自动补全
-
-启用后,Kilo Code 会在您输入聊天内容时建议补全。按 Tab 接受建议。
-
-## 禁用竞争对手的自动补全
-
-我们建议禁用竞争对手的自动补全以优化您使用 Kilo Code 的体验。要禁用 VSCode 中的 GitHub Copilot 自动补全,请转到**设置**并导航到**GitHub** > **Copilot: Advanced**(或搜索"copilot")。
-
-然后,切换为'禁用':
-
-
-
-如果你使用 Cursor,请转到**设置** > **Cursor 设置** > **Tab**,并关闭"Cursor Tab":
-
-
-
-## 最佳实践
-
-1. **平衡速度和质量**:更快的模型提供更快的建议,但可能不太准确
-2. **调整触发延迟**:在灵敏度和避免过多 API 调用之间找到最佳平衡点
-3. **使用快速任务进行复杂更改**:它专为更实质性的代码修改而设计
-4. **使用手动自动补全确保精确**:当您需要在特定时刻获得建议时
-5. **明智地配置提供商**:考虑使用更快、更便宜的模型进行自动补全,同时保留更强大的模型用于聊天
-
-## 提示
-
-- 自动补全在结构清晰、组织良好的代码中效果最佳
-- 函数上方的注释有助于自动补全理解意图
-- 变量和函数名称很重要 - 描述性名称会带来更好的建议
-
-## 相关功能
-
-- [代码操作](/features/code-actions) - 用于常见编码任务的上下文菜单选项
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup.md
deleted file mode 100644
index efedc5e5322..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup.md
+++ /dev/null
@@ -1,89 +0,0 @@
----
-title: 设置 Mistral 免费自动补全
-sidebar_position: 1
----
-
-# 设置 Mistral 免费自动补全
-
-本指南将引导您在 Kilo Code 中设置 Mistral 的 Codestral 模型以获得免费的自动补全功能。Mistral 提供免费套餐,非常适合开始使用 AI 驱动的代码补全。
-
-## 视频教程
-
-
-
-## 步骤 1:打开 Kilo Code 设置
-
-在 VS Code 中,打开 Kilo Code 面板,点击右上角的**设置**图标(齿轮)。
-
-
-
-## 步骤 2:添加新的配置文件
-
-导航到**设置 → 提供商**,点击**添加配置文件**为 Mistral 创建新的配置文件。
-
-
-
-## 步骤 3:命名您的配置文件
-
-在"新建配置文件"对话框中,输入名称如"Mistral profile"(名称可以是您喜欢的任何内容),然后点击**创建配置文件**。
-
-:::note
-配置文件名称只是供您参考的标签——它不会影响功能。选择任何有助于您识别此配置的名称。
-:::
-
-
-
-## 步骤 4:选择 Mistral 作为提供商
-
-在 **API 提供商**下拉菜单中,搜索并选择 **Mistral**。
-
-:::note
-创建自动补全配置文件时,您无需选择特定模型——Kilo Code 将自动使用为代码补全优化的适当 Codestral 模型。
-:::
-
-
-
-## 步骤 5:获取您的 API 密钥
-
-您会看到需要有效 API 密钥的警告。点击**获取 Mistral / Codestral API 密钥**打开 Mistral 控制台。
-
-
-
-## 步骤 6:在 Mistral AI Studio 中导航到 Codestral
-
-在 Mistral AI Studio 侧边栏中,点击代码部分下的 **Codestral**。
-
-
-
-## 步骤 7:生成 API 密钥
-
-点击**生成 API 密钥**按钮创建您的新 Codestral API 密钥。
-
-
-
-## 步骤 8:复制您的 API 密钥
-
-生成后,点击 API 密钥旁边的**复制**按钮将其复制到剪贴板。
-
-
-
-## 步骤 9:在 Kilo Code 中粘贴 API 密钥
-
-返回 Kilo Code 设置,将您的 API 密钥粘贴到 **Mistral API 密钥**字段中。
-
-
-
-## 步骤 10:保存您的设置
-
-点击**保存**应用您的 Mistral 配置。现在您可以使用免费的自动补全了!
-
-
-
-## 后续步骤
-
-- 了解更多关于[自动补全功能](./index.md)
-- 探索自动补全的[触发选项](./index.md#触发选项)
-- 查看[最佳实践](./index.md#最佳实践)以获得最佳效果
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/01-open-kilo-code-settings.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/01-open-kilo-code-settings.png
deleted file mode 100644
index 6cdb9f0792d..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/01-open-kilo-code-settings.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/02-add-configuration-profile.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/02-add-configuration-profile.png
deleted file mode 100644
index 179493cb086..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/02-add-configuration-profile.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/03-name-your-profile.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/03-name-your-profile.png
deleted file mode 100644
index d6f2900efa0..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/03-name-your-profile.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/04-select-mistral-provider.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/04-select-mistral-provider.png
deleted file mode 100644
index 267804d48e2..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/04-select-mistral-provider.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/05-get-api-key.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/05-get-api-key.png
deleted file mode 100644
index 3d08b0d2dc9..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/05-get-api-key.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/06-navigate-to-codestral.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/06-navigate-to-codestral.png
deleted file mode 100644
index 2c611a65af9..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/06-navigate-to-codestral.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/07-confirm-key-generation.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/07-confirm-key-generation.png
deleted file mode 100644
index 32dde09aa60..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/07-confirm-key-generation.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/08-copy-api-key.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/08-copy-api-key.png
deleted file mode 100644
index a8ac8fe1398..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/08-copy-api-key.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/09-paste-api-key.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/09-paste-api-key.png
deleted file mode 100644
index 6a6083cb97d..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/09-paste-api-key.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/10-save-settings.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/10-save-settings.png
deleted file mode 100644
index d6f64029007..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/autocomplete/mistral-setup/10-save-settings.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md
deleted file mode 100644
index f5097e94339..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md
+++ /dev/null
@@ -1,81 +0,0 @@
----
-sidebar_label: Overview
----
-
-# API 提供商概述
-
-**总结**:Kilo Code,像任何代理 AI 编码工具一样,需要 AI 模型提供商才能运行。您可以使用我们的[内置提供商](/providers/kilocode)(最简单)或连接来自 **30 多个提供商**的您自己的 API 密钥。
-
-## Kilo Code 扩展与 API 提供商
-
-### 扩展
-
-- 您从市场安装的 VS Code 工具
-- 处理 UI、文件操作和工作流管理
-- [开源](https://github.com/Kilo-Org/kilocode)
-- 连接到任何 AI 提供商
-
-### Kilo Code API 提供商
-
-- **内置选项**,随扩展一起提供
-- 包含免费积分的 Google 登录
-- 无需 API 密钥管理
-- 访问前沿编码模型
-- [有竞争力的定价](https://kilocode.ai/pricing)
-
-**关键点**:该扩展适用于任何提供商——我们的 API 服务只是“包含电池”的选项。
-
-## 入门:两条路径
-
-### 选项 1:内置提供商(推荐)
-
-✅ **快速设置**
-
-- 在 kilocode.ai 使用 Google 或 GitHub 登录
-- 首次充值包含免费积分
-- 无需 API 密钥管理
-- 可使用最新模型
-
-→ [完整设置指南](/providers/kilocode)
-
-### 选项 2:您自己的提供商
-
-**更多控制,更多设置**
-
-1. 从 30 多个受支持的提供商中选择
-2. 从您的提供商处获取 API 密钥
-3. 在 Kilo Code 设置中配置
-
-## 为什么要使用多个提供商?
-
-- **成本**:比较不同提供商的定价
-- **模型**:访问不同的 AI 功能
-- **可靠性**:停机时的备份选项
-- **功能**:某些提供商提供独家模型
-- **区域**:在某些位置提供更好的性能
-
-## 本节内容
-
-### [连接您的第一个 AI 提供商](/getting-started/connecting-api-provider)
-
-**面向初学者**:分步设置,包括:
-
-- 推荐的提供商
-- 如何获取 API 密钥
-- 初始 VS Code 配置
-- 开始您的第一个 AI 聊天
-
-### [API 配置配置文件](/features/api-configuration-profiles)
-
-**面向高级用户**:高级管理,包括:
-
-- 多个提供商配置
-- 模型切换策略
-- 安全的 API 密钥管理
-- 任务特定优化
-
-## 安全注意事项
-
-所有 API 密钥都使用 VS Code 的 Secret Storage——从不以纯文本形式存储。行业标准的安全实践保护您的凭据。
-
-**准备好开始了吗?** → [连接您的第一个提供商](/getting-started/connecting-api-provider)或跳转到[高级配置文件](/features/api-configuration-profiles)。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/context-mentions.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/context-mentions.md
deleted file mode 100644
index fd04eca841f..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/context-mentions.md
+++ /dev/null
@@ -1,126 +0,0 @@
-# 上下文提及
-
-上下文提及是一种强大的方式,可以为 Kilo Code 提供项目的具体信息,使其能够更准确高效地执行任务。你可以使用提及来引用文件、文件夹、问题和 Git 提交。上下文提及以 `@` 符号开头。
-
-
-
-*上下文提及概览,显示聊天界面中的 @ 符号下拉菜单。*
-
-## 提及类型
-
-
-
-*文件提及将实际代码内容添加到对话中,以便直接引用和分析。*
-
-| 提及类型 | 格式 | 描述 | 示例用法 |
-|--------------|--------|-------------|--------------|
-| **文件** | `@/path/to/file.ts` | 将文件内容包含在请求上下文中 | "解释 @/src/utils.ts 中的函数" |
-| **文件夹** | `@/path/to/folder/` | 以树状格式提供目录结构 | "@/src/components/ 中有哪些文件?" |
-| **问题** | `@problems` | 包含 VS Code 问题面板的诊断信息 | "@problems 修复我代码中的所有错误" |
-| **终端** | `@terminal` | 包含最近的终端命令和输出 | "修复 @terminal 中显示的错误" |
-| **Git 提交** | `@a1b2c3d` | 通过哈希引用特定提交 | "提交 @a1b2c3d 中有什么变化?" |
-| **Git 更改** | `@git-changes` | 显示未提交的更改 | "为 @git-changes 建议一条提交消息" |
-| **URL** | `@https://example.com` | 导入网站内容 | "总结 @https://docusaurus.io/" |
-
-### 文件提及
-
-
-
-*文件提及结合行号引用源代码,以便精确定位。*
-
-| 功能 | 详情 |
-|----------|---------|
-| **格式** | `@/path/to/file.ts`(始终从工作区根目录开始使用 `/`) |
-| **提供** | 包含行号的完整文件内容 |
-| **支持** | 文本文件、PDF 和 DOCX 文件(带文本提取) |
-| **适用场景** | 初始请求、反馈响应和后续消息 |
-| **限制** | 非常大的文件可能会被截断;不支持二进制文件 |
-
-### 文件夹提及
-
-
-
-*文件夹提及以可读的树状格式显示目录结构。*
-
-| 功能 | 详情 |
-|------------|---------|
-| **格式** | `@/path/to/folder/`(注意尾部的斜杠) |
-| **提供** | 使用 ├── 和 └── 前缀的分层树状显示 |
-| **包含** | 直接子文件和目录(非递归) |
-| **最佳用途** | 了解项目结构 |
-| **提示** | 结合文件提及检查特定文件内容 |
-
-### 问题提及
-
-
-
-*问题提及直接从 VS Code 的问题面板导入诊断信息。*
-
-| 功能 | 详情 |
-|------------|---------|
-| **格式** | `@problems` |
-| **提供** | VS Code 问题面板中的所有错误和警告 |
-| **包含** | 文件路径、行号和诊断信息 |
-| **分组** | 问题按文件组织以提高清晰度 |
-| **最佳用途** | 修复错误而无需手动复制 |
-
-### 终端提及
-
-
-*终端提及捕获最近的命令输出以便调试和分析。*
-
-| 功能 | 详情 |
-|------------|---------|
-| **格式** | `@terminal` |
-| **捕获** | 最后一条命令及其完整输出 |
-| **保留** | 终端状态(不会清除终端) |
-| **限制** | 仅限于可见的终端缓冲区内容 |
-| **最佳用途** | 调试构建错误或分析命令输出 |
-
-### Git 提及
-
-
-
-*Git 提及提供提交详情和差异,以便进行上下文感知的版本分析。*
-
-| 类型 | 格式 | 提供 | 限制 |
-|------|--------|----------|------------|
-| **提交** | `@a1b2c3d` | 提交消息、作者、日期和完整差异 | 仅适用于 Git 仓库 |
-| **工作区更改** | `@git-changes` | `git status` 输出和未提交更改的差异 | 仅适用于 Git 仓库 |
-
-### URL 提及
-
-
-*URL 提及导入外部网页内容并将其转换为可读的 Markdown 格式。*
-
-| 功能 | 详情 |
-|------------|---------|
-| **格式** | `@https://example.com` |
-| **处理** | 使用无头浏览器获取内容 |
-| **清理** | 移除脚本、样式和导航元素 |
-| **输出** | 将内容转换为 Markdown 以提高可读性 |
-| **限制** | 复杂页面可能无法完美转换 |
-
-## 如何使用提及
-
-1. 在聊天输入框中输入 `@` 以触发建议下拉菜单
-2. 继续输入以过滤建议,或使用箭头键导航
-3. 按回车键或鼠标点击选择
-4. 在请求中组合多个提及:"修复 @/src/component.ts 中的 @problems"
-
-下拉菜单会自动建议:
-- 最近打开的文件
-- 可见的文件夹
-- 最近的 Git 提交
-- 特殊关键字(`problems`、`terminal`、`git-changes`)
-
-## 最佳实践
-
-| 实践 | 描述 |
-|----------|-------------|
-| **使用具体路径** | 引用确切文件而非描述它们 |
-| **使用相对路径** | 始终从工作区根目录开始:`@/src/file.ts` 而非 `@C:/Projects/src/file.ts` |
-| **验证引用** | 确保路径和提交哈希正确 |
-| **点击提及** | 点击聊天历史中的提及以打开文件或查看内容 |
-| **避免复制粘贴** | 使用提及而非手动复制代码或错误信息 |
-| **组合提及** | "使用提交 @a1b2c3d 中的模式修复 @/src/component.ts 中的 @problems" |
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/git-commit-generation.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/git-commit-generation.md
deleted file mode 100644
index e3a4919034f..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/git-commit-generation.md
+++ /dev/null
@@ -1,146 +0,0 @@
-# 生成提交消息
-
-根据您暂存的 git 更改自动生成描述性提交消息。Kilo Code 会分析您暂存的文件并创建遵循最佳实践的约定式提交消息。
-
-:::info
-此功能仅分析**暂存的更改**。在生成提交消息之前,请务必使用 `git add` 或通过 `VS Code` 界面暂存您的文件。
-:::
-
-## 工作原理
-
-git 提交消息生成器:
-- 仅分析您的**暂存更改**(未暂存或未跟踪的文件)
-- 使用 AI 理解更改的上下文和目的
-- 创建描述性提交消息,解释更改了什么以及为什么遵循[约定式提交](https://www.conventionalcommits.org/)(默认情况下,可自定义)
-
-## 使用功能
-
-### 生成提交消息
-
-1. 使用 `git add` 或 VS Code git 界面暂存您的更改
-2. 在 VS Code 源代码管理面板中,查找提交消息字段旁边的 `Kilo Code` 徽标)
-3. 单击徽标以生成提交消息
-
-
-生成的邮件将出现在提交消息字段中,您可以根据需要进行审查和修改。
-
-
-
-### 约定式提交格式
-
-默认情况下,生成的邮件遵循约定式提交规范:
-
-```
-():
-
-
-```
-
-常见类型包括:
-- `feat`:新功能
-- `fix`:错误修复
-- `docs`:文档更改
-- `style`:代码样式更改(格式等)
-- `refactor`:代码重构
-- `test`:添加或更新测试
-- `chore`:维护任务
-
-## 配置
-
-### 自定义提交模板
-
-您可以通过修改提示模板来自定义提交消息的生成方式:
-
-1. 单击齿轮图标 → `Prompts` 打开设置
-2. 找到“提交消息生成”部分
-3. 编辑 `Prompt` 模板以匹配您项目的约定
-
-
-
-默认模板创建约定式提交消息,但您可以修改它以:
-- 使用不同的提交消息格式
-- 包含与您的项目相关的特定信息
-- 遵循您团队的提交消息约定
-- 为 AI 添加自定义指令
-
-### API 配置
-
-您可以配置用于提交消息生成的 API 配置文件:
-
-1. 在 `Prompts` 设置中,滚动到“API 配置”
-2. 选择特定配置文件或使用当前选定的配置文件
-
-:::tip
-考虑创建一个专用的 [API 配置配置文件](/features/api-configuration-profiles),其中包含更快、更具成本效益的模型,专门用于提交消息生成。
-:::
-
-## 最佳实践
-
-### 暂存策略
-- 将相关更改一起暂存,以获得更连贯的提交消息
-- 避免在单个提交中暂存不相关的更改
-- 需要时使用 `git add -p` 进行部分文件暂存
-
-### 消息审查
-- 始终在提交前审查生成的邮件
-- 编辑邮件以添加 AI 可能遗漏的上下文
-- 确保邮件准确描述更改
-
-### 自定义模板
-- 根据您的项目需求定制提示模板
-- 包含项目特定的术语或约定
-- 添加处理特定类型更改的说明
-
-## 生成的示例消息
-
-以下是该功能可能生成的消息示例:
-
-```
-feat(auth): add OAuth2 integration with Google
-
-Implement Google OAuth2 authentication flow including:
-- OAuth2 client configuration
-- User profile retrieval
-- Token refresh mechanism
-```
-
-```
-fix(api): resolve race condition in user data fetching
-
-Add proper error handling and retry logic to prevent
-concurrent requests from causing data inconsistency
-```
-
-```
-docs(readme): update installation instructions
-
-Add missing dependency requirements and clarify
-setup steps for new contributors
-```
-
-## 故障排除
-
-### 没有暂存的更改
-如果按钮未出现或生成失败,请确保您已暂存更改:
-```bash
-git add
-# 或暂存所有更改
-git add .
-```
-
-### 消息质量差
-如果生成的邮件没有帮助:
-- 审查您的暂存策略 - 不要将不相关的更改一起暂存
-- 使用更具体的指令自定义提示模板
-- 通过 API 配置尝试不同的 AI 模型
-
-### 集成问题
-该功能与 VS Code 的内置 git 功能集成。如果您遇到问题:
-- 确保您的存储库已正确初始化
-- 检查 VS Code 是否可以访问您的 git 存储库
-- 验证 git 是否已安装并可从 VS Code 访问
-
-## 相关功能
-
-- [API 配置配置文件](/features/api-configuration-profiles) - 使用不同的模型进行提交生成
-- [设置管理](/features/settings-management) - 管理您的所有 Kilo Code 首选项
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/how-tools-work.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/how-tools-work.md
deleted file mode 100644
index cf5d15dd555..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/how-tools-work.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# 工具工作原理
-
-Kilo Code 通过工具与你的代码和环境进行交互。这些专业助手可以执行特定操作,如读取文件、编辑内容、运行命令或搜索代码库。工具为常见开发任务提供自动化能力,无需手动执行。
-
-## 工具工作流程
-
-用自然语言描述你想完成的任务,Kilo Code 将会:
-
-1. 根据你的请求选择合适的工具
-2. 展示工具及其参数供你审核
-3. 执行已批准的工具并显示结果
-4. 重复此过程直至任务完成
-
-## 工具分类
-
-| 类别 | 用途 | 工具名称 |
-| :--- | :--- | :------- |
-| 读取 | 访问文件内容和代码结构 | `read_file`, `search_files`, `list_files`, `list_code_definition_names` |
-| 编辑 | 创建或修改文件和代码 | `write_to_file`, `apply_diff` |
-| 执行 | 运行命令和系统操作 | `execute_command` |
-| 浏览器 | 与网页内容交互 | `browser_action` |
-| 工作流 | 管理任务流程和上下文 | `ask_followup_question`, `attempt_completion`, `switch_mode`, `new_task` |
-
-## 示例:工具使用
-
-以下是典型的工具交互过程:
-
-
-
-*工具审批界面显示保存/拒绝按钮和自动批准选项。*
-
-**用户:** 创建一个名为 `greeting.js` 的文件,用于输出问候消息
-
-**Kilo Code:** (建议使用 `write_to_file` 工具,如上图所示)
-```xml
-
-greeting.js
-
-function greet(name) {
- console.log(`Hello, ${name}!`);
-}
-
-greet('World');
-
-5
-
-```
-
-**用户:** (点击界面中的"保存"按钮)
-
-**Kilo Code:** (确认文件创建成功)
-
-## 工具安全与审批
-
-每次使用工具都需要你的明确批准。当 Kilo 建议使用工具时,你会看到:
-
-* "保存"按钮 - 批准并执行工具
-* "拒绝"按钮 - 拒绝建议的工具
-* 可选的"自动批准"设置 - 用于信任的操作
-
-此安全机制确保你能完全控制哪些文件被修改、执行哪些命令以及如何更改代码库。执行前请务必仔细审查工具建议。
-
-## 核心工具参考
-
-| 工具名称 | 描述 | 类别 |
-| :------- | :--- | :--- |
-| `read_file` | 读取带行号的文件内容 | 读取 |
-| `search_files` | 跨文件搜索文本或正则表达式 | 读取 |
-| `list_files` | 列出指定位置的文件和目录 | 读取 |
-| `list_code_definition_names` | 列出类/函数等代码定义 | 读取 |
-| `write_to_file` | 创建新文件或覆盖现有文件 | 编辑 |
-| `apply_diff` | 对文件特定部分进行精确修改 | 编辑 |
-| `execute_command` | 在 VS Code 终端中运行命令 | 执行 |
-| `browser_action` | 在无头浏览器中执行操作 | 浏览器 |
-| `ask_followup_question` | 向你提出澄清问题 | 工作流 |
-| `attempt_completion` | 标记任务已完成 | 工作流 |
-| `switch_mode` | 切换到不同操作模式 | 工作流 |
-| `new_task` | 创建具有特定启动模式的子任务 | 工作流 |
-
-## 了解更多工具信息
-
-有关每个工具的完整参数参考和高级用法,请参阅[工具使用概述](/features/tools/tool-use-overview)文档。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/model-selection-guide.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/model-selection-guide.md
deleted file mode 100644
index 395ae113ed8..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/model-selection-guide.md
+++ /dev/null
@@ -1,84 +0,0 @@
----
-sidebar_label: "模型选择指南"
----
-
-# Kilo Code 模型选择指南
-
-最后更新:2025年9月3日。
-
-AI 模型领域发展迅速,因此本指南重点介绍目前在 Kilo Code 中表现优异的模型。我们会定期更新,以反映新模型的出现和性能变化。
-
-## Kilo Code 表现最佳者
-
-| 模型 | 上下文窗口 | SWE-Bench 验证 | 人工评估 | LiveCodeBench | 输入价格\* | 输出价格\* | 最佳用途 |
-| -------------------- | ----------- | -------------- | -------- | ------------- | ---------- | ---------- | ------------------------ |
-| **GPT-5** | 400K tokens | 74.9% | 96.3% | 68.2% | $1.25 | $10 | 最新功能,多模态编码 |
-| **Claude Sonnet 4** | 1M tokens | 72.7% | 94.8% | 65.9% | $3-6 | $15-22.50 | 企业级代码生成,复杂系统 |
-| **Grok Code Fast 1** | 256K tokens | 70.8% | 92.1% | 63.4% | $0.75 | $3.50 | 快速开发,性价比平衡 |
-| **Qwen3 Coder** | 256K tokens | 68.4% | 91.7% | 61.8% | $0.20 | $0.80 | 纯编码任务,快速原型开发 |
-| **Gemini 2.5 Pro** | 1M+ tokens | 67.2% | 89.9% | 59.3% | TBD | TBD | 大型代码库,架构规划 |
-
-\*每百万 tokens
-
-## 高性价比选项
-
-| 模型 | 上下文窗口 | SWE-Bench 验证 | 人工评估 | LiveCodeBench | 输入价格\* | 输出价格\* | 说明 |
-| ---------------- | ----------- | -------------- | -------- | ------------- | ---------- | ---------- | ------------------------ |
-| **DeepSeek V3** | 128K tokens | 64.1% | 87.3% | 56.7% | $0.14 | $0.28 | 日常编码的超高性价比 |
-| **DeepSeek R1** | 128K tokens | 62.8% | 85.9% | 54.2% | $0.55 | $2.19 | 预算价格下的高级推理能力 |
-| **Qwen3 32B** | 128K tokens | 60.3% | 83.4% | 52.1% | Varies | Varies | 开源灵活性 |
-| **Z AI GLM 4.5** | 128K tokens | 58.7% | 81.2% | 49.8% | TBD | TBD | MIT 许可,混合推理系统 |
-
-\*每百万 tokens
-
-## 全面评估框架
-
-### 延迟性能
-
-响应时间显著影响开发流程和生产力:
-
-- **超快 (< 2秒)**:Grok Code Fast 1,Qwen3 Coder
-- **快速 (2-4秒)**:DeepSeek V3,GPT-5
-- **中等 (4-8秒)**:Claude Sonnet 4,DeepSeek R1
-- **较慢 (8-15秒)**:Gemini 2.5 Pro,Z AI GLM 4.5
-
-**对开发的影响**:超快模型支持实时编码辅助和即时反馈循环。延迟超过 8 秒的模型可能会打断心流状态,但在处理复杂架构决策时可能仍然可以接受。
-
-### 吞吐量分析
-
-Token 生成速率影响大型代码库的处理:
-
-- **高吞吐量 (150+ tokens/s)**:GPT-5,Grok Code Fast 1
-- **中吞吐量 (100-150 tokens/s)**:Claude Sonnet 4,Qwen3 Coder
-- **标准吞吐量 (50-100 tokens/s)**:DeepSeek 模型,Gemini 2.5 Pro
-- **可变吞吐量**:开源模型依赖基础设施
-
-**扩展因素**:高吞吐量模型在生成大量文档、重构大型文件或批量处理多个组件时表现出色。
-
-### 可靠性与可用性
-
-企业级生产环境的考虑:
-
-- **企业级 (99.9%+ 正常运行时间)**:Claude Sonnet 4,GPT-5,Gemini 2.5 Pro
-- **生产就绪 (99%+ 正常运行时间)**:Qwen3 Coder,Grok Code Fast 1
-- **可靠性发展中**:DeepSeek 模型,Z AI GLM 4.5
-- **自托管**:Qwen3 32B(可靠性取决于您的基础设施)
-
-**成功率**:企业级模型保持一致的输出质量并更优雅地处理边缘情况,而预算选项可能需要额外的验证步骤。
-
-### 上下文窗口策略
-
-针对不同项目规模的优化:
-
-| 大小 | 字数估算 | 典型用例 | 推荐模型 | 策略 |
-| ---------------- | --------------- | ------------------------ | -------------------------------------- | ------------------------ |
-| **32K tokens** | ~24,000 words | 单个组件、脚本 | DeepSeek V3, Qwen3 Coder | 专注于单文件优化 |
-| **128K tokens** | ~96,000 words | 标准应用程序、大多数项目 | 所有预算模型, Grok Code Fast 1 | 多文件上下文,中等复杂度 |
-| **256K tokens** | ~192,000 words | 大型应用程序、多个服务 | Qwen3 Coder, Grok Code Fast 1 | 完整功能上下文,服务集成 |
-| **400K+ tokens** | ~300,000+ words | 企业系统、全栈应用 | GPT-5, Claude Sonnet 4, Gemini 2.5 Pro | 架构概览,系统级重构 |
-
-**性能下降**:无论宣传的限制如何,模型的有效性通常在超过 400-500K tokens 后显著下降。请相应规划上下文使用。
-
-## 社区选择
-
-AI 模型领域变化迅速,要保持更新,请查看 [**👉 Kilo Code 在 OpenRouter 上的社区最爱**](https://openrouter.ai/apps?url=https%3A%2F%2Fkilocode.ai%2F)
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/orchestrator-mode.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/orchestrator-mode.md
deleted file mode 100644
index cb9395b1dec..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/orchestrator-mode.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-sidebar_label: "编排模式"
----
-
-import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
-
-# 编排模式:协调复杂工作流
-
-编排模式(原称为 Boomerang Tasks)允许您将复杂项目分解为更小、更易管理的部分。您可以将其理解为将工作的各个部分委派给专门的助手。每个子任务都在自己的上下文中运行,通常使用为特定工作定制的不同 Kilo Code 模式(如 [`code`](/basic-usage/using-modes#代码模式默认)、[`architect`](/basic-usage/using-modes#架构师模式) 或 [`debug`](/basic-usage/using-modes#调试模式))。
-
-
-
-## 为何使用编排模式?
-
-- **处理复杂性**:将大型、多步骤项目(如构建完整功能)分解为专注的子任务(如设计、实现、文档)。
-- **使用专业模式**:自动将子任务委派给最适合该工作的模式,利用其专业能力以获得最佳结果。
-- **保持专注与效率**:每个子任务都在其独立的上下文中运行,具有单独的对话历史。这可以防止父任务(orchestrator)被详细的执行步骤(如代码差异或文件分析结果)所干扰,使其能够专注于高层次的工作流,并根据已完成子任务的简洁摘要高效管理整体流程。
-- **简化工作流**:一个子任务的结果可以自动传递给下一个子任务,从而创建顺畅的工作流(例如,架构决策直接传递给编码任务)。
-
-## 工作原理
-
-1. 使用编排模式,Kilo 可以分析复杂任务并建议将其分解为子任务[^1]。
-2. 父任务暂停,新的子任务以不同模式开始[^2]。
-3. 当子任务的目标达成时,Kilo 会发出完成信号。
-4. 父任务恢复,并仅接收子任务的摘要[^3]。父任务使用该摘要继续主工作流。
-
-## 关键注意事项
-
-- **需要批准**:默认情况下,每个子任务的创建和完成都需要你的批准。如果需要,可以通过 [Auto-Approving Actions](/features/auto-approving-actions#子任务) 设置自动完成此操作。
-- **上下文隔离与传递**:每个子任务都在完全隔离的上下文中运行,具有自己的对话历史。它不会自动继承父任务的上下文。信息必须显式传递:
- - **向下**:在子任务创建时通过初始指令传递。
- - **向上**:在子任务完成时通过最终摘要传递。注意,只有该摘要会返回给父任务。
-- **任务切换**:Kilo 的界面帮助您查看任务的层次结构(哪个任务是父任务,哪些是子任务)。您通常可以在活动和暂停的任务之间切换。
-
-编排模式提供了一种强大的方式来管理复杂的开发工作流,直接在 Kilo Code 中利用专业模式以实现最大效率。
-
-:::tip 让任务保持专注
-使用子任务来保持清晰度。如果请求显著改变了焦点或需要不同的专业知识(模式),请考虑创建子任务,而不是让当前任务过载。
-:::
-
-[^1]: 此上下文通过 [`new_task`](/features/tools/new-task) 工具的 `message` 参数传递。
-
-[^2]: 子任务的模式通过 [`new_task`](/features/tools/new-task) 工具的 `mode` 参数在启动时指定。
-
-[^3]: 此摘要通过 [`attempt_completion`](/features/tools/attempt-completion) 工具的 `result` 参数在子任务完成时传递。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/task-todo-list.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/task-todo-list.md
deleted file mode 100644
index 9d66244851b..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/task-todo-list.md
+++ /dev/null
@@ -1,96 +0,0 @@
-# 任务待办事项列表
-
-**核心理念**:再也不会遗漏复杂的开发任务。任务待办事项列表创建交互式、持久的清单,直接嵌入在您的聊天界面中。
-
-**为什么重要**:复杂的工作流程有很多环节。如果没有结构,很容易遗漏步骤、重复工作或忘记下一步是什么。
-
-
-
-## 如何触发待办事项列表
-
-**自动触发**:
-
-- 包含多个步骤的复杂任务
-- 在 Architect 模式下工作
-- 具有依赖关系的多阶段工作流
-
-**手动触发**:
-
-- 要求 Kilo“使用 [update_todo_list 工具](/features/tools/update-todo-list)”
-- 说“创建待办事项列表”
-
-**关键点**:Kilo 决定列表中包含什么,但您可以在批准对话框中提供反馈。
-
----
-
-## 旧方式与新方式
-
-**以前**:您在脑海中记住任务步骤或用零散的笔记记录,不断思考“下一步是什么?”
-
-**现在**:Kilo 创建结构化清单,随着工作的进展自动更新。您清楚地知道自己所处的位置以及接下来要做什么。
-
----
-
-## 待办事项列表出现的位置
-
-**1. 任务头部摘要**
-快速进度概览,显示您的下一个重要事项
-
-
-
-**2. 交互式工具区域**
-聊天中的完整待办事项界面,您可以在其中:
-
-- 查看所有项目及其状态
-- 当 Kilo 请求批准时编辑描述
-- 使用“编辑”按钮暂存更改
-
-**3. 环境详细信息**
-后台“提醒”表,让 Kilo 了解当前进度
-
-## 任务状态解读
-
-**待处理** → 空复选框(未开始)
-
-
-
----
-
-**进行中** → 黄点(当前正在处理)
-
-
-
----
-
-**已完成** → 绿勾(已完成)
-
-
-
----
-
-## 常见问题
-
-**“可以创建自己的待办事项列表吗?”**
-是的,只需要求 Kilo 使用 update_todo_list 工具。但 Kilo 仍控制内容和工作流。
-
-**“简单的任务怎么办?”**
-Kilo 通常会跳过简单任务的待办事项列表。开销不值得。
-
-**“为什么不能直接编辑列表?”**
-设计选择。Kilo 保持对任务管理的主导权,以确保一致的进度跟踪。您提供输入,Kilo 执行。
-
----
-
-:::tip
-
-## 专业提示:自动批准
-
-**作用**:自动批准待办事项列表更新,无需确认提示。
-
-**何时使用**:在长时间工作流中,频繁的中断会拖慢您的进度。
-
-**如何启用**:检查[更新待办事项列表自动批准设置](/features/auto-approving-actions#更新待办事项列表)。
-
-**缺点**:控制较少,但执行速度更快。
-
-:::
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/the-chat-interface.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/the-chat-interface.md
deleted file mode 100644
index e1615f0b169..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/the-chat-interface.md
+++ /dev/null
@@ -1,83 +0,0 @@
-import Image from '@site/src/components/Image';
-
-# 与 Kilo Code 聊天
-
-:::tip
-
-**总结:** Kilo Code 是一个 AI 编码助手,它存在于 VS Code 中。您可以用简单的英语与它聊天,它会为您编写、编辑和解释代码。
-
-:::
-
-## 快速设置
-
-在 VS Code 的主侧边栏中找到 Kilo Code 图标()。单击它以打开聊天面板。
-
-**找不到面板?** 转到“视图”>“打开视图...”并搜索“Kilo Code”
-
-## 如何与 Kilo Code 对话
-
-**关键见解:** 只需用普通英语输入您想要的内容。无需特殊命令。
-
-
-
-**好的请求:**
-
-```
-创建一个名为 utils.py 的新文件,并添加一个名为 add 的函数,该函数接受两个数字作为参数并返回它们的和
-```
-
-```
-在文件 @src/components/Button.tsx 中,将按钮的颜色更改为蓝色
-```
-
-```
-在 @/src/App.js 中查找变量 oldValue 的所有实例,并将其替换为 newValue
-```
-
-**使请求生效的因素:**
-- **具体** - “修复 `calculateTotal` 中返回不正确结果的错误”胜过“修复代码”
-- **使用 @ 提及** - 使用 `@filename` 直接引用文件和代码
-- **一次一个任务** - 将复杂工作分解为可管理的步骤
-- **包含示例** - 显示您想要的样式或格式
-
-
-## 聊天界面
-
-
-
-**基本控件:**
-- **聊天历史记录** - 查看您的对话和任务历史记录
-- **输入字段** - 在此处输入您的请求(按 Enter 发送)
-- **操作按钮** - 批准或拒绝 Kilo 的提议更改
-- **加号按钮** - 开始新的任务会话
-- **模式选择器** - 选择 Kilo 应如何处理您的任务
-
-## 快速交互
-
-**点击操作:**
-- 文件路径 → 打开文件
-- URL → 在浏览器中打开
-- 消息 → 展开/折叠详细信息
-- 代码块 → 出现复制按钮
-
-**状态信号:**
-- 旋转 → Kilo 正在工作
-- 红色 → 发生错误
-- 绿色 → 成功
-
-## 需要避免的常见错误
-
-| 替代这个... | 尝试这个 |
-|----------------|----------|
-| "Fix the code" | "修复 `calculateTotal` 中返回不正确结果的错误" |
-| 假设 Kilo 知道上下文 | 使用 `@` 引用特定文件 |
-| 多个不相关的任务 | 一次提交一个重点突出的请求 |
-| 技术术语过多 | 清晰、直接的语言效果最好 |
-
-**重要的原因:** 当您像与需要明确指导的聪明队友交谈一样进行交流时,Kilo Code 的效果最佳。
-
-准备好开始编码了吗?打开聊天面板并描述您想要构建的内容!
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/using-modes.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/using-modes.md
deleted file mode 100644
index 118c68761fb..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/using-modes.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# 使用模式
-
-Kilo Code 中的模式是专门设计的角色,可以根据当前任务调整助手的行为。每种模式都提供不同的能力、专业知识和访问权限,帮助你完成特定目标。
-
-## 为什么使用不同的模式?
-
-- **任务专业化**:获得针对当前任务所需的精确帮助
-- **安全控制**:在专注于规划或学习时,防止意外的文件修改
-- **专注交互**:接收针对当前活动优化的响应
-- **工作流优化**:在规划、实施、调试和学习之间无缝切换
-
-
-
-## 切换模式
-
-四种切换模式的方式:
-
-1. **下拉菜单**:点击聊天输入框左侧的选择器
-
-
-
-2. **斜杠命令**:在聊天输入框中输入 `/architect`、`/ask`、`/debug` 或 `/code`
-
-
-
-3. **切换命令/键盘快捷键**:使用适用于你操作系统的键盘快捷键。每次按下都会按顺序循环切换可用模式,到达末尾后返回第一个模式。
-
- | 操作系统 | 快捷键 |
- |----------|--------|
- | macOS | ⌘ + . |
- | Windows | Ctrl + . |
- | Linux | Ctrl + . |
-
-4. **接受建议**:在适当时点击 Kilo Code 提供的模式切换建议
-
-
-
-## 内置模式
-
-### 代码模式(默认)
-
-| 方面 | 详细信息 |
-|------|----------|
-| **描述** | 一位熟练的软件工程师,精通编程语言、设计模式和最佳实践 |
-| **工具访问** | 完全访问所有工具组:`read`、`edit`、`browser`、`command`、`mcp` |
-| **适合场景** | 编写代码、实现功能、调试和一般开发 |
-| **特殊功能** | 无工具限制——所有编码任务完全灵活 |
-
-### 问答模式
-
-| 方面 | 详细信息 |
-|------|----------|
-| **描述** | 一位知识渊博的技术助手,专注于回答问题而不修改代码库 |
-| **工具访问** | 有限访问:仅 `read`、`browser`、`mcp`(无法编辑文件或运行命令) |
-| **适合场景** | 代码解释、概念探索和技术学习 |
-| **特殊功能** | 优化为在不修改项目的情况下提供信息丰富的响应 |
-
-### 架构师模式
-
-| 方面 | 详细信息 |
-|------|----------|
-| **描述** | 一位经验丰富的技术领导和规划者,帮助设计系统并创建实施计划 |
-| **工具访问** | 访问 `read`、`browser`、`mcp` 和受限的 `edit`(仅限 markdown 文件) |
-| **适合场景** | 系统设计、高层规划和架构讨论 |
-| **特殊功能** | 遵循从信息收集到详细规划的结构化方法 |
-
-### 调试模式
-
-| 方面 | 详细信息 |
-|------|----------|
-| **描述** | 一位擅长系统化故障排除和诊断的专家问题解决者 |
-| **工具访问** | 完全访问所有工具组:`read`、`edit`、`browser`、`command`、`mcp` |
-| **适合场景** | 追踪错误、诊断问题并解决复杂问题 |
-| **特殊功能** | 使用分析、缩小可能性和修复问题的系统化方法 |
-
-### 协调者模式
-
-| 方面 | 详细信息 |
-|------|----------|
-| **描述** | 一位战略工作流协调者,通过将复杂任务委派给适当的专业模式来协调工作 |
-| **工具访问** | 有限的访问权限,用于创建新任务和协调工作流 |
-| **适合场景** | 将复杂项目分解为可管理的子任务,并分配给专业模式 |
-| **特殊功能** | 使用 new_task 工具将工作委派给其他模式 |
-
-## 自定义模式
-
-通过定义工具访问权限、文件权限和行为指令,创建你自己的专业助手。自定义模式有助于执行团队标准或创建特定用途的助手。有关设置说明,请参阅 [自定义模式文档](/features/custom-modes)。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md
deleted file mode 100644
index 6cf6d3a1327..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# 为 Kilo Code 做贡献
-
-Kilo Code 是一个开源项目,欢迎所有技能水平的开发者贡献代码。本指南将帮助你开始为 Kilo Code 做出贡献,无论是修复错误、添加功能、改进文档还是分享自定义模式。
-
-## 贡献方式
-
-有多种方式可以为 Kilo Code 做出贡献:
-
-1. **代码贡献**:实现新功能或修复错误
-2. **文档**:改进现有文档或创建新指南
-3. **市场贡献**:通过 [Kilo Marketplace](https://github.com/Kilo-Org/kilo-marketplace) 创建并分享自定义模式、技能和 MCP 服务器
-4. **错误报告**:报告你遇到的问题
-5. **功能请求**:建议新功能或改进
-6. **社区支持**:在社区中帮助其他用户
-
-## 设置开发环境
-
-设置开发环境的详细说明请参阅[此页面](/extending/development-environment.md)
-
-## 开发工作流
-
-### 分支策略
-
-- 为每个功能或错误修复创建一个新分支
-- 使用描述性的分支名称(例如 `feature/new-tool-support` 或 `fix/browser-action-bug`)
-
-```bash
-git checkout -b your-branch-name
-```
-
-### 编码标准
-
-- 遵循现有的代码风格和模式
-- 新代码使用 TypeScript
-- 为新功能包含适当的测试
-- 更新文档以反映任何面向用户的更改
-
-### 提交指南
-
-- 编写清晰、简洁的提交信息
-- 在适用时引用问题编号
-- 保持每次提交专注于单一更改
-
-### 测试你的更改
-
-- 运行测试套件:
- ```bash
- npm test
- ```
-- 在开发扩展中手动测试你的更改
-
-### 创建拉取请求
-
-1. 将你的更改推送到你的 fork:
-
- ```bash
- git push origin your-branch-name
- ```
-
-2. 前往 [Kilo Code 仓库](https://github.com/Kilo-Org/kilocode)
-
-3. 点击 "New Pull Request" 并选择 "compare across forks"
-
-4. 选择你的 fork 和分支
-
-5. 填写 PR 模板,包括:
- - 更改的清晰描述
- - 任何相关问题
- - 测试步骤
- - 截图(如适用)
-
-## 为 Kilo Marketplace 做贡献
-
-[Kilo Marketplace](https://github.com/Kilo-Org/kilo-marketplace) 是一个社区驱动的代理工具仓库,用于扩展 Kilo Code 的功能。你可以贡献:
-
-- **技能(Skills)**:模块化的工作流程和领域专业知识,教代理如何执行特定任务
-- **MCP 服务器**:标准化的集成,将代理连接到外部工具和服务
-- **模式(Modes)**:具有定制工具访问权限的自定义代理个性和行为
-
-贡献方式:
-
-1. 按照 [自定义模式](/agent-behavior/custom-modes)、[技能](/agent-behavior/skills) 或 [MCP 服务器](/features/mcp/overview) 的文档创建你的资源
-
-2. 彻底测试你的贡献
-
-3. 向 [Kilo Marketplace 仓库](https://github.com/Kilo-Org/kilo-marketplace) 提交拉取请求
-
-## 文档贡献
-
-文档改进是非常有价值的贡献:
-
-1. 遵循文档风格指南:
-
- - 使用清晰、简洁的语言
- - 在适当时包含示例
- - 使用以 `/docs/` 开头的绝对路径作为内部链接
- - 不要在链接中包含 `.md` 扩展名
-
-2. 通过本地运行文档站点测试你的文档更改:
-
- ```bash
- cd docs
- npm install
- npm start
- ```
-
-3. 提交包含文档更改的 PR
-
-## 社区准则
-
-参与 Kilo Code 社区时:
-
-- 保持尊重和包容
-- 提供建设性的反馈
-- 帮助新手入门
-- 遵守 [行为准则](https://github.com/Kilo-Org/kilocode/blob/main/CODE_OF_CONDUCT.md)
-
-## 获取帮助
-
-如果你需要帮助:
-
-- 加入我们的 [Discord 社区](https://kilo.ai/discord) 获取实时支持
-- 在 [GitHub Discussions](https://github.com/Kilo-Org/kilocode/discussions) 上提问
-- 访问我们的 [Reddit 社区](https://www.reddit.com/r/KiloCode)
-
-## 致谢
-
-所有贡献者都是 Kilo Code 社区的重要成员。贡献者将在以下地方获得认可:
-
-- 发布说明
-- 项目的 README
-- GitHub 上的贡献者列表
-
-感谢你为 Kilo Code 做出贡献,帮助让 AI 驱动的编码辅助对每个人更好!
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md
deleted file mode 100644
index 09f371dbd68..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md
+++ /dev/null
@@ -1,192 +0,0 @@
-# 开发环境
-
-
-
-本文档将帮助你设置开发环境,并了解如何与代码库一起工作。无论你是修复错误、添加功能,还是仅仅探索代码,本指南都将帮助你入门。
-
-## 先决条件
-
-在开始之前,请确保已安装以下内容:
-
-1. **Git** - 用于版本控制
-2. **Node.js**(建议使用 [v20.18.1](https://github.com/Kilo-Org/kilocode/blob/main/.nvmrc) 或更高版本)和 npm
-3. **Visual Studio Code** - 我们推荐的开发 IDE
-
-## 入门
-
-### 安装
-
-1. **Fork 并克隆仓库**:
-
- - **Fork 仓库**:
- - 访问 [Kilo Code GitHub 仓库](https://github.com/Kilo-Org/kilocode)
- - 点击右上角的 "Fork" 按钮,创建你自己的副本。
- - **克隆你的 Fork**:
- ```bash
- git clone https://github.com/[YOUR-USERNAME]/kilocode.git
- cd kilocode
- ```
- 将 `[YOUR-USERNAME]` 替换为你的 GitHub 用户名。
-
-2. **安装依赖项**:
-
- ```bash
- npm run install:all
- ```
-
- 此命令将为主扩展、Webview UI 和 e2e 测试安装依赖项。
-
-3. **安装 VSCode 扩展**:
- - **必需**:[ESBuild Problem Matchers](https://marketplace.visualstudio.com/items?itemName=connor4312.esbuild-problem-matchers) - 帮助正确显示构建错误。
-
-虽然不是运行扩展所必需的,但以下扩展建议用于开发:
-
-- [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/Kilo-Org/kilocode/blob/main/.vscode/extensions.json)
-
-### 项目结构
-
-项目组织为以下几个关键目录:
-
-- **`src/`** - 核心扩展代码
- - **`core/`** - 核心功能和工具
- - **`services/`** - 服务实现
-- **`webview-ui/`** - 前端 UI 代码
-- **`e2e/`** - 端到端测试
-- **`scripts/`** - 实用脚本
-- **`assets/`** - 静态资源,如图片和图标
-
-## 开发工作流
-
-### 构建扩展
-
-要构建扩展:
-
-```bash
-npm run build
-```
-
-这将:
-
-1. 构建 Webview UI
-2. 编译 TypeScript
-3. 打包扩展
-4. 在 `bin/` 目录下创建 `.vsix` 文件
-
-### 运行扩展
-
-要在开发模式下运行扩展:
-
-1. 在 VSCode 中按 `F5`(或选择 **Run** → **Start Debugging**)
-2. 这将打开一个新的 VSCode 窗口,并加载 Kilo Code
-
-### 热重载
-
-- **Webview UI 变更**:Webview UI 的变更会立即生效,无需重启
-- **核心扩展变更**:核心扩展代码的变更会自动重新加载扩展主机
-
-在开发模式下(NODE_ENV="development"),更改核心代码将触发 `workbench.action.reloadWindow` 命令,因此不再需要手动启动/停止调试器和任务。
-
-> **重要提示**:在生产构建中,更改核心扩展代码时,你需要:
->
-> 1. 停止调试过程
-> 2. 终止任何在后台运行的 npm 任务(见下图)
-> 3. 重新开始调试
-
-
-
-### 安装构建的扩展
-
-要安装你构建的扩展:
-
-```bash
-code --install-extension "$(ls -1v bin/kilo-code-*.vsix | tail -n1)"
-```
-
-将 `[version]` 替换为当前版本号。
-
-## 测试
-
-Kilo Code 使用多种测试来确保质量:
-
-### 单元测试
-
-运行单元测试:
-
-```bash
-npm test
-```
-
-这将运行扩展和 Webview 测试。
-
-要运行特定测试套件:
-
-```bash
-npm run test:extension # 仅运行扩展测试
-npm run test:webview # 仅运行 Webview 测试
-```
-
-### 端到端测试
-
-E2E 测试验证扩展在 VSCode 中是否正确工作:
-
-1. 在根目录下创建 `.env.local` 文件,包含所需的 API 密钥:
-
- ```
- OPENROUTER_API_KEY=sk-or-v1-...
- ```
-
-2. 运行集成测试:
- ```bash
- npm run test:integration
- ```
-
-有关 E2E 测试的更多详细信息,请参阅 [e2e/VSCODE_INTEGRATION_TESTS.md](https://github.com/Kilo-Org/kilocode/blob/main/e2e/VSCODE_INTEGRATION_TESTS.md)。
-
-## 代码检查和类型检查
-
-确保你的代码符合我们的质量标准:
-
-```bash
-npm run lint # 运行 ESLint
-npm run check-types # 运行 TypeScript 类型检查
-```
-
-## Git 钩子
-
-该项目使用 [Husky](https://typicode.github.io/husky/) 来管理 Git 钩子,这些钩子会在提交和推送之前自动执行某些检查。钩子位于 `.husky/` 目录中。
-
-### 预提交钩子
-
-在提交完成之前,`.husky/pre-commit` 钩子会运行:
-
-1. **分支检查**:防止直接提交到 `main` 分支。
-2. **类型生成**:运行 `npm run generate-types`。
-3. **类型文件检查**:确保类型生成对 `src/exports/roo-code.d.ts` 的更改已暂存。
-4. **代码检查**:运行 `lint-staged` 以检查和格式化暂存的文件。
-
-### 预推送钩子
-
-在将更改推送到远程仓库之前,`.husky/pre-push` 钩子会运行:
-
-1. **分支检查**:防止直接推送到 `main` 分支。
-2. **编译**:运行 `npm run compile` 以确保项目成功构建。
-3. **变更集检查**:检查 `.changeset/` 中是否存在变更集文件,并提醒你使用 `npm run changeset` 创建一个。
-
-这些钩子有助于保持代码质量和一致性。如果遇到提交或推送问题,请检查这些钩子的输出以获取错误信息。
-
-## 故障排除
-
-### 常见问题
-
-1. **扩展未加载**:检查 VSCode 开发者工具(Help > Toggle Developer Tools)中的错误
-2. **Webview 未更新**:尝试重新加载窗口(Developer: Reload Window)
-3. **构建错误**:确保所有依赖项都已通过 `npm run install:all` 安装
-
-### 调试技巧
-
-- 在代码中使用 `console.log()` 语句进行调试
-- 检查 VSCode 中的输出面板(View > Output)并从下拉菜单中选择 "Kilo Code"
-- 对于 Webview 问题,请在 Webview 中使用浏览器开发者工具(右键点击 > "Inspect Element")
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md
deleted file mode 100644
index 419f334ba97..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md
+++ /dev/null
@@ -1,179 +0,0 @@
----
----
-
-import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
-
-import { DISCORD_URL } from '@site/src/constants.ts'
-
-# 常见问题解答
-
-本页面解答关于Kilo Code的一些常见问题。
-
-## 一般问题
-
-### 什么是Kilo Code?
-
-Kilo Code是一个开源的Visual Studio Code扩展,它通过生成代码、自动化任务和提供建议来帮助你更高效地编写代码。
-
-### Kilo Code如何工作?
-
-Kilo Code使用大型语言模型(LLMs)来理解你的请求并将其转化为行动。它可以:
-
-- 读取和写入项目中的文件
-- 在VS Code终端中执行命令
-- 进行网页浏览(如果启用)
-- 通过模型上下文协议(MCP)使用外部工具
-
-你通过聊天界面与Kilo Code交互,在其中提供指令并审查/批准其提出的操作。
-
-### Kilo Code能做什么?
-
-Kilo Code可以帮助完成各种编码任务,包括:
-
-- 根据自然语言描述生成代码
-- 重构现有代码
-- 修复bug
-- 编写文档
-- 解释代码
-- 回答有关代码库的问题
-- 自动化重复性任务
-- 创建新文件和项目
-
-### Kilo Code是免费的吗?
-
-Kilo Code扩展本身是免费开源的。
-
-之后,你可以添加信用卡购买更多tokens(通过Stripe安全处理)。我们的定价与Anthropic的API费率完全一致。我们不会从每个token或每次充值中抽取任何费用。未来我们将添加更多LLM提供商。
-
-或者,你可以"自带API"(如[Anthropic](providers/anthropic)、[OpenAI](providers/openai)、[OpenRouter](providers/openrouter)、[Requesty](providers/requesty)等)来使用其AI功能。这些提供商通常根据处理的tokens数量收取API使用费用。你需要创建账户并从所选提供商处获取API密钥。详情请参见[设置首个AI提供商](getting-started/connecting-api-provider)。
-
-### 使用Kilo Code有哪些风险?
-
-Kilo Code是一个强大的工具,使用时需要负责任。以下是一些需要注意的事项:
-
-- **Kilo Code可能会出错。** 在批准Kilo Code的更改之前,请仔细审查。
-- **Kilo Code可以执行命令。** 在允许Kilo Code运行命令时要非常谨慎,尤其是在使用自动批准时。
-- **Kilo Code可以访问互联网。** 如果你使用的提供商支持网页浏览,请注意Kilo Code可能会访问敏感信息。
-
-## 设置与安装
-
-### 如何安装Kilo Code?
-
-请参阅[安装指南](/getting-started/installing)获取详细说明。
-
-### 支持哪些API提供商?
-
-Kilo Code支持多种API提供商,包括:
-
-- [Anthropic (Claude)](/providers/kilocode)
-- [Anthropic (Claude)](/providers/anthropic)
-- [OpenAI](/providers/openai)
-- [OpenRouter](/providers/openrouter)
-- [Google Gemini](/providers/gemini)
-- [Glama](/providers/glama)
-- [AWS Bedrock](/providers/bedrock)
-- [GCP Vertex AI](/providers/vertex)
-- [Ollama](/providers/ollama)
-- [LM Studio](/providers/lmstudio)
-- [DeepSeek](/providers/deepseek)
-- [Mistral](/providers/mistral)
-- [Unbound](/providers/unbound)
-- [Requesty](/providers/requesty)
-- [VS Code Language Model API](/providers/vscode-lm)
-
-### 如何获取API密钥?
-
-每个API提供商都有自己的API密钥获取流程。请参阅[设置首个AI提供商](/getting-started/connecting-api-provider)获取各提供商的相关文档链接。
-
-### 可以使用本地模型吗?
-
-是的,Kilo Code支持使用[Ollama](/providers/ollama)和[LM Studio](/providers/lmstudio)运行本地模型。请参阅[使用本地模型](/advanced-usage/local-models)获取说明。
-
-## 使用
-
-### 如何开始新任务?
-
-打开Kilo Code面板()并在聊天框中输入你的任务。请清晰具体地描述你希望Kilo Code完成的工作。请参阅[输入你的请求](/)获取最佳实践。
-
-### Kilo Code有哪些模式?
-
-[模式](/basic-usage/using-modes)是Kilo Code可以采用的不同的角色,每个角色都有特定的关注点和能力。内置模式包括:
-
-- **Code模式:** 用于通用编码任务
-- **Architect模式:** 用于规划和技术领导
-- **Ask模式:** 用于回答问题并提供信息
-- **Debug模式:** 用于系统化问题诊断
- 你还可以创建[自定义模式](/features/custom-modes)。
-
-### 如何在模式之间切换?
-
-使用聊天输入区域的下拉菜单选择不同的模式,或者使用`/`命令切换到特定模式。
-
-### 什么是工具,如何使用它们?
-
-[工具](/basic-usage/how-tools-work)是Kilo Code与你的系统交互的方式。Kilo Code会自动选择并使用适当的工具来完成你的任务。你不需要直接调用工具。每次使用工具时,你都会被提示批准或拒绝。
-
-### 什么是上下文提及?
-
-[上下文提及](/basic-usage/context-mentions)是一种为Kilo Code提供项目特定信息的方式,例如文件、文件夹或问题。使用"@"符号后跟你想要提及的项目(例如`@/src/file.ts`,`@problems`)。
-
-### Kilo Code可以访问互联网吗?
-
-是的,如果你使用的提供商支持模型进行网页浏览。请注意允许此功能的安全隐患。
-
-### Kilo Code可以在我的终端中运行命令吗?
-
-是的,Kilo Code可以在你的VS Code终端中执行命令。除非你启用了命令的自动批准,否则在执行每个命令之前,你都会被提示批准。在自动批准命令时要格外小心。如果你在终端命令上遇到问题,请参阅[Shell集成指南](/features/shell-integration)进行故障排除。
-
-### 如何向Kilo Code提供反馈?
-
-你可以通过批准或拒绝Kilo Code的提议操作来提供反馈。你还可以使用反馈字段提供额外的反馈。
-
-### 可以自定义Kilo Code的行为吗?
-
-是的,你可以通过多种方式自定义Kilo Code:
-
-- **自定义指令:** 提供适用于所有模式的通用指令,或特定模式的指令
-- **自定义模式:** 创建具有定制提示和工具权限的自定义模式
-- **`.clinerules`文件:** 在项目中创建`.clinerules`文件以提供额外的指导
-- **设置:** 调整各种设置,如自动批准、差异编辑等
-
-### Kilo Code有自动批准设置吗?
-
-是的,Kilo Code有一些设置,启用后会自动批准操作。了解更多[这里](/features/auto-approving-actions)。
-
-## 高级功能
-
-### 可以离线使用Kilo Code吗?
-
-是的,如果你使用[本地模型](/advanced-usage/local-models)。
-
-### 什么是MCP(模型上下文协议)?
-
-[MCP](/features/mcp/overview)是一种协议,允许Kilo Code与外部服务器通信,通过自定义工具和资源扩展其能力。
-
-### 可以创建自己的MCP服务器吗?
-
-是的,你可以创建自己的MCP服务器来为Kilo Code添加自定义功能。详情请参阅[MCP文档](https://github.com/modelcontextprotocol)。
-
-## 故障排除
-
-### Kilo Code没有响应。我该怎么办?
-
-- 确保你的API密钥正确且未过期
-- 检查你的互联网连接
-- 检查你选择的API提供商的状态
-- 尝试重启VS Code
-- 如果问题仍然存在,请在[GitHub](https://github.com/Kilo-Org/kilocode/issues)或[Discord](https://kilocode.ai/discord)上报告问题
-
-### 我看到错误消息。这是什么意思?
-
-错误消息应该会提供一些关于问题的信息。如果你不确定如何解决,请在社区论坛中寻求帮助。
-
-### Kilo Code做了我不想要的更改。如何撤销?
-
-Kilo Code使用VS Code内置的文件编辑功能。你可以使用标准的"撤销"命令(Ctrl/Cmd + Z)来还原更改。此外,如果启用了实验性检查点,Kilo可以还原对文件所做的更改。
-
-### 如何报告bug或建议功能?
-
-请在Kilo Code的[问题页面](https://github.com/Kilo-Org/kilocode/issues)和[功能请求页面](https://github.com/Kilo-Org/kilocode/discussions/categories/ideas)上报告bug或建议功能。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/KiloCodeBrowser.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/KiloCodeBrowser.png
deleted file mode 100644
index 9181a877006..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/KiloCodeBrowser.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/api-configuration-profiles.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/api-configuration-profiles.md
deleted file mode 100644
index 705b7eb5085..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/api-configuration-profiles.md
+++ /dev/null
@@ -1,106 +0,0 @@
-# API 配置配置文件
-
-API 配置配置文件允许您创建和切换不同的 AI 设置集。每个配置文件可以为每种模式设置不同的配置,让您根据手头的任务优化您的体验。
-
-:::info
-拥有多个配置配置文件可以让您快速切换不同的 AI 提供商、模型和设置,而无需每次更改设置时都重新配置所有内容。
-:::
-
-## 工作原理
-
-配置配置文件可以拥有自己的:
-
-- API 提供商(OpenAI、Anthropic、OpenRouter、Glama 等)
-- API 密钥和身份验证详细信息
-- 模型选择(o3-mini-high、Claude 3.7 Sonnet、DeepSeek R1 等)
-- [温度设置](/features/model-temperature)用于控制响应随机性
-- 思维预算
-- 特定于提供商的设置
-
-请注意,可用设置因提供商和模型而异。每个提供商提供不同的配置选项,即使在同一提供商内,不同的模型也可能支持不同的参数范围或功能。
-
-## 创建和管理配置文件
-
-### 创建配置文件
-
-1. 单击齿轮图标 → Providers 打开设置
-2. 单击配置文件选择器旁边的“+”按钮
-
-
-
-3. 输入新配置文件的名称
-
-
-
-4. 配置配置文件设置:
-
- - 选择您的 API 提供商
-
-
-
- - 输入 API 密钥
-
-
-
- - 选择模型
-
-
-
- - 调整模型参数
-
-
-
-### 切换配置文件
-
-通过两种方式切换配置文件:
-
-1. 从设置面板:从下拉菜单中选择不同的配置文件
-
-
-
-2. 聊天期间:访问聊天界面中的 API 配置下拉菜单
-
-
-
-### 固定和排序配置文件
-
-API 配置下拉菜单现在支持固定您喜欢的配置文件,以便更快访问:
-
-1. 将鼠标悬停在下拉菜单中的任何配置文件上以显示图钉图标
-2. 单击图钉图标将配置文件添加到您的固定列表
-3. 固定配置文件显示在下拉菜单顶部,按字母顺序排序
-4. 未固定配置文件显示在分隔符下方,也按字母顺序排序
-5. 您可以再次单击同一图标以取消固定配置文件
-
-
-
-此功能使您更容易在常用配置文件之间导航,尤其是在您有许多配置时。
-
-### 编辑和删除配置文件
-
-
-- 在设置中选择配置文件以修改任何设置
-- 单击铅笔图标以重命名配置文件
-- 单击垃圾桶图标以删除配置文件(您不能删除唯一剩余的配置文件)
-
-## 将配置文件链接到模式
-
-在 提示选项卡中,您可以将特定配置配置文件与每个模式明确关联。系统还会自动记住您上次与每个模式一起使用的配置文件,从而提高您的工作效率。
-
-观看此演示,了解如何将配置配置文件与特定模式连接以优化工作流:
-
-
-
-## 安全注意事项
-
-API 密钥安全地存储在 VSCode 的 Secret Storage 中,绝不会以纯文本形式公开。
-
-## 相关功能
-
-- 适用于您创建的[自定义模式](/agent-behavior/custom-modes)
-- 与[本地模型](/advanced-usage/local-models)集成以进行离线工作
-- 支持每个模式的[温度设置](/features/model-temperature)
-- 通过[速率限制和使用跟踪](/advanced-usage/rate-limits-costs)增强成本管理
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/auto-approving-actions.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/auto-approving-actions.md
deleted file mode 100644
index 343b82edcdc..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/auto-approving-actions.md
+++ /dev/null
@@ -1,295 +0,0 @@
-# 自动批准操作
-
-> ⚠️ **安全警告:** 自动批准设置会绕过确认提示,使 Kilo Code 直接访问您的系统。这可能导致**数据丢失、文件损坏,甚至更糟**。命令行访问尤其危险,因为它可能执行有害操作,从而损坏您的系统或危及安全。仅对您完全信任的操作启用自动批准。
-
-自动批准设置通过消除重复的确认提示来加快您的工作流程,但它们会显著增加安全风险。
-
-## 快速入门指南
-
-1. 单击聊天输入上方的自动批准工具栏
-2. 选择 Kilo Code 可以执行哪些操作而无需请求权限
-3. 使用主开关(最左侧的复选框)快速启用/禁用所有权限
-
-[](https://youtube.com/shorts/NBccFnYDQ-k?feature=shared)
-
-## 自动批准工具栏
-
-
-
-_提示框和自动批准工具栏显示已启用的权限_
-
-单击工具栏以展开它并配置单个权限:
-
-
-
-_提示文本框和展开的工具栏,包含所有选项_
-
-### 可用权限
-
-| 权限 | 作用 | 风险级别 |
-| -------------------- | ----------------------------------- | -------- |
-| **读取文件和目录** | 允许 Kilo Code 无需询问即可访问文件 | 中 |
-| **编辑文件** | 允许 Kilo Code 无需询问即可修改文件 | **高** |
-| **执行已批准的命令** | 自动运行白名单中的终端命令 | **高** |
-| **使用浏览器** | 允许无头浏览器交互 | 中 |
-| **使用 MCP 服务器** | 允许 Kilo Code 使用配置的 MCP 服务 | 中-高 |
-| **切换模式** | 自动在 Kilo Code 模式之间切换 | 低 |
-| **创建和完成子任务** | 无需确认即可管理子任务 | 低 |
-| **重试失败的请求** | 自动重试失败的 API 请求 | 低 |
-| **回答后续问题** | 为后续问题选择默认答案 | 低 |
-| **更新待办事项列表** | 自动更新任务进度 | 低 |
-
-## 快速控制的主开关
-
-最左侧的复选框作为主开关:
-
-
-
-_主开关(复选框)一次控制所有自动批准权限_
-
-在以下情况下使用主开关:
-
-- 在敏感代码中工作(关闭)
-- 进行快速开发(打开)
-- 在探索和编辑任务之间切换
-
-## 高级设置面板
-
-设置面板提供详细控制和重要的安全上下文:
-
-> **允许 Kilo Code 自动执行操作而无需批准。仅在您完全信任 AI 并了解相关安全风险的情况下才启用这些设置。**
-
-要访问这些设置:
-
-1. 单击右上角的
-2. 导航到自动批准设置
-
-
-
-_完整的设置面板视图_
-
-### 读取操作
-
-:::caution 读取操作
-
-
-**设置:** “始终批准只读操作”
-
-**描述:** “启用后,Kilo Code 将自动查看目录内容并读取文件,无需您单击批准按钮。”
-
-**风险级别:** 中
-
-虽然此设置只允许读取文件(不修改它们),但它可能会暴露敏感数据。对于大多数用户来说,仍然建议将其作为起点,但请注意 Kilo Code 可以访问哪些文件。
-:::
-
-### 写入操作
-
-:::caution 写入操作
-
-
-**设置:** “始终批准写入操作”
-
-**描述:** “自动创建和编辑文件,无需批准”
-
-**延迟滑块:** “写入后延迟以允许诊断检测潜在问题”(默认:1000ms)
-
-**风险级别:** 高
-
-此设置允许 Kilo Code 无需确认即可修改您的文件。延迟计时器至关重要:
-
-- 较高值(2000ms+):建议用于诊断时间较长的复杂项目
-- 默认值(1000ms):适用于大多数项目
-- 较低值:仅在速度至关重要且您处于受控环境中时使用
-- 零:诊断无延迟(不建议用于关键代码)
-
-#### 写入延迟和问题窗格集成
-
-
-
-_Kilo Code 在写入延迟期间检查的 VSCode 问题窗格_
-
-当您启用文件写入的自动批准时,延迟计时器与 VSCode 的问题窗格一起工作:
-
-1. Kilo Code 对您的文件进行更改
-2. VSCode 的诊断工具分析更改
-3. 问题窗格更新任何错误或警告
-4. Kilo Code 在继续之前注意到这些问题
-
-这就像人类开发人员在更改代码后暂停检查错误一样。您可以根据以下因素调整延迟时间:
-
-- 项目复杂性
-- 语言服务器速度
-- 错误检测对您的工作流程的重要性
- :::
-
-### 浏览器操作
-
-:::info 浏览器操作
-
-
-**设置:** “始终批准浏览器操作”
-
-**描述:** “自动执行浏览器操作,无需批准”
-
-**注意:** “仅当模型支持计算机使用时才适用”
-
-**风险级别:** 中
-
-允许 Kilo Code 无需确认即可控制无头浏览器。这可以包括:
-
-- 打开网站
-- 导航页面
-- 与网页元素交互
-
-考虑允许自动化浏览器访问的安全隐患。
-:::
-
-### API 请求
-
-:::info API 请求
-
-
-**设置:** “始终重试失败的 API 请求”
-
-**描述:** “当服务器返回错误响应时,自动重试失败的 API 请求”
-
-**延迟滑块:** “重试请求前的延迟”(默认:5s)
-
-**风险级别:** 低
-
-此设置会在 API 调用失败时自动重试。延迟控制 Kilo Code 在重试之前等待多长时间:
-
-- 较长的延迟对 API 速率限制更温和
-- 较短的延迟可以更快地从瞬时错误中恢复
- :::
-
-### MCP 工具
-
-:::caution MCP 工具
-
-
-**设置:** “始终批准 MCP 工具”
-
-**描述:** “在 MCP 服务器视图中启用单个 MCP 工具的自动批准(需要此设置和工具的单独‘始终允许’复选框)”
-
-**风险级别:** 中-高(取决于配置的 MCP 工具)
-
-此设置与 MCP 服务器视图中的单个工具权限结合使用。此全局设置和工具特定权限都必须启用才能进行自动批准。
-:::
-
-### 模式切换
-
-:::info 模式切换
-
-
-**设置:** “始终批准模式切换”
-
-**描述:** “自动在不同模式之间切换,无需批准”
-
-**风险级别:** 低
-
-允许 Kilo Code 在不同模式(代码、架构师等)之间切换,无需请求权限。这主要影响 AI 的行为,而不是系统访问。
-:::
-
-### 子任务
-
-:::info 子任务
-
-
-**设置:** “始终批准子任务的创建和完成”
-
-**描述:** “允许创建和完成子任务,无需批准”
-
-**风险级别:** 低
-
-启用 Kilo Code 自动创建和完成子任务。这与工作流组织有关,而不是系统访问。
-:::
-
-### 命令执行
-
-:::caution 命令执行
-
-
-**设置:** “始终批准允许的执行操作”
-
-**描述:** “自动执行允许的终端命令,无需批准”
-
-**命令管理:** “当启用‘始终批准执行操作’时,可以自动执行的命令前缀。添加 \* 以允许所有命令(谨慎使用)。”
-
-**风险级别:** 高
-
-此设置允许通过控制执行终端命令。虽然有风险,但白名单功能限制了可以运行的命令。重要的安全功能:
-
-- 白名单特定命令前缀(推荐)
-- 切勿在生产环境或敏感数据中使用 \* 通配符
-- 考虑每个允许命令的安全隐患
-- 始终验证与外部系统交互的命令
-
-**界面元素:**
-
-- 文本字段用于输入命令前缀(例如,“git”)
-- “添加”按钮用于添加新前缀
-- 可单击的命令按钮,带 X 可删除它们
- :::
-
-### 后续问题
-
-:::info 后续问题(风险:低)
-
-**设置:** `始终为后续问题提供默认答案`
-
-**描述:** 在可配置的超时后,自动为后续问题选择第一个 AI 建议的答案。这通过让 Kilo Code 无需手动干预即可继续操作来加快您的工作流程。
-
-**视觉倒计时:** 启用后,第一个建议按钮上会出现一个倒计时计时器,显示自动选择前的剩余时间。计时器显示为圆形进度指示器,随着时间推移而耗尽。
-
-**超时滑块:** 使用滑块设置等待时间,从 1 到 300 秒(默认:60 秒)。
-
-**覆盖选项:** 您可以通过以下方式随时取消自动选择:
-
-- 单击不同的建议
-- 编辑任何建议
-- 输入您自己的响应
-- 单击计时器以暂停它
-
-**风险级别:** 低
-
-**用例:**
-
-- 您希望 Kilo Code 继续工作的隔夜运行
-- 默认建议通常正确的重复任务
-- 交互不重要的测试工作流
- :::
-
-### 更新待办事项列表
-
-:::info 更新待办事项列表(风险:低)
-
-**设置:** “始终批准待办事项列表更新”
-
-**描述:** “自动更新待办事项列表,无需批准”
-
-**风险级别:** 低
-
-此设置允许 Kilo Code 在工作会话期间自动更新任务进度和待办事项列表。这包括:
-
-- 将任务标记为已完成
-- 添加新发现的任务
-- 更新任务状态(待处理、进行中、已完成)
-- 重新组织任务优先级
-
-**优点:**
-
-- 保持实时任务进度可见性
-- 减少多步骤工作流中的中断
-- 保持项目状态准确反映
-- 帮助跟踪复杂的任务依赖关系
-
-**用例:**
-
-- 长期开发会话
-- 多步骤重构项目
-- 复杂调试工作流
-- 具有许多子任务的功能实现
-
-当与子任务权限结合使用时,这尤其有用,因为它允许 Kilo Code 在没有持续批准请求的情况下保持项目进度的完整视图。
-:::
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/browser-use.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/browser-use.md
deleted file mode 100644
index 660210cc769..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/browser-use.md
+++ /dev/null
@@ -1,177 +0,0 @@
-# 浏览器使用
-
-Kilo Code 提供复杂的浏览器自动化功能,让您可以直接从 VS Code 与网站交互。此功能支持测试 Web 应用程序、自动化浏览器任务和捕获屏幕截图,而无需离开您的开发环境。
-
-:::info 需要模型支持
-Kilo Code 中的浏览器使用需要使用高级代理模型,并且仅在 Claude Sonnet 3.5、3.7 和 4 上进行过测试。
-:::
-
-## 浏览器使用工作原理
-
-默认情况下,Kilo Code 使用内置浏览器,该浏览器:
-
-- 当您要求 Kilo 访问网站时自动启动
-- 捕获网页屏幕截图
-- 允许 Kilo 与网页元素交互
-- 在后台隐形运行
-
-所有这些都直接在 VS Code 中发生,无需设置。
-
-## 使用浏览器
-
-典型的浏览器交互遵循以下模式:
-
-1. 要求 Kilo 访问网站
-2. Kilo 启动浏览器并向您显示屏幕截图
-3. 请求其他操作(单击、键入、滚动)
-4. 完成后 Kilo 关闭浏览器
-
-例如:
-
-```
-打开浏览器并查看我们的网站。
-```
-
-```
-您能检查一下我的网站 https://kilocode.ai 是否正常显示吗?
-```
-
-```
-浏览 http://localhost:3000,滚动到页面底部并检查页脚信息是否正常显示。
-```
-
-
-
-## 浏览器操作工作原理
-
-`browser_action` 工具控制一个浏览器实例,该实例在每次操作后返回屏幕截图和控制台日志,让您可以看到交互结果。
-
-主要特点:
-
-- 每个浏览器会话必须以 `launch` 开始并以 `close` 结束
-- 每个消息只能使用一个浏览器操作
-- 浏览器处于活动状态时,不能使用其他工具
-- 在执行下一个操作之前,您必须等待响应(屏幕截图和日志)
-
-### 可用的浏览器操作
-
-| 操作 | 描述 | 何时使用 |
-| ------------- | ------------------- | ------------------ |
-| `launch` | 在 URL 处打开浏览器 | 启动新的浏览器会话 |
-| `click` | 在特定坐标处单击 | 与按钮、链接等交互 |
-| `type` | 将文本键入活动元素 | 填写表单、搜索框 |
-| `scroll_down` | 向下滚动一页 | 查看折叠下方的内容 |
-| `scroll_up` | 向上滚动一页 | 返回到以前的内容 |
-| `close` | 关闭浏览器 | 结束浏览器会话 |
-
-## 浏览器使用配置/设置
-
-:::info 默认浏览器设置
-
-- **启用浏览器工具**:已启用
-- **视口大小**:小型桌面 (900x600)
-- **屏幕截图质量**:75%
-- **使用远程浏览器连接**:已禁用
- :::
-
-### 访问设置
-
-要更改 Kilo 中的浏览器/计算机使用设置:
-
-1. 单击齿轮图标 → 浏览器/计算机使用 打开设置
-
-
-
-### 启用/禁用浏览器使用
-
-**目的**:主开关,使 Kilo 能够使用 Puppeteer 控制的浏览器与网站交互。
-
-要更改此设置:
-
-1. 在浏览器/计算机使用设置中选中或取消选中“启用浏览器工具”复选框
-
-
-
-### 视口大小
-
-**目的**:确定 Kilo Code 使用的浏览器会话的分辨率。
-
-**权衡**:较高的值提供更大的视口,但会增加 token 使用量。
-
-要更改此设置:
-
-1. 单击浏览器/计算机使用设置中“视口大小”下的下拉菜单
-2. 选择可用选项之一:
- - 大型桌面 (1280x800)
- - 小型桌面 (900x600) - 默认
- - 平板电脑 (768x1024)
- - 移动设备 (360x640)
-3. 选择您所需的分辨率。
-
-
-
-### 屏幕截图质量
-
-**目的**:控制浏览器屏幕截图的 WebP 压缩质量。
-
-**权衡**:较高的值提供更清晰的屏幕截图,但会增加 token 使用量。
-
-要更改此设置:
-
-1. 在浏览器/计算机使用设置中调整“屏幕截图质量”下的滑块
-2. 设置 1-100% 之间的值(默认值为 75%)
-3. 较高的值提供更清晰的屏幕截图,但会增加 token 使用量:
-
- - 40-50%:适用于基本的基于文本的网站
- - 60-70%:适用于大多数通用浏览
- - 80%+:在精细视觉细节至关重要时使用
-
-
-
-### 远程浏览器连接
-
-**目的**:将 Kilo 连接到现有 Chrome 浏览器,而不是使用内置浏览器。
-
-**优点**:
-
-- 在容器化环境和远程开发工作流中工作
-- 在浏览器使用之间保持经过身份验证的会话
-- 消除重复的登录步骤
-- 允许使用带有特定扩展的自定义浏览器配置文件
-
-**要求**:Chrome 必须运行并启用远程调试。
-
-要启用此功能:
-
-1. 在浏览器/计算机使用设置中选中“使用远程浏览器连接”框
-2. 单击“测试连接”以验证
-
-
-
-#### 常见用例
-
-- **DevContainers**:从容器化 VS Code 连接到主机 Chrome 浏览器
-- **远程开发**:将本地 Chrome 与远程 VS Code 服务器一起使用
-- **自定义 Chrome 配置文件**:使用带有特定扩展和设置的配置文件
-
-#### 连接到可见的 Chrome 窗口
-
-连接到可见的 Chrome 窗口以实时观察 Kilo 的交互:
-
-**macOS**
-
-```bash
-/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug --no-first-run
-```
-
-**Windows**
-
-```bash
-"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=C:\chrome-debug --no-first-run
-```
-
-**Linux**
-
-```bash
-google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug --no-first-run
-```
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/checkpoints.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/checkpoints.md
deleted file mode 100644
index 15ec8437087..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/checkpoints.md
+++ /dev/null
@@ -1,253 +0,0 @@
-# 检查点
-
-检查点在 Kilo Code 任务期间自动对您的工作区文件进行版本控制,从而实现对 AI 建议的非破坏性探索,并轻松从不需要的更改中恢复。
-
-检查点让您能够:
-
-- 安全地试验 AI 建议的更改
-- 轻松从不需要的修改中恢复
-- 比较不同的实现方法
-- 恢复到以前的项目状态而不会丢失工作
-
-:::info 重要说明
-
-- **检查点默认启用。**
-- **必须安装 Git** 才能使检查点正常工作 - [请参阅安装说明](#git-安装)
-- 无需 GitHub 帐户或仓库
-- 无需 Git 个人信息配置
-- 影子 Git 仓库独立于您项目现有的 Git 配置运行
- :::
-
-## 配置选项
-
-在 Kilo Code 设置的“检查点”部分访问检查点设置:
-
-1. 单击齿轮图标 → Checkpoints 打开设置
-2. 选中或取消选中“启用自动检查点”复选框
-
-
-
-## 检查点工作原理
-
-Kilo Code 使用一个影子 Git 仓库(独立于您的主版本控制系统)捕获项目状态的快照。这些快照称为检查点,会在您的 AI 辅助工作流中自动记录更改——无论任务何时开始、文件何时更改或命令何时运行。
-
-检查点作为 Git 提交存储在影子仓库中,捕获:
-
-- 文件内容更改
-- 添加的新文件
-- 删除的文件
-- 重命名文件
-- 二进制文件更改
-
-## 使用检查点
-
-检查点直接通过聊天界面集成到您的工作流中。
-
-检查点以两种形式直接出现在您的聊天历史记录中:
-
-- **初始检查点**标记您的起始项目状态
-
-
-- **常规检查点**在文件修改或命令执行后出现
-
-
-每个检查点提供两个主要功能:
-
-### 查看差异
-
-要将当前工作区与以前的检查点进行比较:
-
-1. 在聊天历史记录中找到检查点
-2. 单击检查点的 `View Differences` 按钮
-
-
-
-3. 在比较视图中查看差异:
- - 添加的行以绿色突出显示
- - 删除的行以红色突出显示
- - 修改的文件列出详细更改
- - 重命名和移动的文件跟踪其路径更改
- - 新建或删除的文件清晰标记
-
-
-
-### 恢复检查点
-
-要将项目恢复到以前的检查点状态:
-
-1. 在聊天历史记录中找到检查点
-2. 单击检查点的 `Restore Checkpoint` 按钮
-
-3. 选择以下恢复选项之一:
-
-
-
-- **仅恢复文件** - 仅将工作区文件恢复到检查点状态,而不修改对话历史记录。非常适合在保持聊天上下文的同时比较替代实现,让您可以在不同项目状态之间无缝切换。此选项无需确认,可让您快速在不同实现之间切换。
-
-- **恢复文件和任务** - 恢复工作区文件并删除所有后续对话消息。当您希望将代码和对话完全重置回检查点的时间点时使用。此选项需要在对话框中进行确认,因为它无法撤消。
-
-
-
-### 限制和注意事项
-
-- **范围**:检查点仅捕获在活动 Kilo Code 任务期间所做的更改
-- **外部更改**:在任务之外进行的修改(手动编辑、其他工具)不包括在内
-- **大文件**:非常大的二进制文件可能会影响性能
-- **未保存的工作**:恢复将覆盖工作区中任何未保存的更改
-
-## 技术实现
-
-### 检查点架构
-
-检查点系统包括:
-
-1. **影子 Git 仓库**:专门为检查点跟踪创建的独立 Git 仓库,作为检查点状态的持久存储机制。
-
-2. **检查点服务**:通过以下方式处理 Git 操作和状态管理:
-
- - 仓库初始化
- - 检查点创建和存储
- - 差异计算
- - 状态恢复
-
-3. **UI 组件**:聊天中显示的界面元素,可实现与检查点的交互。
-
-### 恢复过程
-
-当执行恢复时,Kilo Code:
-
-- 对指定的检查点提交执行硬重置
-- 将所有文件从影子仓库复制到您的工作区
-- 更新内部检查点跟踪状态
-
-### 存储类型
-
-检查点是任务范围的,这意味着它们特定于单个任务。
-
-### 差异计算
-
-检查点比较使用 Git 的底层差异功能生成结构化的文件差异:
-
-- 修改的文件显示逐行更改
-- 正确检测和处理二进制文件
-- 正确跟踪重命名和移动的文件
-- 清晰识别文件创建和删除
-
-### 文件排除和忽略模式
-
-检查点系统使用智能文件排除来仅跟踪相关文件:
-
-#### 内置排除
-
-系统具有全面的内置排除模式,自动忽略:
-
-- 构建工件和依赖项目录(`node_modules/`、`dist/`、`build/`)
-- 媒体文件和二进制资产(图像、视频、音频)
-- 缓存和临时文件(`.cache/`、`.tmp/`、`.bak`)
-- 包含敏感信息的配置文件(`.env`)
-- 大型数据文件(存档、可执行文件、二进制文件)
-- 数据库文件和日志
-
-这些模式在初始化期间写入影子仓库的 `.git/info/exclude` 文件。
-
-#### .gitignore 支持
-
-检查点系统尊重工作区中的 `.gitignore` 模式:
-
-- 被 `.gitignore` 排除的文件不会触发检查点创建
-- 排除的文件不会出现在检查点差异中
-- 暂存文件更改时应用标准 Git 忽略规则
-
-#### .kilocodeignore 行为
-
-`.kilocodeignore` 文件(控制 AI 对文件的访问)与检查点跟踪是分开的:
-
-- 被 `.kilocodeignore` 排除但未被 `.gitignore` 排除的文件仍将被检查点
-- 对 AI 无法访问的文件的更改仍可通过检查点恢复
-
-这种分离是故意的,因为 `.kilocodeignore` 限制了 AI 可以访问的文件,而不是应该跟踪版本历史的文件。
-
-#### 嵌套 Git 仓库
-
-检查点系统包括对嵌套 Git 仓库的特殊处理:
-
-- 在操作期间临时将嵌套的 `.git` 目录重命名为 `.git_disabled`
-- 操作完成后恢复它们
-- 允许正确跟踪嵌套仓库中的文件
-- 确保嵌套仓库保持功能正常且不受影响
-
-### 并发控制
-
-操作排队以防止可能损坏仓库状态的并发 Git 操作。这确保了即使在快速连续请求时,快速检查点操作也能安全完成。
-
-## Git 安装
-
-检查点要求您的系统上安装 Git。该实现使用 `simple-git` 库,该库依赖于 Git 命令行工具来创建和管理影子仓库。
-
-### macOS
-
-1. **使用 Homebrew 安装(推荐)**:
-
- ```
- brew install git
- ```
-
-2. **替代方案:使用 Xcode 命令行工具安装**:
-
- ```
- xcode-select --install
- ```
-
-3. **验证安装**:
- - 打开终端
- - 键入 `git --version`
- - 您应该会看到版本号,例如 `git version 2.40.0`
-
-### Windows
-
-1. **下载适用于 Windows 的 Git**:
-
- - 访问 https://git-scm.com/download/win
- - 下载应自动开始
-
-2. **运行安装程序**:
-
- - 接受许可协议
- - 选择安装位置(推荐默认)
- - 选择组件(默认选项通常足够)
- - 选择默认编辑器
- - 选择如何从命令行使用 Git(推荐:从命令行和第三方软件使用 Git)
- - 配置行尾转换(推荐:Checkout Windows-style, commit Unix-style)
- - 完成安装
-
-3. **验证安装**:
- - 打开命令提示符或 PowerShell
- - 键入 `git --version`
- - 您应该会看到版本号,例如 `git version 2.40.0.windows.1`
-
-### Linux
-
-**Debian/Ubuntu**:
-
-```
-sudo apt update
-sudo apt install git
-```
-
-**Fedora**:
-
-```
-sudo dnf install git
-```
-
-**Arch Linux**:
-
-```
-sudo pacman -S git
-```
-
-**验证安装**:
-
-- 打开终端
-- 键入 `git --version`
-- 您应该会看到版本号
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/code-actions.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/code-actions.md
deleted file mode 100644
index d39556f0f84..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/code-actions.md
+++ /dev/null
@@ -1,90 +0,0 @@
-import Image from '@site/src/components/Image';
-
-# 代码操作
-
-代码操作是 VS Code 的强大功能,它直接在编辑器中提供快速修复、重构和其他与代码相关的建议。Kilo Code 与此系统集成,为常见的编码任务提供 AI 辅助。
-
-## 什么是代码操作?
-
-代码操作在编辑器装订线(行号左侧区域)中显示为灯泡图标(💡)。它们也可以通过右键单击上下文菜单或通过键盘快捷键访问。它们在以下情况下触发:
-
-* 您选择了一段代码。
-* 您的光标位于有问题(错误、警告或提示)的行上。
-* 您通过命令调用它们。
-
-单击灯泡、右键单击并选择“Kilo Code”,或使用键盘快捷键(macOS 上默认为 `Ctrl+.` 或 `Cmd+.`),将显示可用操作菜单。
-
-
-
-## Kilo Code 的代码操作
-
-Kilo Code 提供以下代码操作:
-
-* **添加到上下文:** 快速将选定的代码添加到与 Kilo 的聊天中,包括行号,以便 Kilo 确切知道代码来自何处。它在菜单中排在第一位,以便于访问。(更多详细信息见下文)。
-* **解释代码:** 要求 Kilo Code 解释选定的代码。
-* **修复代码:** 要求 Kilo Code 修复选定代码中的问题(在存在诊断时可用)。
-* **改进代码:** 要求 Kilo Code 建议改进选定的代码。
-
-### 添加到上下文深入探讨
-
-**添加到上下文**操作在代码操作菜单中排在第一位,因此您可以快速将代码片段添加到对话中。当您使用它时,Kilo Code 会将文件名和行号以及代码包含在内。
-
-这有助于 Kilo 理解代码在项目中的确切上下文,从而使其能够提供更相关和准确的帮助。
-
-
-
-**示例聊天输入:**
-
-```
-你能解释一下这个函数吗?
-@myFile.js:15:25
-```
-
-*(其中 `@myFile.js:15:25` 表示通过“添加到上下文”添加的代码)*
-
-这些操作中的每一个都可以在“新任务中”或“当前任务中”执行。
-
-## 使用代码操作
-
-使用 Kilo Code 的代码操作有三种主要方式:
-
-### 1. 从灯泡 (💡)
-
-1. **选择代码:** 选择您要处理的代码。您可以选择单行、多行或整个代码块。
-2. **查找灯泡:** 灯泡图标将出现在选定代码(或带有错误/警告的行)旁边的装订线中。
-3. **单击灯泡:** 单击灯泡图标以打开代码操作菜单。
-4. **选择操作:** 从菜单中选择所需的 Kilo Code 操作。
-5. **审查和批准:** Kilo Code 将在聊天面板中提出解决方案。审查提议的更改并批准或拒绝它们。
-
-### 2. 从右键上下文菜单
-
-1. **选择代码:** 选择您要处理的代码。
-2. **右键单击:** 右键单击选定的代码以打开上下文菜单。
-3. **选择“Kilo Code”:** 从上下文菜单中选择“Kilo Code”选项。将出现一个子菜单,其中包含可用的 Kilo Code 操作。
-4. **选择操作:** 从子菜单中选择所需的操作。
-5. **审查和批准:** Kilo Code 将在聊天面板中提出解决方案。审查提议的更改并批准或拒绝它们。
-
-### 3. 从命令面板
-
-1. **选择代码:** 选择您要处理的代码。
-2. **打开命令面板:** 按 `Ctrl+Shift+P` (Windows/Linux) 或 `Cmd+Shift+P` (macOS)。
-3. **键入命令:** 键入“Kilo Code”以过滤命令,然后选择相关的代码操作(例如,“Kilo Code: Explain Code”)。您也可以键入命令的开头,例如“Kilo Code: Explain”,然后从过滤列表中选择。
-4. **审查和批准:** Kilo Code 将在聊天面板中提出解决方案。审查提议的更改并批准或拒绝它们。
-
-## 代码操作和当前任务
-
-每个代码操作都为您提供两个选项:
-
-* **在新任务中:** 选择此选项以开始与 Kilo 的对话,围绕此代码操作进行。
-* **在当前任务中:** 如果对话已经开始,此选项将代码操作添加为附加消息。
-
-## 自定义代码操作提示
-
-您可以通过修改“提示”选项卡中的“支持提示”来自定义每个代码操作使用的提示。这允许您微调提供给 AI 模型的指令,并根据您的特定需求调整响应。
-
-1. **打开提示选项卡:** 单击 Kilo Code 顶部菜单栏中的 图标。
-2. **查找“支持提示”:** 您将看到支持提示,包括“增强提示”、“解释代码”、“修复代码”和“改进代码”。
-3. **编辑提示:** 修改您要自定义的提示的文本区域中的文本。您可以使用 `${filePath}` 和 `${selectedText}` 等占位符来包含有关当前文件和选择的信息。
-4. **单击“完成”:** 保存您的更改。
-
-通过使用 Kilo Code 的代码操作,您可以直接在编码工作流中快速获得 AI 辅助。这可以节省您的时间并帮助您编写更好的代码。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/codebase-indexing.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/codebase-indexing.md
deleted file mode 100644
index 3c085d51500..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/codebase-indexing.md
+++ /dev/null
@@ -1,230 +0,0 @@
-import Codicon from '@site/src/components/Codicon';
-
-# 代码库索引
-
-代码库索引通过 AI 嵌入实现对整个项目的语义代码搜索。它不是搜索精确的文本匹配,而是理解您查询的*含义*,帮助 Kilo Code 找到相关代码,即使您不知道特定的函数名称或文件位置。
-
-
-
-## 作用
-
-启用后,索引系统:
-
-1. **使用 Tree-sitter 解析您的代码**以识别语义块(函数、类、方法)
-2. **使用 AI 模型创建每个代码块的嵌入**
-3. **将向量存储在 Qdrant 数据库中**以进行快速相似性搜索
-4. **为 Kilo Code 提供 [`codebase_search`](/advanced-usage/available-tools/codebase-search) 工具**以进行智能代码发现
-
-这使得自然语言查询(如“用户身份验证逻辑”或“数据库连接处理”)能够查找整个项目中的相关代码。
-
-## 主要优点
-
-- **语义搜索**:通过含义查找代码,而不仅仅是关键字
-- **增强 AI 理解**:Kilo Code 可以更好地理解和使用您的代码库
-- **跨项目发现**:搜索所有文件,而不仅仅是打开的文件
-- **模式识别**:查找相似的实现和代码模式
-
-## 设置要求
-
-### 嵌入提供商
-
-选择以下选项之一来生成嵌入:
-
-**OpenAI(推荐)**
-
-- 需要 OpenAI API 密钥
-- 支持所有 OpenAI 嵌入模型
-- 默认:`text-embedding-3-small`
-- 每批处理多达 100,000 个 token
-
-**Gemini**
-
-- 需要 Google AI API 密钥
-- 支持 Gemini 嵌入模型,包括 `gemini-embedding-001`
-- OpenAI 的经济高效替代方案
-- 用于代码理解的高质量嵌入
-
-**Ollama(本地)**
-
-- 需要本地 Ollama 安装
-- 无 API 成本或互联网依赖
-- 支持任何 Ollama 兼容的嵌入模型
-- 需要 Ollama 基本 URL 配置
-
-### 向量数据库
-
-**Qdrant** 是存储和搜索嵌入所必需的:
-
-- **本地**:`http://localhost:6333`(推荐用于测试)
-- **云**:Qdrant Cloud 或自托管实例
-- **身份验证**:安全部署的可选 API 密钥
-
-## 设置 Qdrant
-
-### 快速本地设置
-
-**使用 Docker:**
-
-```bash
-docker run -p 6333:6333 qdrant/qdrant
-```
-
-**使用 Docker Compose:**
-
-```yaml
-version: '3.8'
-services:
- qdrant:
- image: qdrant/qdrant
- ports:
- - '6333:6333'
- volumes:
- - qdrant_storage:/qdrant/storage
-volumes:
- qdrant_storage:
-```
-
-### 生产部署
-
-用于团队或生产:
-
-- [Qdrant Cloud](https://cloud.qdrant.io/) - 托管服务
-- 在 AWS、GCP 或 Azure 上自托管
-- 带有网络访问的本地服务器,用于团队共享
-
-## 配置
-
-1. 打开 Kilo Code 设置( 图标)
-2. 导航到 **代码库索引** 部分
-3. 使用切换开关启用 **“启用代码库索引”**
-4. 配置您的嵌入提供商:
- - **OpenAI**:输入 API 密钥并选择模型
- - **Gemini**:输入 Google AI API 密钥并选择嵌入模型
- - **Ollama**:输入基本 URL 并选择模型
-5. 设置 Qdrant URL 和可选的 API 密钥
-6. 配置 **最大搜索结果**(默认:20,范围:1-100)
-7. 单击 **保存** 开始初始索引
-
-### 启用/禁用切换
-
-代码库索引功能包含一个方便的切换开关,允许您:
-
-- **启用**:开始索引您的代码库并使搜索工具可用
-- **禁用**:停止索引、暂停文件监视并禁用搜索功能
-- **保留设置**:关闭时您的配置仍会保存
-
-此切换对于在密集开发工作期间或处理敏感代码库时暂时禁用索引很有用。
-
-## 理解索引状态
-
-界面显示带有颜色指示器的实时状态:
-
-- **待机**(灰色):未运行,等待配置
-- **索引中**(黄色):当前正在处理文件
-- **已索引**(绿色):最新且可供搜索
-- **错误**(红色):失败状态,需要注意
-
-## 文件处理方式
-
-### 智能代码解析
-
-- **Tree-sitter 集成**:使用 AST 解析识别语义代码块
-- **语言支持**:Tree-sitter 支持的所有语言
-- **Markdown 支持**:完全支持 markdown 文件和文档
-- **回退**:对于不支持的文件类型,基于行的分块
-- **块大小**:
- - 最小:100 个字符
- - 最大:1,000 个字符
- - 智能拆分大型函数
-
-### 自动文件过滤
-
-索引器自动排除:
-
-- 二进制文件和图像
-- 大文件(>1MB)
-- Git 仓库(`.git` 文件夹)
-- 依赖项(`node_modules`、`vendor` 等)
-- 与 `.gitignore` 和 `.kilocode` 模式匹配的文件
-
-### 增量更新
-
-- **文件监视**:监视工作区中的更改
-- **智能更新**:仅重新处理修改过的文件
-- **基于哈希的缓存**:避免重新处理未更改的内容
-- **分支切换**:自动处理 Git 分支更改
-
-## 最佳实践
-
-### 模型选择
-
-**对于 OpenAI:**
-
-- **`text-embedding-3-small`**:性能和成本的最佳平衡
-- **`text-embedding-3-large`**:更高精度,成本高 5 倍
-- **`text-embedding-ada-002`**:旧模型,成本较低
-
-**对于 Ollama:**
-
-- **`mxbai-embed-large`**:最大和最高质量的嵌入模型。
-- **`nomic-embed-text`**:性能和嵌入质量的最佳平衡。
-- **`all-minilm`**:紧凑型模型,质量较低但性能更快。
-
-### 安全注意事项
-
-- **API 密钥**:安全地存储在 VS Code 的加密存储中
-- **代码隐私**:仅发送少量代码片段用于嵌入
-- **本地处理**:所有解析均在本地进行
-- **Qdrant 安全**:在生产环境部署时使用身份验证
-
-## 当前限制
-
-- **文件大小**:每个文件最大 1MB
-- **单个工作区**:一次一个工作区
-- **依赖项**:需要外部服务(嵌入提供商 + Qdrant)
-- **语言覆盖**:仅限于 Tree-sitter 支持的语言以实现最佳解析
-
-## 使用搜索功能
-
-索引后,Kilo Code 可以使用 [`codebase_search`](/advanced-usage/available-tools/codebase-search) 工具查找相关代码:
-
-**示例查询:**
-
-- “用户身份验证如何处理?”
-- “数据库连接设置”
-- “错误处理模式”
-- “API 端点定义”
-
-该工具为 Kilo Code 提供:
-
-- 相关代码片段(最多达到您配置的最大结果限制)
-- 文件路径和行号
-- 相似度分数
-- 上下文信息
-
-### 搜索结果配置
-
-您可以通过调整 **最大搜索结果** 设置来控制返回的搜索结果数量:
-
-- **默认**:20 个结果
-- **范围**:1-100 个结果
-- **性能**:较低的值可提高响应速度
-- **全面性**:较高的值提供更多上下文,但可能会减慢响应速度
-
-## 隐私与安全
-
-- **代码保留在本地**:仅发送少量代码片段用于嵌入
-- **嵌入是数字的**:不是人类可读的表示
-- **安全存储**:API 密钥在 VS Code 存储中加密
-- **本地选项**:使用 Ollama 进行完全本地处理
-- **访问控制**:尊重现有文件权限
-
-## 未来增强
-
-计划的改进:
-
-- 附加嵌入提供商
-- 多工作区索引
-- 增强的过滤和配置选项
-- 团队共享功能
-- 与 VS Code 本机搜索集成
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md
deleted file mode 100644
index 09031965be9..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md
+++ /dev/null
@@ -1,494 +0,0 @@
-# 自定义模式
-
-Kilo Code 允许您创建**自定义模式**,以根据特定任务或工作流调整 Kilo 的行为。自定义模式可以是**全局**(适用于所有项目)或**项目特定**(在单个项目中定义)。
-
-## 粘性模型以提高工作效率
-
-每种模式(包括自定义模式)都有**粘性模型**功能。这意味着 Kilo Code 会自动记住并选择您上次在特定模式下使用的模型。这让您能够为不同任务分配不同的首选模型,而无需不断重新配置,因为 Kilo 会在您切换模式时自动切换模型。
-
-## 为什么使用自定义模式?
-
-- **专业化**:创建针对特定任务优化的模式,如"文档编写者"、"测试工程师"或"重构专家"
-- **安全性**:限制模式对敏感文件或命令的访问。例如,"审查模式"可以限制为只读操作
-- **实验性**:安全地尝试不同的提示和配置,而不会影响其他模式
-- **团队协作**:与团队共享自定义模式以标准化工作流程
-
-
-
-_Kilo Code 创建和管理自定义模式的界面。_
-
-## 自定义模式包含哪些内容?
-
-自定义模式由几个关键属性定义。理解这些概念将帮助您有效地调整 Kilo 的行为。
-
-| UI 字段 / YAML 属性 | 概念描述 |
-| ------------------------------------- | -------------------------------------------------------------------------------------------------- |
-| **Slug** (`slug`) | 模式的唯一内部标识符。Kilo Code 使用它来引用模式,特别是用于关联特定于模式的指令文件。 |
-| **名称** (`name`) | 在 Kilo Code 用户界面中显示的模式名称。应该是人类可读且具有描述性的。 |
-| **描述** (`description`) | 在模式选择器 UI 中显示的模式目的的简短、用户友好的摘要。保持简洁,并专注于该模式对用户的作用。 |
-| **角色定义** (`roleDefinition`) | 定义模式的核心身份和专业领域。此文本放置在系统提示的开头,并定义 Kilo 在此模式激活时的个性和行为。 |
-| **可用工具** (`groups`) | 定义模式允许的工具集和文件访问权限。对应于选择模式可以使用的工具的一般类别。 |
-| **使用时机** (`whenToUse`) | _(可选)_ 为 Kilo 的自动化决策提供指导,特别是模式选择和任务编排。由协调器模式用于任务协调。 |
-| **自定义指令** (`customInstructions`) | _(可选)_ 模式的特定行为准则或规则。添加在系统提示的末尾附近,以进一步细化 Kilo 的行为。 |
-
-## 导入/导出模式
-
-轻松共享、备份和模板化您的自定义模式。此功能允许您将任何模式及其关联规则导出到单个便携式 YAML 文件中,您可以将其导入到任何项目中。
-
-### 主要功能
-
-- **可共享设置**:将模式及其规则打包到一个文件中,轻松与团队共享
-- **轻松备份**:保存您的自定义模式配置,这样您就不会丢失它们
-- **项目模板**:为不同类型的项目创建标准化模式模板
-- **简单迁移**:在全局设置和特定项目之间轻松移动模式
-- **灵活的 Slug 更改**:在导出的文件中更改模式 slug,无需手动路径编辑
-
-### 工作原理
-
-**导出模式:**
-
-1. 导航到模式视图
-2. 选择您希望导出的模式
-3. 点击导出模式按钮(下载图标)
-4. 选择保存 `.yaml` 文件的位置
-5. Kilo 将模式的配置和任何规则打包到 YAML 文件中
-
-**导入模式:**
-
-1. 在模式视图中点击导入模式按钮(上传图标)
-2. 选择模式的 YAML 文件
-3. 选择导入级别:
- - **项目**:仅在当前工作区中可用(保存到 `.kilocodemodes` 文件)
- - **全局**:在所有项目中可用(保存到全局设置)
-
-### 导入时更改 Slug
-
-导入模式时,您可以在导入之前更改导出的 YAML 文件中的 slug:
-
-1. 导出一个 slug 为 `original-mode` 的模式
-2. 编辑 YAML 文件并将 slug 更改为 `new-mode`
-3. 导入文件 - 导入过程将自动更新规则文件路径以匹配新的 slug
-
-## 创建和配置自定义模式的方法
-
-您可以通过几种方式创建和配置自定义模式:
-
-### 1. 询问 Kilo!(推荐)
-
-您可以通过要求 Kilo Code 为您创建基本的自定义模式来快速创建。例如:
-
-```
-创建一个名为"文档编写者"的新模式。它应该只能读取文件和编写 Markdown 文件。
-```
-
-Kilo Code 将引导您完成此过程,提示必要的信息并使用首选的 YAML 格式创建模式。
-
-### 2. 使用提示标签页
-
-1. **打开提示标签页**:点击 Kilo Code 顶部菜单栏中的 图标
-2. **创建新模式**:点击模式标题右侧的 按钮
-3. **填写字段**:
-
-
-
-_自定义模式创建界面,显示名称、slug、描述、保存位置、角色定义、可用工具、自定义指令的字段。_
-
-界面提供名称、Slug、描述、保存位置、角色定义、使用时机(可选)、可用工具和自定义指令的字段。填写这些字段后,点击"创建模式"按钮。Kilo Code 将以 YAML 格式保存新模式。
-
-### 3. 手动配置(YAML 和 JSON)
-
-您可以直接编辑配置文件来创建或修改自定义模式。此方法为您提供对所有属性的最大控制。Kilo Code 现在支持 YAML(首选)和 JSON 格式。
-
-- **全局模式**:编辑 `custom_modes.yaml`(首选)或 `custom_modes.json` 文件。通过提示标签页 > ("全局提示"旁的设置菜单图标)> "编辑全局模式" 访问
-- **项目模式**:编辑项目根目录中的 `.kilocodemodes` 文件(可以是 YAML 或 JSON)。通过提示标签页 > ("项目提示"旁的设置菜单图标)> "编辑项目模式" 访问
-
-这些文件定义自定义模式的数组/列表。
-
-## YAML 配置格式(首选)
-
-YAML 现在是定义自定义模式的首选格式,因为它具有更好的可读性、注释支持和更清晰的多行字符串。
-
-### YAML 示例
-
-```yaml
-customModes:
- - slug: docs-writer
- name: 📝 文档编写者
- description: 专门用于编写和编辑技术文档的模式。
- roleDefinition: 您是一位专门编写清晰文档的技术作家。
- whenToUse: 使用此模式编写和编辑文档。
- customInstructions: 专注于文档的清晰性和完整性。
- groups:
- - read
- - - edit # 元组的第一个元素
- - fileRegex: \.(md|mdx)$ # 第二个元素是选项对象
- description: 仅限 Markdown 文件
- - browser
- - slug: another-mode
- name: 另一个模式
- # ... 其他属性
-```
-
-### JSON 替代方案
-
-```json
-{
- "customModes": [
- {
- "slug": "docs-writer",
- "name": "📝 文档编写者",
- "description": "专门用于编写和编辑技术文档的模式。",
- "roleDefinition": "您是一位专门编写清晰文档的技术作家。",
- "whenToUse": "使用此模式编写和编辑文档。",
- "customInstructions": "专注于文档的清晰性和完整性。",
- "groups": [
- "read",
- ["edit", { "fileRegex": "\\.(md|mdx)$", "description": "仅限 Markdown 文件" }],
- "browser"
- ]
- }
- ]
-}
-```
-
-## YAML/JSON 属性详情
-
-### `slug`
-
-- **用途**:模式的唯一标识符
-- **格式**:必须匹配模式 `/^[a-zA-Z0-9-]+$/`(仅字母、数字和连字符)
-- **用法**:在内部使用以及模式特定规则的文件/目录名中使用(例如,`.kilo/rules-{slug}/`)
-- **建议**:保持简短且具有描述性
-
-**YAML 示例**:`slug: docs-writer`
-**JSON 示例**:`"slug": "docs-writer"`
-
-### `name`
-
-- **用途**:在 Kilo Code UI 中显示的名称
-- **格式**:可以包含空格和适当的大小写
-
-**YAML 示例**:`name: 📝 文档编写者`
-**JSON 示例**:`"name": "文档编写者"`
-
-### `description`
-
-- **用途**:在模式选择器 UI 中显示在模式名称下方的简短、用户友好的摘要
-- **格式**:保持简洁,并专注于该模式对用户的作用
-- **UI 显示**:此文本出现在重新设计的模式选择器中
-
-**YAML 示例**:`description: 专门用于编写和编辑技术文档的模式。`
-**JSON 示例**:`"description": "专门用于编写和编辑技术文档的模式。"`
-
-### `roleDefinition`
-
-- **用途**:模式角色、专业领域和个性的详细描述
-- **位置**:当模式激活时,此文本放置在系统提示的开头
-
-**YAML 示例(多行)**:
-
-```yaml
-roleDefinition: >-
- 您是一位测试工程师,具有以下专业知识:
- - 编写全面的测试套件
- - 测试驱动开发
-```
-
-**JSON 示例**:`"roleDefinition": "您是一位专门编写清晰文档的技术作家。"`
-
-### `groups`
-
-- **用途**:定义模式可以访问的工具组和任何文件限制的数组/列表
-- **可用工具组**:`"read"`、`"edit"`、`"browser"`、`"command"`、`"mcp"`
-- **结构**:
- - 无限制访问的简单字符串:`"edit"`
- - 受限访问的元组(双元素数组):`["edit", { fileRegex: "pattern", description: "optional" }]`
-
-**"edit" 组的文件限制**:
-
-- `fileRegex`:用于控制模式可以编辑哪些文件的正则表达式字符串
-- 在 YAML 中,通常对正则特殊字符使用单个反斜杠(例如,`\.md$`)
-- 在 JSON 中,反斜杠必须双转义(例如,`\\.md$`)
-- `description`:描述限制的可选字符串
-
-**YAML 示例**:
-
-```yaml
-groups:
- - read
- - - edit # 元组的第一个元素
- - fileRegex: \.(js|ts)$ # 第二个元素是选项对象
- description: 仅限 JS/TS 文件
- - command
-```
-
-**JSON 示例**:
-
-```json
-"groups": [
- "read",
- ["edit", { "fileRegex": "\\.(js|ts)$", "description": "仅限 JS/TS 文件" }],
- "command"
-]
-```
-
-### `whenToUse`(可选)
-
-- **用途**:为 Kilo 的自动化决策提供指导,特别是模式选择和任务编排
-- **格式**:描述此模式的理想场景或任务类型的字符串
-- **用法**:由 Kilo 用于自动化决策,不在模式选择器 UI 中显示
-
-**YAML 示例**:`whenToUse: 此模式最适合重构 Python 代码。`
-**JSON 示例**:`"whenToUse": "此模式最适合重构 Python 代码。"`
-
-### `customInstructions`(可选)
-
-- **用途**:包含模式附加行为准则的字符串
-- **位置**:此文本添加在系统提示的末尾附近
-
-**YAML 示例(多行)**:
-
-```yaml
-customInstructions: |-
- 编写测试时:
- - 使用 describe/it 块
- - 包含有意义的描述
-```
-
-**JSON 示例**:`"customInstructions": "专注于解释概念并提供示例。"`
-
-## YAML 格式的优势
-
-YAML 现在是定义自定义模式的首选格式,因为它具有以下优势:
-
-- **可读性**:YAML 基于缩进的结构更容易被人阅读和理解
-- **注释**:YAML 允许注释(以 `#` 开头的行),可以为您的模式定义添加注释
-- **多行字符串**:YAML 提供更清晰的多行字符串语法,使用 `|`(文字块)或 `>`(折叠块)
-- **更少标点符号**:与 JSON 相比,YAML 通常需要更少的标点符号,减少语法错误
-- **编辑器支持**:大多数现代代码编辑器为 YAML 文件提供出色的语法高亮和验证
-
-虽然 JSON 仍然完全支持,但通过 UI 或询问 Kilo 创建的新模式将默认为 YAML。
-
-## 迁移到 YAML 格式
-
-### 全局模式
-
-当以下情况发生时,会自动从 `custom_modes.json` 迁移到 `custom_modes.yaml`:
-
-- Kilo Code 启动时
-- 存在 `custom_modes.json` 文件
-- 尚不存在 `custom_modes.yaml` 文件
-
-迁移过程会保留原始 JSON 文件以备回滚。
-
-### 项目模式(`.kilocodemodes`)
-
-- 项目特定文件不会在启动时自动迁移
-- Kilo Code 可以读取 YAML 或 JSON 格式的 `.kilocodemodes` 文件
-- 通过 UI 编辑时,JSON 文件将转换为 YAML 格式
-- 对于手动转换,您可以要求 Kilo 帮助重新格式化配置
-
-## 通过文件/目录提供特定于模式的指令
-
-您可以使用工作区内的专用文件或目录为自定义模式提供指令,从而实现更好的组织和版本控制。
-
-### 首选方法:目录(`.kilo/rules-{mode-slug}/`)
-
-```
-.
-├── .kilo/
-│ └── rules-docs-writer/ # 模式 slug "docs-writer" 的示例
-│ ├── 01-style-guide.md
-│ └── 02-formatting.txt
-└── ... (其他项目文件)
-```
-
-### 备用方法:单个文件(`.kilorules-{mode-slug}`)
-
-```
-.
-├── .kilorules-docs-writer # 模式 slug "docs-writer" 的示例
-└── ... (其他项目文件)
-```
-
-**规则目录范围**:
-
-- **全局模式**:规则存储在 `~/.kilo/rules-{slug}/`
-- **项目模式**:规则存储在 `{workspace}/.kilo/rules-{slug}/`
-
-如果目录存在且包含文件,则目录方法优先。目录中的文件按字母顺序递归读取并追加。
-
-## 配置优先级
-
-模式配置按以下顺序应用:
-
-1. **项目级模式配置**(来自 `.kilocodemodes` - YAML 或 JSON)
-2. **全局模式配置**(来自 `custom_modes.yaml`,如果未找到 YAML 则来自 `custom_modes.json`)
-3. **默认模式配置**
-
-**重要**:当 `.kilocodemodes` 和全局设置中存在相同 slug 的模式时,`.kilocodemodes` 版本会完全覆盖全局版本的所有属性。
-
-## 覆盖默认模式
-
-您可以通过创建具有相同 slug 的自定义模式来覆盖 Kilo Code 的内置模式(如 💻 代码、🪲 调试、❓ 询问、🏗️ 架构师、🪃 协调器)。
-
-### 全局覆盖示例
-
-```yaml
-customModes:
- - slug: code # 匹配默认的 'code' 模式 slug
- name: 💻 代码(全局覆盖)
- roleDefinition: 您是一位具有全局特定约束的软件工程师。
- whenToUse: 此全局覆盖的代码模式用于 JS/TS 任务。
- customInstructions: 专注于项目特定的 JS/TS 开发。
- groups:
- - read
- - - edit
- - fileRegex: \.(js|ts)$
- description: 仅限 JS/TS 文件
-```
-
-### 项目特定覆盖示例
-
-```yaml
-customModes:
- - slug: code # 匹配默认的 'code' 模式 slug
- name: 💻 代码(项目特定)
- roleDefinition: 您是一位具有此项目特定约束的软件工程师。
- whenToUse: 此项目特定代码模式用于此项目中的 Python 任务。
- customInstructions: 遵循 PEP8 并使用类型提示。
- groups:
- - read
- - - edit
- - fileRegex: \.py$
- description: 仅限 Python 文件
- - command
-```
-
-## 理解自定义模式中的正则表达式
-
-正则表达式(`fileRegex`)提供对文件编辑权限的细粒度控制。
-
-:::tip
-**让 Kilo 构建您的正则表达式模式**
-
-不要手动编写复杂的正则表达式,询问 Kilo:
-
-```
-创建一个匹配 JavaScript 文件但排除测试文件的正则表达式模式
-```
-
-Kilo 将生成模式。请记住根据 YAML(通常单个反斜杠)或 JSON(双反斜杠)进行调整。
-:::
-
-### `fileRegex` 的重要规则
-
-- **JSON 中的转义**:在 JSON 字符串中,反斜杠(`\`)必须双转义(例如,`\\.md$`)
-- **YAML 中的转义**:在未加引号或单引号的 YAML 字符串中,单个反斜杠通常足以用于正则特殊字符(例如,`\.md$`)
-- **路径匹配**:模式与工作区根目录的完整相对文件路径匹配
-- **大小写敏感性**:正则表达式模式默认区分大小写
-- **验证**:无效的正则表达式模式会被拒绝,并显示"无效的正则表达式模式"错误消息
-
-### 常见模式示例
-
-| 模式(类似 YAML) | JSON fileRegex 值 | 匹配 | 不匹配 |
-| -------------------------------- | ----------------------------------- | ----------------------------------------- | ---------------------------------- |
-| `\.md$` | `"\\.md$"` | `readme.md`, `docs/guide.md` | `script.js`, `readme.md.bak` |
-| `^src/.*` | `"^src/.*"` | `src/app.js`, `src/components/button.tsx` | `lib/utils.js`, `test/src/mock.js` |
-| `\.(css\|scss)$` | `"\\.(css\|scss)$"` | `styles.css`, `theme.scss` | `styles.less`, `styles.css.map` |
-| `docs/.*\.md$` | `"docs/.*\\.md$"` | `docs/guide.md`, `docs/api/reference.md` | `guide.md`, `src/docs/notes.md` |
-| `^(?!.*(test\|spec))\.(js\|ts)$` | `"^(?!.*(test\|spec))\\.(js\|ts)$"` | `app.js`, `utils.ts` | `app.test.js`, `utils.spec.js` |
-
-### 关键正则构建块
-
-- `\.`:匹配文字点(YAML:`\.`,JSON:`\\.`)
-- `$`:匹配字符串末尾
-- `^`:匹配字符串开头
-- `.*`:匹配任何字符(换行符除外)零次或多次
-- `(a|b)`:匹配"a"或"b"
-- `(?!...)`:负向先行断言
-
-## 错误处理
-
-当模式尝试编辑不匹配其 `fileRegex` 模式的文件时,您会看到包含以下内容的 `FileRestrictionError`:
-
-- 模式名称
-- 允许的文件模式
-- 描述(如果提供)
-- 尝试的文件路径
-- 被阻止的工具
-
-## 配置示例
-
-### 基本文档编写者(YAML)
-
-```yaml
-customModes:
- - slug: docs-writer
- name: 📝 文档编写者
- description: 专门用于编写和编辑技术文档
- roleDefinition: 您是一位专门编写清晰文档的技术作家
- groups:
- - read
- - - edit
- - fileRegex: \.md$
- description: 仅限 Markdown 文件
- customInstructions: 专注于清晰的解释和示例
-```
-
-### 带文件限制的测试工程师(YAML)
-
-```yaml
-customModes:
- - slug: test-engineer
- name: 🧪 测试工程师
- description: 专注于编写和维护测试套件
- roleDefinition: 您是一位专注于代码质量的测试工程师
- whenToUse: 用于编写测试、调试测试失败和提高测试覆盖率
- groups:
- - read
- - - edit
- - fileRegex: \.(test|spec)\.(js|ts)$
- description: 仅限测试文件
- - command
-```
-
-### 安全审查模式(YAML)
-
-```yaml
-customModes:
- - slug: security-review
- name: 🔒 安全审查员
- description: 只读安全分析和漏洞评估
- roleDefinition: 您是一位审查代码漏洞的安全专家
- whenToUse: 用于安全审查和漏洞评估
- customInstructions: |-
- 关注:
- - 输入验证问题
- - 身份验证和授权缺陷
- - 数据暴露风险
- - 注入漏洞
- groups:
- - read
- - browser
-```
-
-## 故障排除
-
-### 常见问题
-
-- **模式未出现**:创建或导入模式后,您可能需要重新加载 VS Code 窗口
-- **无效的正则表达式模式**:在应用之前使用在线正则表达式测试器测试您的模式
-- **优先级混淆**:请记住,项目模式会完全覆盖具有相同 slug 的全局模式
-- **YAML 语法错误**:使用正确的缩进(空格,不是制表符)并验证您的 YAML
-
-### 使用 YAML 的技巧
-
-- **缩进是关键**:YAML 使用缩进(空格,不是制表符)来定义结构
-- **冒号用于键值对**:键后面必须跟一个冒号和一个空格(例如,`slug: my-mode`)
-- **连字符用于列表项**:列表项以连字符和一个空格开头(例如,`- read`)
-- **验证您的 YAML**:使用在线 YAML 验证器或编辑器的内置验证
-
-## 社区画廊
-
-准备好探索更多了吗?查看 [Show and Tell](https://github.com/Kilo-Org/kilocode/discussions/categories/show-and-tell) 来发现和分享社区创建的自定义模式!
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/enhance-prompt.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/enhance-prompt.md
deleted file mode 100644
index 004a856dbe9..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/enhance-prompt.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# 增强提示
-
-Kilo Code 中的“增强提示”功能可帮助您在将提示发送到 AI 模型之前提高其质量和有效性。通过单击聊天输入中的 图标,您可以自动优化您的初始请求,使其更清晰、更具体,并更有可能产生所需的结果。
-
-## 为什么要使用增强提示?
-
-* **提高清晰度:** Kilo Code 可以重新措辞您的提示,使其更易于 AI 模型理解。
-* **添加上下文:** 增强过程可以为您的提示添加相关上下文,例如当前文件路径或选定的代码。
-* **更好的指令:** Kilo Code 可以添加指令来引导 AI 给出更有帮助的响应(例如,请求特定格式或特定详细程度)。
-* **减少歧义:** 增强提示有助于消除歧义并确保 Kilo Code 理解您的意图。
-* **一致性**:Kilo 将始终以相同的方式格式化提示给 AI。
-
-### 之前和之后
-
-
-
-
-## 如何使用增强提示
-
-1. **输入您的初始提示:** 像往常一样在 Kilo Code 聊天输入框中输入您的请求。这可以是一个简单的问题、一个复杂的任务描述,或介于两者之间的任何内容。
-2. **单击 图标:** 不要按 Enter 键,而是单击聊天输入框右下角的 图标。
-3. **审查增强提示:** Kilo Code 将用增强版本替换您的原始提示。审查增强提示,确保它准确反映您的意图。您可以在发送之前进一步优化增强提示。
-4. **发送增强提示:** 按 Enter 键或单击发送图标()将增强提示发送到 Kilo Code。
-
-## 自定义增强过程
-
-### 自定义模板
-
-“增强提示”功能使用可自定义的提示模板。您可以修改此模板以根据您的特定需求调整增强过程。
-
-1. **打开“提示”选项卡:** 单击 Kilo Code 顶部菜单栏中的 图标。
-2. **选择“ENHANCE”选项卡:** 您应该会看到列出的支持提示,包括“ENHANCE”。单击此选项卡。
-3. **编辑提示模板:** 修改“提示”字段中的文本。
-
-默认提示模板包含占位符 `${userInput}`,它将被您的原始提示替换。您可以修改它以适应模型的提示格式,并指示它如何增强您的请求。
-
-### 自定义提供商
-
-通过切换到更轻量级的 LLM 模型提供商(例如 GPT 4.1 Nano)来加快提示增强。这可以以更低的成本提供更快的结果,同时保持质量。
-
-按照[API 配置配置文件指南](/features/api-configuration-profiles)为增强提示创建专用配置文件。
-
-
-
-有关详细演练:https://youtu.be/R1nDnCK-xzw
-
-## 限制和最佳实践
-
-* **实验性功能:** 提示增强是一项实验性功能。增强提示的质量可能因您的请求的复杂性和底层模型的功能而异。
-* **仔细审查:** 在发送之前务必仔细审查增强提示。Kilo Code 可能会进行与您的意图不符的更改。
-* **迭代过程:** 您可以多次使用“增强提示”功能来迭代优化您的提示。
-* **不能替代清晰的指令:** 尽管“增强提示”可以提供帮助,但从一开始就编写清晰具体的提示仍然很重要。
-
-通过使用“增强提示”功能,您可以提高与 Kilo Code 交互的质量,并获得更准确和有用的响应。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md
deleted file mode 100644
index fc147a35e5a..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# 实验性功能
-
-Kilo Code 包含一些仍在开发中的实验性功能。这些功能可能不稳定,会在未来版本中发生重大变化,甚至可能被移除。请谨慎使用,并注意它们可能无法按预期工作。
-
-**警告:** 实验性功能可能存在意外行为,包括潜在的数据丢失或安全漏洞。启用这些功能需自行承担风险。
-
-## 启用实验性功能
-
-要启用或禁用实验性功能:
-
-1. 打开 Kilo Code 设置(右上角的 图标)。
-2. 进入“高级设置”部分。
-3. 找到“实验性功能”部分。
-4. 勾选或取消勾选要启用或禁用的功能。
-5. 点击“完成”保存更改。
-
-## 当前可用的实验性功能
-
-## 当前实验性功能
-
-目前提供以下实验性功能:
-
-## 自动完成
-启用后,Kilo Code 将在您键入时提供内联代码建议。目前,这需要 Kilo Code API 提供商才能使用。
-
-## 并发文件编辑
-启用后,Kilo Code 可以在单个请求中编辑多个文件。禁用后,Kilo Code 必须一次编辑一个文件。禁用此功能有助于在使用功能较弱的模型时或当您希望对文件修改进行更多控制时。
-
-### 强力转向
-
-启用后,Kilo Code 会更频繁地提醒模型当前的模式定义细节。这将导致更严格地遵守角色定义和自定义指令,但会消耗更多 token。
-
-## 提供反馈
-
-如果你在使用实验性功能时遇到任何问题,或有改进建议,请在 [Kilo Code Code GitHub Issues 页面](https://github.com/Kilo-Org/kilocode) 上报告。
-
-你的反馈对我们非常宝贵,将帮助我们改进 Kilo Code!
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/fast-edits.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/fast-edits.md
deleted file mode 100644
index 8e3560f3d47..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/fast-edits.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# 快速编辑
-
-:::info 默认设置
-Kilo Code 默认启用快速编辑(使用“通过差异启用编辑”设置)。除非您遇到特定问题或想尝试不同的差异策略,否则通常无需更改这些设置。
-:::
-
-Kilo Code 提供了一个高级设置,可以使用差异(差异)而不是重写整个文件来更改其编辑文件的方式。启用此功能可带来显著优势。
-
-## 通过差异启用编辑
-
-单击齿轮图标 → 高级 打开设置
-
-
-
-当选中“**通过差异启用编辑**”时:
-
-
-1. **更快的文件编辑**:Kilo 通过仅应用必要的更改来更快地修改文件。
-2. **防止截断写入**:系统自动检测并拒绝 AI 写入不完整文件内容的尝试,这可能发生在大型文件或复杂指令中。这有助于防止文件损坏。
-
-:::note 禁用快速编辑
-如果您取消选中“**通过差异启用编辑**”,Kilo 将恢复为使用 [`write_to_file`](/features/tools/write-to-file) 工具为每次编辑写入整个文件内容,而不是使用 [`apply_diff`](/features/tools/apply-diff) 应用有针对性的更改。这种完全写入的方法通常在修改现有文件时速度较慢,并导致更高的 token 使用量。
-:::
-
-## 匹配精度
-
-此滑块控制 AI 识别的代码部分在应用更改之前必须与文件中实际代码匹配的紧密程度。
-
-
-
-* **100%(默认)**:需要精确匹配。这是最安全的选择,可最大程度地降低错误更改的风险。
-* **较低值(80%-99%)**:允许“模糊”匹配。即使代码部分与 AI 预期有细微差异,Kilo 也可以应用更改。这在文件略有修改时很有用,但**增加了**在错误位置应用更改的风险。
-
-**请极其谨慎地使用低于 100% 的值。** 较低的精度可能偶尔是必要的,但请务必仔细审查提议的更改。
-
-在内部,此设置调整用于比较代码相似性的 `fuzzyMatchThreshold`(例如 Levenshtein 距离)算法。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/footgun-prompting.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/footgun-prompting.md
deleted file mode 100644
index 31239250070..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/footgun-prompting.md
+++ /dev/null
@@ -1,52 +0,0 @@
----
-sidebar_label: "足枪式提示"
----
-
-# 足枪式提示:覆盖系统提示
-
-足枪式提示,又称覆盖系统提示,允许高级用户完全替换特定 Kilo Code 模式的默认系统提示。这提供了对 AI 行为的精细控制,但绕过了内置的安全措施。
-
-:::info **足枪** _(名词)_
-
-1. _(编程俚语,幽默,贬义)_ 任何可能导致程序员自作自受的功能。
-
-> 系统提示覆盖被认为是一种足枪,因为在没有深入理解的情况下修改核心指令可能导致意外或错误的行为,尤其是在工具使用和响应一致性方面。
-
-:::
-
-## 工作原理
-
-1. **覆盖文件:** 在您的工作区根目录中创建一个名为 `.kilocode/system-prompt-{mode-slug}` 的文件(例如,Code 模式的 `.kilocode/system-prompt-code`)。
-2. **内容:** 此文件的内容将成为该特定模式的新系统提示。
-3. **激活:** Kilo Code 会自动检测此文件。如果存在,它将替换大多数标准系统提示部分。
-4. **保留部分:** 只有核心 `roleDefinition` 和您为该模式设置的任何 `customInstructions` 会与您的覆盖内容一起保留。工具描述、规则和功能等标准部分将被绕过。
-5. **构建:** 发送到模型的最终提示如下所示:
-
- ```
- ${roleDefinition}
-
- ${content_of_your_override_file}
-
- ${customInstructions}
- ```
-
-## 访问功能
-
-您可以在 Kilo Code UI 中找到选项和说明:
-
-1. 单击 Kilo Code 文本输入框左下角的 MODE 选择器。
-2. 单击模式选择列表底部的“编辑...”
-3. 展开底部的“**高级:覆盖系统提示**”部分。
-4. 单击说明中的文件路径链接将在 VS Code 中打开或创建当前选定模式的正确覆盖文件。
-
-
-
-## 主要注意事项和警告
-
-- **目标受众:** 最适合深入了解 Kilo Code 提示系统以及修改核心指令所带来影响的用户。
-- **对功能的影响:** 自定义提示会覆盖标准指令,包括工具使用和响应一致性的指令。如果管理不当,这可能导致意外行为或错误。
-- **模式特定:** 每个覆盖文件仅适用于其文件名中指定的模式(`{mode-slug}`)。
-- **无文件,无覆盖:** 如果 `.kilocode/system-prompt-{mode-slug}` 文件不存在,Kilo Code 将使用该模式的标准系统提示生成过程。
-- **目录创建:** Kilo Code 确保 `.kilocode` 目录存在,然后才尝试读取或创建覆盖文件。
-
-请谨慎使用此功能。虽然它在自定义方面功能强大,但错误的实现可能会显著降低 Kilo Code 在受影响模式下的性能和可靠性。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/mcp-vs-api.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/mcp-vs-api.md
deleted file mode 100644
index 0e4934c94db..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/mcp-vs-api.md
+++ /dev/null
@@ -1,97 +0,0 @@
----
-title: MCP与API
-sidebar_label: MCP与API
----
-
-# MCP与REST API:根本区别
-
-将REST API与模型上下文协议(MCP)进行比较是一种类别错误。它们在抽象的不同层次上运行,为AI系统提供根本不同的功能。
-
-## 架构差异
-
-| 特性 | MCP | REST API |
-|---------|-----|-----------|
-| 状态管理 | **有状态** - 在交互中维护上下文 | **无状态** - 每个请求都是独立的 |
-| 连接类型 | 持久、双向连接 | 单向请求/响应 |
-| 通信风格 | 基于JSON-RPC的持续会话 | 基于HTTP的离散请求 |
-| 上下文处理 | 上下文是协议的内在部分 | 上下文必须手动管理 |
-| 工具发现 | 运行时发现可用工具 | 设计时集成,需要预先了解 |
-| 集成方式 | 运行时集成,动态能力 | 设计时集成,需要代码修改 |
-
-## 不同层次,不同目的
-
-REST API和MCP服务于技术栈的不同层次:
-
-1. **REST**:暴露资源操作的低级Web通信模式
-2. **MCP**:编排工具使用和维护上下文的高级AI协议
-
-MCP通常在内部使用REST API,但为AI抽象了它们。可以将MCP视为将离散的Web服务转变为AI可以操作的统一环境的中间件。
-
-## 上下文保存:AI工作流程的关键
-
-MCP的有状态设计解决了REST在AI应用中的关键限制:
-
-- **REST方法**:每个调用都是独立的,需要在步骤间手动传递上下文
-- **MCP方法**:一次对话上下文在多个工具使用中持续存在
-
-例如,AI在调试代码库时可以打开文件、运行测试并识别错误,而不会在各步骤间丢失上下文。MCP会话会保持对先前操作和结果的感知。
-
-## 动态工具发现
-
-MCP使AI能够在运行时发现和使用工具:
-
-```json
-// AI发现可用工具
-{
- "tools": [
- {
- "name": "readFile",
- "description": "从文件中读取内容",
- "parameters": {
- "path": { "type": "string", "description": "文件路径" }
- }
- },
- {
- "name": "createTicket",
- "description": "在问题跟踪器中创建工单",
- "parameters": {
- "title": { "type": "string" },
- "description": { "type": "string" }
- }
- }
- ]
-}
-```
-
-这种"即插即用"能力允许添加新工具而无需重新部署或修改AI本身。
-
-## 实际示例:多工具工作流程
-
-考虑一个需要多个服务的任务:"检查最近的提交,为bug修复创建JIRA工单,并发布到Slack。"
-
-**基于REST的方法**:
-- 需要为Git、JIRA和Slack API分别集成
-- 需要自定义代码来管理调用间的上下文
-- 任何服务更改API都会中断
-
-**基于MCP的方法**:
-- 所有工具的统一协议
-- 维护整个工作流程的上下文
-- 新工具可以无缝替换,无需代码修改
-
-## 为什么Kilo Code使用MCP
-
-Kilo Code利用MCP提供:
-
-1. **可扩展性**:添加无限自定义工具,无需等待官方集成
-2. **上下文感知**:工具可以访问对话历史和项目上下文
-3. **简化集成**:一个标准协议,而非多种API模式
-4. **运行时灵活性**:动态发现和使用新功能
-
-MCP在Kilo Code和外部服务之间创建了通用连接器,REST API通常在这些服务背后提供支持。
-
-## 结论:互补而非竞争的技术
-
-MCP并不取代REST API - 它建立在它们之上。REST擅长提供离散服务,而MCP擅长为AI代理编排这些服务。
-
-关键区别在于MCP是AI原生的:它把模型视为一等用户,提供AI代理在复杂环境中有效运行所需的上下文、有状态交互层。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/overview.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/overview.md
deleted file mode 100644
index f8fc0ab4264..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/overview.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: MCP概览
-sidebar_label: MCP概览
----
-
-# 模型上下文协议(MCP)
-
-模型上下文协议(MCP)是扩展Kilo Code功能的标准化协议,通过连接外部工具和服务来实现。MCP服务器提供了额外的工具和资源,帮助Kilo Code完成超出其内置功能的任务,例如访问数据库、自定义API和特殊功能。
-
-## MCP文档结构
-
-本文档分为以下几个部分:
-
-* [**在Kilo Code中使用MCP**](/features/mcp/using-mcp-in-kilo-code) - 在Kilo Code中配置、启用和管理MCP服务器的综合指南。包括服务器设置、工具批准和故障排除。
-
-* [**什么是MCP?**](/features/mcp/what-is-mcp) - 解释模型上下文协议、其客户端-服务器架构以及如何使AI系统与外部工具交互。
-
-* [**STDIO与SSE传输**](/features/mcp/server-transports) - 详细比较本地(STDIO)和远程(SSE)传输机制,以及每种方法的部署考虑。
-
-* [**MCP与API**](/features/mcp/mcp-vs-api) - 分析MCP与REST API的根本区别,解释它们如何在不同的抽象层为AI系统工作。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/server-transports.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/server-transports.md
deleted file mode 100644
index d41530619c4..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/server-transports.md
+++ /dev/null
@@ -1,199 +0,0 @@
----
-title: MCP服务器传输机制
-sidebar_label: STDIO与SSE传输
----
-
-# MCP服务器传输机制:STDIO与SSE
-
-模型上下文协议(MCP)支持两种主要的传输机制用于Kilo Code与MCP服务器之间的通信:标准输入/输出(STDIO)和服务器发送事件(SSE)。每种机制都有其独特的特点、优势和适用场景。
-
-## STDIO传输
-
-STDIO传输在本地机器上运行,通过标准输入/输出流进行通信。
-
-### STDIO传输工作原理
-
-1. 客户端(Kilo Code)将MCP服务器作为子进程启动
-2. 通信通过进程流进行:客户端写入服务器的STDIN,服务器响应到STDOUT
-3. 每个消息以换行符分隔
-4. 消息格式为JSON-RPC 2.0
-
-```
-Client Server
- | |
- |---- JSON message ------>| (via STDIN)
- | | (processes request)
- |<---- JSON message ------| (via STDOUT)
- | |
-```
-
-### STDIO特点
-
-- **本地性**:与Kilo Code在同一台机器上运行
-- **性能**:延迟和开销非常低(不涉及网络栈)
-- **简单性**:直接进程通信,无需网络配置
-- **关系**:客户端与服务器之间的一对一关系
-- **安全性**:本质上更安全,因为不暴露网络
-
-### 使用STDIO的场景
-
-STDIO传输适用于:
-
-- 本地集成和工具
-- 安全敏感操作
-- 低延迟要求
-- 单客户端场景(每个服务器一个Kilo Code实例)
-- 命令行工具或IDE扩展
-
-### STDIO实现示例
-
-```typescript
-import { Server } from "@modelcontextprotocol/sdk/server/index.js"
-import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
-
-const server = new Server({ name: "local-server", version: "1.0.0" })
-// 注册工具...
-
-// 使用STDIO传输
-const transport = new StdioServerTransport(server)
-transport.listen()
-```
-
-## SSE传输
-
-服务器发送事件(SSE)传输在远程服务器上运行,通过HTTP/HTTPS进行通信。
-
-### SSE传输工作原理
-
-1. 客户端(Kilo Code)通过HTTP GET请求连接到服务器的SSE端点
-2. 建立持久连接,服务器可以向客户端推送事件
-3. 对于客户端到服务器的通信,客户端向单独的端点发送HTTP POST请求
-4. 通信通过两个通道进行:
- - 事件流(GET):服务器到客户端更新
- - 消息端点(POST):客户端到服务器请求
-
-```
-Client Server
- | |
- |---- HTTP GET /events ----------->| (establish SSE connection)
- |<---- SSE event stream -----------| (persistent connection)
- | |
- |---- HTTP POST /message --------->| (client request)
- |<---- SSE event with response ----| (server response)
- | |
-```
-
-### SSE特点
-
-- **远程访问**:可以托管在与Kilo Code不同的机器上
-- **可扩展性**:支持多个客户端并发连接
-- **协议**:基于标准HTTP(无需特殊协议)
-- **持久性**:维护服务器到客户端消息的持久连接
-- **认证**:可以使用标准HTTP认证机制
-
-### 使用SSE的场景
-
-SSE传输更适合:
-
-- 跨网络远程访问
-- 多客户端场景
-- 公共服务
-- 许多用户需要访问的集中式工具
-- 与Web服务集成
-
-### SSE实现示例
-
-```typescript
-import { Server } from "@modelcontextprotocol/sdk/server/index.js"
-import { SSEServerTransport } from "@modelcontextprotocol/sdk/server/sse.js"
-import express from "express"
-
-const app = express()
-const server = new Server({ name: "remote-server", version: "1.0.0" })
-// 注册工具...
-
-// 使用SSE传输
-const transport = new SSEServerTransport(server)
-app.use("/mcp", transport.requestHandler())
-app.listen(3000, () => {
- console.log("MCP server listening on port 3000")
-})
-```
-
-## 本地 vs. 托管:部署考虑
-
-选择STDIO还是SSE传输将直接影响MCP服务器的部署和管理方式。
-
-### STDIO:本地部署模式
-
-STDIO服务器与Kilo Code在同一台机器上运行,这有几个重要影响:
-
-- **安装**:必须在每个用户的机器上安装服务器可执行文件
-- **分发**:需要为不同操作系统提供安装包
-- **更新**:每个实例必须单独更新
-- **资源**:使用本地机器的CPU、内存和磁盘
-- **访问控制**:依赖于本地机器的文件系统权限
-- **集成**:易于与本地系统资源(文件、进程)集成
-- **执行**:随Kilo Code启动和停止(子进程生命周期)
-- **依赖**:任何依赖项都必须安装在用户机器上
-
-#### 实际示例
-
-一个本地文件搜索工具使用STDIO会:
-
-- 在用户机器上运行
-- 直接访问本地文件系统
-- 在Kilo Code需要时启动
-- 不需要网络配置
-- 需要与Kilo Code一起安装或通过包管理器安装
-
-### SSE:托管部署模式
-
-SSE服务器可以部署到远程服务器并通过网络访问:
-
-- **安装**:在服务器上安装一次,供多个用户访问
-- **分发**:单一部署服务多个客户端
-- **更新**:集中更新立即影响所有用户
-- **资源**:使用服务器资源,而非本地机器资源
-- **访问控制**:通过认证和授权系统管理
-- **集成**:与用户特定资源的集成更复杂
-- **执行**:作为独立服务运行(通常持续运行)
-- **依赖**:在服务器上管理,而非用户机器
-
-#### 实际示例
-
-一个数据库查询工具使用SSE会:
-
-- 在中央服务器上运行
-- 使用服务器端凭据连接数据库
-- 持续可用,供多个用户使用
-- 需要正确的网络安全配置
-- 使用容器或云技术部署
-
-### 混合方法
-
-某些场景受益于混合方法:
-
-1. **带网络访问的STDIO**:本地STDIO服务器充当远程服务的代理
-2. **带本地命令的SSE**:远程SSE服务器可以通过回调触发客户端机器上的操作
-3. **网关模式**:本地操作的STDIO服务器连接到专用功能的SSE服务器
-
-## 选择STDIO还是SSE
-
-| 考虑因素 | STDIO | SSE |
-| -------------- | -------------- | ------------------------ |
-| **位置** | 仅限本地机器 | 本地或远程 |
-| **客户端** | 单客户端 | 多客户端 |
-| **性能** | 延迟更低 | 延迟更高(网络开销) |
-| **设置复杂性** | 更简单 | 更复杂(需要HTTP服务器) |
-| **安全性** | 本质上更安全 | 需要明确的安全措施 |
-| **网络访问** | 不需要 | 需要 |
-| **可扩展性** | 限于本地机器 | 可以在网络上分布 |
-| **部署** | 每用户安装 | 集中安装 |
-| **更新** | 分布式更新 | 集中更新 |
-| **资源使用** | 使用客户端资源 | 使用服务器资源 |
-| **依赖** | 客户端依赖 | 服务器依赖 |
-
-## 在Kilo Code中配置传输
-
-有关在Kilo Code中配置STDIO和SSE传输的详细信息,包括示例配置,请参见[理解传输类型](/features/mcp/using-mcp-in-kilo-code#理解传输类型)部分。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/using-mcp-in-kilo-code.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/using-mcp-in-kilo-code.md
deleted file mode 100644
index 66799ccdfd0..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/using-mcp-in-kilo-code.md
+++ /dev/null
@@ -1,225 +0,0 @@
----
-title: 在Kilo Code中使用MCP
-sidebar_label: 在Kilo Code中使用MCP
----
-
-# 在Kilo Code中使用MCP
-
-模型上下文协议(MCP)通过连接外部工具和服务扩展了Kilo Code的功能。本指南涵盖了在Kilo Code中使用MCP所需了解的所有内容。
-
-
-
-## 配置MCP服务器
-
-MCP服务器配置可以在两个级别进行管理:
-
-1. **全局配置**:存储在`mcp_settings.json`文件中,可通过VS Code设置访问(见下文)。这些设置适用于所有工作区,除非被项目级配置覆盖。
-2. **项目级配置**:在项目根目录的`.kilocode/mcp.json`文件中定义。这允许你设置项目特定的服务器,并通过将文件提交到版本控制与团队共享配置。如果存在,Kilo Code会自动检测并加载此文件。
-
-**优先级**:如果服务器名称同时存在于全局和项目配置中,则**项目级配置优先**。
-
-### 编辑MCP设置文件
-
-你可以直接从Kilo Code MCP设置视图编辑全局和项目级MCP配置文件:
-
-1. 单击 Kilo Code 窗格顶部导航栏中的 图标以打开 `Settings`。
-2. 单击左侧的 `MCP Servers` 选项卡
-3. 选择 `Installed` 服务器
-4. 单击相应的按钮:
- - **`Edit Global MCP`**:打开全局 `mcp_settings.json` 文件。
- - **`Edit Project MCP`**:打开项目特定的 `.kilocode/mcp.json` 文件。如果此文件不存在,Kilo Code 将为您创建它。
-
-
-
-两个文件都使用JSON格式,其中包含一个`mcpServers`对象,包含命名的服务器配置:
-
-```json
-{
- "mcpServers": {
- "server1": {
- "command": "python",
- "args": ["/path/to/server.py"],
- "env": {
- "API_KEY": "your_api_key"
- },
- "alwaysAllow": ["tool1", "tool2"],
- "disabled": false
- }
- }
-}
-```
-
-_Kilo Code中的MCP服务器配置示例(STDIO传输)_
-
-### 理解传输类型
-
-MCP支持两种服务器通信的传输类型:
-
-#### STDIO传输
-
-用于在本地机器上运行的服务器:
-
-- 通过标准输入/输出流通信
-- 延迟更低(无网络开销)
-- 安全性更好(无网络暴露)
-- 设置更简单(不需要HTTP服务器)
-- 作为本地机器上的子进程运行
-
-有关STDIO传输工作原理的深入信息,请参见[STDIO传输](/features/mcp/server-transports#stdio传输)。
-
-STDIO配置示例:
-
-```json
-{
- "mcpServers": {
- "local-server": {
- "command": "node",
- "args": ["/path/to/server.js"],
- "env": {
- "API_KEY": "your_api_key"
- },
- "alwaysAllow": ["tool1", "tool2"],
- "disabled": false
- }
- }
-}
-```
-
-#### SSE传输
-
-用于通过HTTP/HTTPS访问的远程服务器:
-
-- 通过服务器发送事件协议通信
-- 可以托管在不同的机器上
-- 支持多个客户端连接
-- 需要网络访问
-- 允许集中部署和管理
-
-有关SSE传输工作原理的深入信息,请参见[SSE传输](/features/mcp/server-transports#sse传输)。
-
-SSE配置示例:
-
-```json
-{
- "mcpServers": {
- "remote-server": {
- "url": "https://your-server-url.com/mcp",
- "headers": {
- "Authorization": "Bearer your-token"
- },
- "alwaysAllow": ["tool3"],
- "disabled": false
- }
- }
-}
-```
-
-### 删除服务器
-
-1. 点击要删除的MCP服务器旁边的
-2. 在确认框中点击`删除`按钮
-
-
-
-### 重启服务器
-
-1. 点击要重启的MCP服务器旁边的按钮
-
-### 启用或禁用服务器
-
-1. 点击MCP服务器旁边的切换开关以启用/禁用
-
-### 网络超时
-
-设置调用MCP服务器工具后等待响应的最长时间:
-
-1. 点击单个MCP服务器配置框底部的`网络超时`下拉菜单并更改时间。默认值为1分钟,但可以设置为30秒到5分钟之间。
-
-
-
-### 自动批准工具
-
-MCP工具自动批准按工具进行,默认禁用。要配置自动批准:
-
-1. 首先在[自动批准操作](/features/auto-approving-actions)中启用全局"使用MCP服务器"自动批准选项
-2. 在MCP服务器设置中,定位要自动批准的特定工具
-3. 勾选工具名称旁边的`始终允许`复选框
-
-
-
-启用后,Kilo Code将自动批准此特定工具而无需提示。请注意,全局"使用MCP服务器"设置优先 - 如果它被禁用,则不会自动批准任何MCP工具。
-
-## 查找和安装MCP服务器
-
-Kilo Code不附带任何预安装的MCP服务器。你需要单独查找并安装它们。
-
-- **社区仓库**:在GitHub上查看社区维护的MCP服务器列表
-- **询问Kilo Code**:你可以请Kilo Code帮助你查找甚至创建MCP服务器
-- **自行构建**:使用SDK创建自定义MCP服务器,使用你自己的工具扩展Kilo Code
-
-有关完整的SDK文档,请访问[MCP GitHub仓库](https://github.com/modelcontextprotocol/)。
-
-## 在工作流中使用MCP工具
-
-配置MCP服务器后,Kilo Code将自动检测可用的工具和资源。要使用它们:
-
-1. 在Kilo Code聊天界面中输入你的请求
-2. Kilo Code将识别何时MCP工具可以帮助完成任务
-3. 在提示时批准工具使用(或使用自动批准)
-
-示例:"分析我的API性能"可能会使用一个测试API端点的MCP工具。
-
-## 故障排除MCP服务器
-
-常见问题及解决方案:
-
-- **服务器无响应**:检查服务器进程是否正在运行并验证网络连接
-- **权限错误**:确保在`mcp_settings.json`(用于全局设置)或`.kilocode/mcp.json`(用于项目设置)中配置了正确的API密钥和凭据。
-- **工具不可用**:确认服务器是否正确实现了该工具且未在设置中禁用
-- **性能缓慢**:尝试调整特定MCP服务器的网络超时值
-
-## 平台特定的MCP配置示例
-
-### Windows配置示例
-
-在Windows上设置MCP服务器时,你需要使用Windows命令提示符(`cmd`)来执行命令。以下是在Windows上配置Puppeteer MCP服务器的示例:
-
-```json
-{
- "mcpServers": {
- "puppeteer": {
- "command": "cmd",
- "args": ["/c", "npx", "-y", "@modelcontextprotocol/server-puppeteer"]
- }
- }
-}
-```
-
-此Windows特定配置:
-
-- 使用`cmd`命令访问Windows命令提示符
-- 使用`/c`告诉cmd执行命令然后终止
-- 使用`npx`运行包而无需永久安装
-- `-y`标志在安装期间自动回答"是"任何提示
-- 运行提供浏览器自动化功能的`@modelcontextprotocol/server-puppeteer`包
-
-:::note
-对于macOS或Linux,你将使用不同的配置:
-
-```json
-{
- "mcpServers": {
- "puppeteer": {
- "command": "npx",
- "args": ["-y", "@modelcontextprotocol/server-puppeteer"]
- }
- }
-}
-```
-
-:::
-
-相同的方法可以用于Windows上的其他MCP服务器,根据需要调整包名称以匹配不同的服务器类型。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/what-is-mcp.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/what-is-mcp.md
deleted file mode 100644
index 0336cd019b6..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/mcp/what-is-mcp.md
+++ /dev/null
@@ -1,49 +0,0 @@
----
-title: 什么是 MCP?
-sidebar_label: 什么是 MCP?
----
-
-# 什么是 MCP?
-
-MCP(Model Context Protocol,模型上下文协议)是 LLM 系统与外部工具和服务交互的标准化通信协议。它充当 AI 助手与各类数据源或应用程序之间的通用适配器。
-
-## 工作原理
-
-MCP 采用客户端-服务端架构:
-
-1. AI 助手(客户端)连接至 MCP 服务器
-2. 每个服务器提供特定能力(文件访问、数据库查询、API 集成等)
-3. AI 通过标准化接口使用这些能力
-4. 通信通过 JSON-RPC 2.0 消息进行
-
-可以将 MCP 类比为 USB-C 接口——任何兼容的 LLM 都能连接任意 MCP 服务器来使用其功能。这种标准化消除了为每个工具和服务构建定制集成的需求。
-
-例如,使用 MCP 的 AI 可以执行"搜索公司数据库并生成报告"这类任务,而无需为每个数据库系统编写专用代码。
-
-## 常见问题
-
-- **MCP 是云服务吗?** MCP 服务器既可在本地运行,也可作为云服务远程部署,具体取决于使用场景和安全要求。
-
-- **MCP 会取代其他集成方式吗?** 不会。MCP 是对 API 插件和检索增强生成等现有工具的补充。它提供了工具交互的标准化协议,但不会取代专业集成方案。
-
-- **如何保障安全性?** 用户可自主控制连接哪些 MCP 服务器,以及授予这些服务器哪些权限。与任何访问数据或服务的工具一样,请使用可信来源并配置适当的访问控制。
-
-## Kilo Code 中的 MCP
-
-Kilo Code 通过实现模型上下文协议来:
-
-- 同时连接本地和远程 MCP 服务器
-- 提供访问工具的统一接口
-- 无需修改核心即可扩展功能
-- 按需启用专项能力
-
-MCP 为 AI 系统与外部工具服务的交互提供了标准化方式,使复杂集成更易用且一致。
-
-## 深入了解 MCP
-
-准备好深入探索了吗?请查阅以下指南:
-
-- [MCP 概述](/features/mcp/overview) - 快速了解 MCP 文档结构
-- [在 Kilo Code 中使用 MCP](/features/mcp/using-mcp-in-kilo-code) - 包含创建简单服务器的入门指导
-- [MCP vs 传统 API](/features/mcp/mcp-vs-api) - 相比传统 API 的技术优势
-- [STDIO 与 SSE 传输协议](/features/mcp/server-transports) - 本地与云端部署模式对比
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/model-temperature.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/model-temperature.md
deleted file mode 100644
index 701e7901951..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/model-temperature.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# 模型温度
-
-温度控制 AI 模型输出的随机性。调整此设置可优化不同任务的结果——从精确的代码生成到创意头脑风暴。温度是控制 AI 行为最强大的参数之一。精心调整的温度设置可以显著提高特定任务响应的质量和适用性。
-
-
-
-## 什么是温度?
-
-温度是一个设置(通常在 0.0 到 2.0 之间),用于控制 AI 输出的随机性或可预测性。找到正确的平衡是关键:较低的值使输出更集中和一致,而较高的值则鼓励更多的创造性和多样性。对于许多编码任务,中等温度(约 0.3 到 0.7)通常效果很好,但最佳设置取决于您要实现的目标。
-
-:::info 温度和代码:常见误解
-温度控制输出随机性,而不是直接控制代码质量或准确性。关键点:
-
-- **低温度(接近 0.0):** 生成可预测、一致的代码。适用于简单任务,但可能重复且缺乏创造力。它不能保证*更好*的代码。
-- **高温度:** 增加随机性,可能导致创造性解决方案,但也可能导致更多错误或无意义的代码。它不能保证*更高质量*的代码。
-- **准确性:** 代码准确性取决于模型的训练和提示清晰度,而不是温度。
-- **温度 0.0:** 有助于一致性,但限制了复杂问题所需的探索。
- :::
-
-## Kilo Code 中的默认值
-
-Kilo Code 对大多数模型使用 0.0 的默认温度,以优化代码生成的最大确定性和精度。这适用于 OpenAI 模型、Anthropic 模型(非思考变体)、LM Studio 模型和大多数其他提供商。
-
-某些模型使用较高的默认温度——DeepSeek R1 模型和某些以推理为重点的模型默认为 0.6,在确定性和创造性探索之间取得了平衡。
-
-具有思考能力的模型(AI 显示其推理过程)需要固定温度 1.0,无法更改,因为此设置可确保思考机制的最佳性能。这适用于任何启用“:thinking”标志的模型。
-
-某些专业模型根本不支持温度调整,在这种情况下,Kilo Code 会自动遵守这些限制。
-
-## 何时调整温度
-
-以下是一些可能适用于不同任务的温度设置示例:
-
-- **代码模式 (0.0-0.3):** 用于编写精确、正确的代码,具有一致、确定性的结果
-- **架构师模式 (0.4-0.7):** 用于头脑风暴架构或设计解决方案,具有平衡的创造性和结构
-- **询问模式 (0.7-1.0):** 用于需要多样化和有见地的解释或开放式问题
-- **调试模式 (0.0-0.3):** 用于以一致的精度排除故障
-
-这些是起点——重要的是[尝试不同的设置](#实验)以找到最适合您特定需求和偏好的设置。
-
-## 如何调整温度
-
-1. **打开 Kilo Code 面板:** 单击 VS Code 侧边栏中的 Kilo Code 图标()
-2. **打开设置:** 单击右上角的 图标
-3. **查找温度控制:** 导航到“提供商”部分
-4. **启用自定义温度:** 选中“使用自定义温度”框
-5. **设置您的值:** 将滑块调整到您喜欢的值
-
-
- *Kilo Code 设置面板中的温度滑块*
-
-## 使用 API 配置配置文件进行温度设置
-
-创建多个具有不同温度设置的[API 配置配置文件](/features/api-configuration-profiles):
-
-**如何设置任务特定温度配置文件:**
-
-1. 创建专业配置文件,例如“代码 - 低温”(0.1)和“询问 - 高温”(0.8)
-2. 为每个配置文件配置适当的温度设置
-3. 使用设置或聊天界面中的下拉菜单在配置文件之间切换
-4. 为每种模式设置不同的配置文件作为默认值,以便在切换模式时自动切换
-
-这种方法可以优化模型行为以适应特定任务,而无需手动调整。
-
-## 技术实现
-
-Kilo Code 在实现温度处理时考虑了以下因素:
-
-- 用户定义的设置优先于默认设置
-- 尊重提供商特定的行为
-- 强制执行模型特定的限制:
- - 启用思考功能的模型需要固定温度 1.0
- - 某些模型不支持温度调整
-
-## 实验
-
-尝试不同的温度设置是发现最适合您特定需求的最有效方法:
-
-### 有效的温度测试
-
-1. **从默认值开始** - 从 Kilo Code 的预设值(大多数任务为 0.0)作为您的基线
-2. **进行增量调整** - 以小步(±0.1)更改值以观察细微差异
-3. **一致测试** - 在不同的温度设置下使用相同的提示进行有效比较
-4. **记录结果** - 记录哪些值对特定类型的任务产生最佳结果
-5. **创建配置文件** - 将有效设置保存为[API 配置配置文件](/features/api-configuration-profiles)以便快速访问
-
-请记住,不同的模型可能对相同的温度值有不同的响应,并且启用思考功能的模型始终使用固定温度 1.0,无论您的设置如何。
-
-## 相关功能
-
-- 适用于 Kilo Code 支持的所有 [API 提供商](/providers/openai)
-- 补充[自定义指令](/agent-behavior/custom-instructions)以微调响应
-- 与您创建的[自定义模式](/agent-behavior/custom-modes)一起使用
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/more-features.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/more-features.md
deleted file mode 100644
index 40730e6e5d9..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/more-features.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-sidebar_label: Additional Features
----
-
-
-# 附加功能
-
-Kilo Code 的附加功能简化了日常任务并提高了可访问性。
-
-## 建议回复
-
-Kilo Code 提供建议回复,让您减少打字时间。
-- 提问后,聊天框下方会出现按钮。
-- 单击按钮可将其用作您的下一个提示。
-
-## 文本转语音
-
-文本转语音功能让 Kilo Code 可以朗读回复。
-1. 在设置中启用 TTS。
-2. 单击任何回复旁边的扬声器图标即可开始收听。
-
-## 全球语言支持
-
-Kilo Code 支持 14 种语言:
-
-- 简体中文
-- 繁体中文
-- 西班牙语
-- 印地语
-- 法语
-- 葡萄牙语
-- 德语
-- 日语
-- 韩语
-- 意大利语
-- 土耳其语
-- 越南语
-- 波兰语
-- 加泰罗尼亚语
-
-在**高级设置 > 语言**下更改语言。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/settings-management.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/settings-management.md
deleted file mode 100644
index b75c6447066..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/settings-management.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-title: 导入、导出和重置设置
-sidebar_label: 导入/导出/重置设置
-description: 通过导出、导入或重置为默认值来管理您的 Kilo Code 设置。
----
-
-# 导入、导出和重置设置
-
-Kilo Code 允许您通过导出、导入和重置选项有效地管理您的配置设置。这些功能对于备份您的设置、与他人共享配置或在需要时恢复默认设置非常有用。
-
-您可以在 Kilo Code 设置页面的底部找到这些选项,通过 Kilo Code 聊天视图中的齿轮图标()访问。
-
-
-*图片:导出、导入和重置按钮。*
-
-## 导出设置
-
-单击“**导出**”按钮会将您当前的 Kilo Code 设置保存到 JSON 文件中。
-
-* **导出内容:** 文件包含您配置的 API 提供商配置文件和全局设置(UI 首选项、模式配置、上下文设置等)。
-* **安全警告:** 导出的 JSON 文件包含**所有**您配置的 API 提供商配置文件和全局设置。至关重要的是,这包括**纯文本形式的 API 密钥**。请将此文件视为高度敏感。请勿公开或与不受信任的个人共享,因为它会授予对您的 API 帐户的访问权限。
-* **过程:**
- 1. 单击“**导出**”。
- 2. 出现文件保存对话框,建议将 `kilo-code-settings.json` 作为文件名(通常在您的 `~/Documents` 文件夹中)。
- 3. 选择位置并保存文件。
-
-这将创建您的配置备份或您可以共享的文件。
-
-## 导入设置
-
-单击“**导入**”按钮允许您从以前导出的 JSON 文件加载设置。
-
-* **过程:**
- 1. 单击“**导入**”。
- 2. 出现文件打开对话框。选择您要导入的 `kilo-code-settings.json` 文件(或类似名称的文件)。
- 3. Kilo Code 读取文件,根据预期模式验证其内容,并应用设置。
-* **合并:** 导入设置会**合并**配置。它会添加新的 API 配置文件并根据文件内容更新现有配置文件和全局设置。它**不会**删除您当前设置中存在但导入文件中缺失的配置。
-* **验证:** 只有与内部模式匹配的有效设置才能导入,从而防止配置错误。完成后会出现成功通知。
-
-## 重置设置
-
-单击“**重置**”按钮会完全清除所有 Kilo Code 配置数据,并将扩展恢复到其默认状态。这是一个破坏性操作,旨在用于故障排除或重新开始。
-
-* **警告:** 此操作**不可逆**。它会永久删除所有 API 配置(包括存储在秘密存储中的密钥)、自定义模式、全局设置和任务历史记录。
-
-* **过程:**
- 1. 单击红色“**重置**”按钮。
- 2. 出现确认对话框,警告此操作无法撤消。
- 3. 单击“是”以确认。
-
-* **重置内容:**
- * **API 提供商配置文件:** 所有配置都从设置和秘密存储中删除。
- * **全局设置:** 所有首选项(UI、模式、批准、浏览器等)都重置为默认值。
- * **自定义模式:** 所有用户定义的模式都删除。
- * **秘密存储:** Kilo Code 管理的所有 API 密钥和其他秘密都清除。
- * **任务历史记录:** 当前任务堆栈清除。
-
-* **结果:** Kilo Code 返回到其初始状态,就像刚安装一样,具有默认设置且没有用户配置。
-
-仅当您确定要删除所有 Kilo Code 数据或在故障排除期间收到指示时才使用此选项。如果您以后可能需要恢复设置,请考虑先导出您的设置。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md
deleted file mode 100644
index 4d7ce97e064..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md
+++ /dev/null
@@ -1,382 +0,0 @@
-# 终端 Shell 集成
-
-终端 Shell 集成是一项关键功能,它使 Kilo Code 能够在您的终端中执行命令并智能地处理其输出。AI 与您的开发环境之间的这种双向通信解锁了强大的自动化功能。
-
-## 什么是 Shell 集成?
-
-Shell 集成在 Kilo Code 中自动启用,并直接连接到您的终端命令执行生命周期,无需您进行任何设置。此内置功能允许 Kilo Code:
-
-- 通过 [`execute_command`](/features/tools/execute-command) 工具代表您执行命令
-- 实时读取命令输出,无需手动复制粘贴
-- 自动检测并修复正在运行的应用程序中的错误
-- 观察命令退出代码以确定成功或失败
-- 在您导航项目时跟踪工作目录更改
-- 无需用户干预即可智能地响应终端输出
-
-当 Kilo Code 需要执行安装依赖项、启动开发服务器或分析构建错误等任务时,shell 集成会在后台工作,使这些交互顺畅有效。
-
-## Shell 集成入门
-
-Shell 集成内置于 Kilo Code 中,在大多数情况下会自动工作。如果您看到“Shell 集成不可用”消息或遇到命令执行问题,请尝试以下解决方案:
-
-1. **将 VSCode/Cursor 更新**到最新版本(需要 VSCode 1.93+)
-2. **确保选择了兼容的 shell**:命令面板(`Ctrl+Shift+P` 或 `Cmd+Shift+P`)→ “终端:选择默认配置文件”→ 选择 bash、zsh、PowerShell 或 fish
-3. **Windows PowerShell 用户**:运行 `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser`,然后重新启动 VSCode
-4. **WSL 用户**:将 `. "$(code --locate-shell-integration-path bash)"` 添加到您的 `~/.bashrc`
-
-## 终端集成设置
-
-Kilo Code 提供了几个设置来微调 shell 集成。在 Kilo Code 侧边栏的“设置”→“终端”下访问这些设置。
-
-### 基本设置
-
-#### 终端输出限制
-
-控制从终端输出捕获的最大行数。超出时,它会保留开头 20% 和结尾 80%,中间有截断消息。这可以防止过度使用 token,同时保持上下文。默认值:500 行。
-控制从终端输出捕获的最大行数。超出时,会从中间删除行以节省 token。默认值:500 行。
-
-#### 终端 Shell 集成超时
-
-
-在执行命令之前等待 shell 集成初始化的最长时间。如果您遇到“Shell 集成不可用”错误,请增加此值。默认值:15 秒。
-
-#### 终端命令延迟
-
-
-在运行命令后添加一个短暂的暂停,以帮助 Kilo Code 正确捕获所有输出。由于 VSCode 在不同操作系统和 shell 配置中实现终端集成的方式,此设置可能会显著影响 shell 集成的可靠性:
-
-- **默认**:0 毫秒
-- **常见值**:
- * 0 毫秒:对于某些使用较新 VSCode 版本的用户效果最佳
- * 50 毫秒:历史默认值,对许多用户仍然有效
- * 150 毫秒:推荐用于 PowerShell 用户
-- **注意**:不同的值可能更适合您的:
- * VSCode 版本
- * Shell 自定义(oh-my-zsh、powerlevel10k 等)
- * 操作系统和环境
-
-### 高级设置
-
-:::info 重要
-**这些设置需要重新启动终端**
-
-高级终端设置的更改仅在重新启动终端后生效。要重新启动终端:
-
-1. 单击终端面板中的垃圾桶图标以关闭当前终端
-2. 使用“终端”→“新建终端”或 Ctrl+`(反引号)打开新终端
-
-更改任何这些设置后,务必重新启动所有打开的终端。
-:::
-
-#### PowerShell 计数器解决方法
-
-
-帮助 PowerShell 连续多次运行相同的命令。如果您发现 Kilo Code 无法在 PowerShell 中连续运行相同的命令,请启用此功能。
-
-#### 清除 ZSH EOL 标记
-
-
-防止 ZSH 在输出行末尾添加特殊字符,这些字符在 Kilo Code 读取终端结果时可能会造成混淆。
-
-#### Oh My Zsh 集成
-
-
-使 Kilo Code 更好地与流行的 [Oh My Zsh](https://ohmyz.sh/) shell 自定义框架配合使用。如果您使用 Oh My Zsh 并遇到终端问题,请打开此功能。
-
-#### Powerlevel10k 集成
-
-
-如果您使用 ZSH 的 Powerlevel10k 主题,则可提高兼容性。如果您的花哨终端提示导致 Kilo Code 出现问题,请打开此功能。
-
-#### ZDOTDIR 处理
-
-
-帮助 Kilo Code 与自定义 ZSH 配置配合使用,而不会干扰您的个人 shell 设置和自定义。
-
-## Shell 集成故障排除
-
-### PowerShell 执行策略 (Windows)
-
-PowerShell 默认限制脚本执行。要配置:
-
-1. 以管理员身份打开 PowerShell
-2. 检查当前策略:`Get-ExecutionPolicy`
-3. 设置适当的策略:`Set-ExecutionPolicy RemoteSigned -Scope CurrentUser`
-
-常见策略:
-- `Restricted`:不允许任何脚本(默认)
-- `RemoteSigned`:本地脚本可以运行;下载的脚本需要签名
-- `Unrestricted`:所有脚本都带警告运行
-- `AllSigned`:所有脚本都必须签名
-
-### 手动 Shell 集成安装
-
-如果自动集成失败,请将适当的行添加到您的 shell 配置中:
-
-**Bash** (`~/.bashrc`):
-```bash
-[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path bash)"
-```
-
-**Zsh** (`~/.zshrc`):
-```bash
-[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
-```
-
-**PowerShell** (`$Profile`):
-```powershell
-if ($env:TERM_PROGRAM -eq "vscode") { . "$(code --locate-shell-integration-path pwsh)" }
-```
-
-**Fish** (`~/.config/fish/config.fish`):
-```fish
-string match -q "$TERM_PROGRAM" "vscode"; and . (code --locate-shell-integration-path fish)
-```
-
-### 终端自定义问题
-
-如果您使用终端自定义工具:
-
-**Powerlevel10k**:
-```bash
-# 在 ~/.zshrc 中 source powerlevel10k 之前添加
-typeset -g POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
-```
-
-**替代方案**:在 Kilo Code 设置中启用 Powerlevel10k 集成设置。
-
-### 验证 Shell 集成状态
-
-使用以下命令确认 shell 集成处于活动状态:
-
-**Bash**:
-```bash
-set | grep -i '[16]33;'
-echo "$PROMPT_COMMAND" | grep vsc
-trap -p DEBUG | grep vsc
-```
-
-**Zsh**:
-```zsh
-functions | grep -i vsc
-typeset -p precmd_functions preexec_functions
-```
-
-**PowerShell**:
-```powershell
-Get-Command -Name "*VSC*" -CommandType Function
-Get-Content Function:\Prompt | Select-String "VSCode"
-```
-
-**Fish**:
-```fish
-functions | grep -i vsc
-functions fish_prompt | grep -i vsc
-```
-
-活动 shell 集成的视觉指示器:
-1. 终端标题栏中的 shell 集成指示器
-2. 命令检测高亮显示
-3. 终端标题中的工作目录更新
-4. 命令持续时间和退出代码报告
-
-## WSL 终端集成方法
-
-使用 Windows Subsystem for Linux (WSL) 时,有两种不同的方法可以使用 VSCode 和 WSL,每种方法对 shell 集成都有不同的影响:
-
-### 方法 1:VSCode Windows 与 WSL 终端
-
-在此设置中:
-- VSCode 在 Windows 中原生运行
-- 您在 VSCode 中使用 WSL 终端集成功能
-- Shell 命令通过 WSL 桥接执行
-- 由于 Windows-WSL 通信,可能会出现额外的延迟
-- Shell 集成标记可能会受到 WSL-Windows 边界的影响:您必须确保在 WSL 环境中为您的 shell 加载 `source "$(code --locate-shell-integration-path )"`,因为它可能不会自动加载;请参阅上文。
-
-### 方法 2:VSCode 在 WSL 中运行
-
-在此设置中:
-- 您直接从 WSL 中使用 `code .` 启动 VSCode
-- VSCode 服务器在 Linux 环境中原生运行
-- 直接访问 Linux 文件系统和工具
-- 更好的 shell 集成性能和可靠性
-- Shell 集成会自动加载,因为 VSCode 在 Linux 环境中原生运行
-- WSL 开发的推荐方法
-
-为了与 WSL 实现最佳 shell 集成,我们建议:
-1. 打开您的 WSL 发行版
-2. 导航到您的项目目录
-3. 使用 `code .` 启动 VSCode
-4. 使用 VSCode 中的集成终端
-
-## 已知问题与解决方法
-
-### 针对 Windows 上 Fish + Cygwin 的 VS Code Shell 集成
-
-对于在 Cygwin 环境中运行 Fish 终端的 Windows 用户,以下是 VS Code shell 集成的配置方法:
-
-1. **(可选)定位 Shell 集成脚本:**
- 在 *VS Code 内* 打开您的 Fish 终端并运行以下命令:
- ```bash
- code --locate-shell-integration-path fish
- ```
- 这会输出 `shellIntegration.fish` 脚本的路径。请记下此路径。
-
-2. **更新您的 Fish 配置:**
- 编辑您的 `config.fish` 文件(通常位于 Cygwin 主目录下的 `~/.config/fish/config.fish`)。添加以下行,最好放在 `if status is-interactive` 代码块内或文件的末尾:
-
- ```fish
- # config.fish 结构示例
- if status is-interactive
- # 您的其他交互式 shell 配置...
- # 自动定位集成脚本:
- string match -q "$TERM_PROGRAM" "vscode"; and . (code --locate-shell-integration-path fish)
-
- # 或者,如果上述方法对您无效:
- # 加载 VS Code shell 集成脚本
- # 重要提示:请将下面的示例路径替换为您在第 1 步中找到的实际路径。
- # 确保路径格式是 Cygwin 可以识别的(例如,使用 /cygdrive/c/...)。
- # source "/cygdrive/c/Users/YourUser/.vscode/extensions/..../shellIntegration.fish"
- end
- ```
- *请记得将示例路径替换为第 1 步中获得的实际路径,并确保其格式适用于 Cygwin。*
-
-3. **配置 VS Code 终端配置文件:**
- 打开您的 VS Code `settings.json` 文件(Ctrl+Shift+P -\> "首选项: 打开用户设置 (JSON)")。在 `terminal.integrated.profiles.windows` 下更新或添加 Fish 配置文件,如下所示:
-
- ```json
- {
- // ... 其他设置 ...
-
- "terminal.integrated.profiles.windows": {
- // ... 其他配置文件 ...
-
- // 推荐:使用 bash.exe 以登录 shell 方式启动 fish
- "fish": {
- "path": "C:\\cygwin64\\bin\\bash.exe", // 或您的 Cygwin bash 路径
- "args": [
- "--login", // 确保登录脚本运行(对 Cygwin 环境很重要)
- "-i", // 确保 bash 以交互模式运行
- "-c",
- "exec fish" // 将 bash 进程替换为 fish
- ],
- "icon": "terminal-bash" // 可选:使用一个易于识别的图标
- }
- // 备选方案(如果上述方法失败):直接启动 fish
- "fish-direct": {
- "path": "C:\\cygwin64\\bin\\fish.exe", // 确保此路径在您的 Windows PATH 中或提供完整路径
- // 此处使用 'options' 而非 'args';否则可能会遇到“终端进程已终止,退出代码 1”的错误。
- "options": ["-l", "-c"], // 示例:登录和交互式标志
- "icon": "terminal-fish" // 可选:使用 fish 图标
- }
- },
-
- // 可选:如果需要,将 fish 设置为默认终端
- // "terminal.integrated.defaultProfile.windows": "fish", // 或 "fish-direct",取决于您使用的配置
-
- // ... 其他设置 ...
- }
- ```
- *注意:在 Cygwin 环境中,使用 `bash.exe --login -i -c "exec fish"` 通常更可靠,可以确保在 `fish` 启动前正确设置环境。但是,如果该方法无效,请尝试 `fish-direct` 配置文件。*
-
-4. **重启 VS Code:**
- 完全关闭并重新打开 Visual Studio Code 以应用更改。
-
-5. **验证:**
- 在 VS Code 中打开一个新的 Fish 终端。Shell 集成功能(如命令修饰、更好的命令历史导航等)现在应该已激活。您可以通过运行像 `echo "Hello from integrated Fish!"` 这样的简单命令来测试基本功能。 \
-
-此设置在使用 Cygwin、Fish 和 Starship 提示符的 Windows 系统上运行稳定,并应能帮助有类似配置的用户。
-
-
-### VSCode 1.98 版本后 Shell 集成失败
-
-**问题**:VSCode 更新到 1.98 以上版本后,shell 集成可能会失败,并显示错误 “VSCE output start escape sequence (]633;C or ]133;C) not received”。
-
-**解决方案**:
-1. **设置终端命令延迟**:
- - 在 Kilo Code 设置中将“终端命令延迟”设置为 50 毫秒。
- - 更改此设置后,重启所有终端。
- - 这与旧版的默认行为匹配,可能解决问题,但有用户报告称设置为 0 毫秒效果更好。这是针对上游 VSCode 问题的解决方法。
-
-2. **回退 VSCode 版本**:
- - 从 [VSCode 更新页面](https://code.visualstudio.com/updates/v1_98) 下载 VSCode v1.98。
- - 替换您当前的 VSCode 安装。
- - 无需备份 Kilo 设置。
-
-3. **WSL 特定解决方法**:
- - 如果使用 WSL,请确保您是从 WSL 内部通过 `code .` 命令启动 VSCode。
-
-4. **ZSH 用户**:
- - 尝试在 Kilo Code 设置中启用部分或全部 ZSH 相关的解决方法。
- - 无论您的操作系统是什么,这些设置都可能有所帮助。
-
-## 已知问题及解决方法
-
-### Ctrl+C 的行为
-
-**问题**:当 Kilo Code 尝试运行命令时,如果终端中已经输入了文本,Kilo Code 会先按 Ctrl+C 来清空当前行,这可能会中断正在运行的进程。
-
-**解决方法**:在要求 Kilo Code 执行终端命令之前,请确保您的终端提示符是空的(没有输入任何部分命令)。
-
-### 多行命令问题
-
-**问题**:跨多行的命令可能会让 Kilo Code 混淆,并可能将先前命令的输出与当前输出混合在一起。
-
-**解决方法**:不要使用多行命令,而是使用 `&&` 进行命令链接,将所有内容保持在一行(例如,使用 `echo a && echo b`,而不是分行输入每个命令)。
-
-### PowerShell 特定问题
-
-1. **过早完成**:PowerShell 有时会在所有输出显示完毕前就通知 Kilo Code 命令已完成。
-2. **重复命令**:PowerShell 可能会拒绝连续两次运行相同的命令。
-
-**解决方法**:启用“PowerShell 计数器解决方法”设置,并在设置中将终端命令延迟设置为 150 毫秒,以便为命令留出更多完成时间。
-
-### 终端输出不完整
-
-**问题**:有时 VS Code 不会显示或捕获命令的全部输出。
-
-**解决方法**:如果您发现输出缺失,请尝试关闭并重新打开终端选项卡,然后再次运行该命令。这会刷新终端连接。
-
-## 故障排除资源
-
-### 检查调试日志
-当出现 shell 集成问题时,请检查调试日志:
-1. 打开“帮助” → “切换开发人员工具” → “控制台”。
-2. 将日志级别设置为“显示所有级别”以查看所有日志消息。
-3. 查找包含 `[Terminal Process]` 的消息。
-4. 检查错误消息中的 `preOutput` 内容:
- - 空的 `preOutput` (`''`) 意味着 VSCode 没有发送任何数据。
- - 这表明可能存在 VSCode shell 集成问题,或者是我们无法控制的上游 bug。
- - 缺少 shell 集成标记可能需要调整设置,以解决与 shell 初始化和 VSCode 加载特殊 shell 集成钩子相关的上游 bug 或本地工作站配置问题。
-
-### 使用 VSCode Terminal Integration Test 扩展
-[VSCode Terminal Integration Test 扩展](https://github.com/KJ7LNW/vsce-test-terminal-integration) 通过测试不同的设置组合来帮助诊断 shell 集成问题:
-
-
-1. **当命令卡住时**:
- - 如果您看到“命令已在运行”的警告,请单击“重置统计信息”以重置终端状态。
- - 这些警告表明 shell 集成未正常工作。
- - 尝试不同的设置组合,直到找到一个可行的。
- - 如果问题确实卡住了,通过关闭窗口并按 F5 来重启扩展。
-
-2. **测试设置**:
- - 系统地尝试以下设置的不同组合:
- * 终端命令延迟
- * Shell 集成设置
- - 记录哪些组合成功或失败。
- - 这有助于识别 shell 集成问题的模式。
-
-3. **报告问题**:
- - 一旦找到有问题的配置。
- - 记录下确切的设置组合。
- - 注明您的环境(操作系统、VSCode 版本、shell 以及任何 shell 提示符自定义)。
- - 提交一个包含这些详细信息的问题,以帮助改进 shell 集成。
-
-## 支持
-
-如果您已遵循上述步骤但仍遇到问题,请:
-
-1. 查看 [Kilo Code GitHub Issues](https://github.com/Kilo-Org/kilocode/issues) 页面,看是否有人报告了类似的问题。
-2. 如果没有,请创建一个新 issue,并提供有关您的操作系统、VSCode/Cursor 版本以及您已尝试过的步骤的详细信息。
-
-如需更多帮助,请加入我们的 [Discord](https://kilocode.ai/discord)。如需其他帮助,请加入我们的 [Discord](https://kilocode.ai/discord)。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/slash-commands/workflows.mdx b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/slash-commands/workflows.mdx
deleted file mode 100644
index e9e648d6250..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/slash-commands/workflows.mdx
+++ /dev/null
@@ -1,88 +0,0 @@
----
-title: "工作流"
-sidebarTitle: "工作流"
----
-
-Workflows 通过为 Kilo Code 定义分步指令来自动化重复性任务。通过在聊天中键入 `/[workflow-name.md]` 来调用任何工作流。
-
-
-
-## 创建工作流
-
-工作流是存储在 `.kilocode/workflows/` 中的 markdown 文件:
-- **全局工作流**:`~/.kilocode/workflows/`(在所有项目中可用)
-- **项目工作流**:`[project]/.kilocode/workflows/`(项目特定)
-
-### 基本设置
-
-1. 创建一个包含分步指令的 `.md` 文件
-2. 将其保存在您的工作流目录中
-3. 键入 `/filename.md` 执行
-
-### 工作流功能
-
-工作流可以利用:
-- [内置工具](/features/tools/tool-use-overview):[`read_file()`](/features/tools/read-file)、[`search_files()`](/features/tools/search-files)、[`execute_command()`](/features/tools/execute-command)
-- CLI 工具:`gh`、`docker`、`npm`、自定义脚本
-- [MCP 集成](/features/mcp/overview):Slack、数据库、API
-- [模式切换](/basic-usage/using-modes):[`new_task()`](/features/tools/new-task) 用于专业上下文
-
-## 常见工作流模式
-
-**发布管理**
-```markdown
-1. 收集自上次发布以来合并的 PR
-2. 从提交消息生成更新日志
-3. 更新版本号
-4. 创建发布分支和标签
-5. 部署到 staging 环境
-```
-
-**项目设置**
-```markdown
-1. 克隆仓库模板
-2. 安装依赖项(`npm install`、`pip install -r requirements.txt`)
-3. 配置环境文件
-4. 初始化数据库/服务
-5. 运行初始测试
-```
-
-**代码审查准备**
-```markdown
-1. 搜索 TODO 注释和 debug 语句
-2. 运行 linting 和格式化
-3. 执行测试套件
-4. 从最近的提交生成 PR 描述
-```
-
-## 示例:PR 提交工作流
-
-让我们逐步创建一个用于提交拉取请求的工作流。此工作流处理从代码审查到部署通知的整个过程。
-
-在您的 `.kilocode/workflows` 目录中创建一个名为 `submit-pr.md` 的文件:
-
-```markdown
-# 提交 PR 工作流
-
-您正在帮助提交拉取请求。请按照以下步骤操作:
-
-1. 首先,使用 `search_files` 检查是否有任何不应提交的 TODO 注释或 console.log 语句
-2. 使用 `execute_command` 运行测试,使用 `npm test` 或适当的测试命令
-3. 如果测试通过,则暂存并提交更改,并附上描述性提交消息
-4. 使用 `gh pr create` 推送分支并创建拉取请求
-5. 使用 `ask_followup_question` 从用户那里获取 PR 标题和描述
-
-所需参数(如果未提供则询问):
-- 分支名称
-- 要分配的审阅者
-```
-
-现在您可以通过在聊天中键入 `/submit-pr.md` 来触发此工作流。Kilo Code 将:
-
-- 在提交之前扫描您的代码以查找常见问题
-- 运行您的测试套件以尽早发现问题
-- 处理 Git 操作和 PR 创建
-- 自动通知您的团队
-- 设置部署的后续任务
-
-这使您无需手动运行相同的 7 步过程,每次您想提交代码进行审查时。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/suggested-responses.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/suggested-responses.md
deleted file mode 100644
index af2196bcc22..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/suggested-responses.md
+++ /dev/null
@@ -1,45 +0,0 @@
----
-sidebar_label: Suggested Responses
----
-
-import Codicon from '@site/src/components/Codicon';
-
-# 建议回复
-
-当 Kilo Code 需要更多信息来完成任务时,它会使用 [`ask_followup_question` 工具](/features/tools/ask-followup-question)。为了使回复更轻松、更快捷,Kilo Code 通常会在问题旁边提供建议答案。
-
-## 概述
-
-建议回复以可点击按钮的形式直接显示在 Kilo Code 问题下方,位于聊天界面中。它们提供与问题相关的预设答案,帮助您快速提供输入。
-
-
-
-## 工作原理
-
-1. **问题出现**:Kilo Code 使用 `ask_followup_question` 工具提问。
-2. **显示建议**:如果 Kilo Code 提供了建议,它们将作为按钮显示在问题下方。
-3. **交互**:您可以通过两种方式与这些建议进行交互。
-
-## 与建议交互
-
-您有两种使用建议回复的选项:
-
-1. **直接选择**:
- * **操作**:只需单击包含您要提供的答案的按钮。
- * **结果**:选定的答案会立即作为您的回复发送回 Kilo Code。如果其中一个建议完全符合您的意图,这是最快的回复方式。
-
-2. **发送前编辑**:
- * **操作**:
- * 按住 `Shift` 并单击建议按钮。
- * *或者*,将鼠标悬停在建议按钮上,然后单击出现的铅笔图标()。
- * **结果**:建议的文本被复制到聊天输入框中。您可以在按 Enter 键发送自定义回复之前根据需要修改文本。当建议接近但需要微调时,这很有用。
-
-
-
-## 优点
-
-* **速度**:无需输入完整答案即可快速回复。
-* **清晰度**:建议通常会阐明 Kilo Code 需要的信息类型。
-* **灵活性**:根据需要编辑建议以提供精确、自定义的答案。
-
-此功能简化了 Kilo Code 需要澄清时的交互,让您能够以最少的精力有效指导任务。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/system-notifications.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/system-notifications.md
deleted file mode 100644
index f7a1d005097..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/system-notifications.md
+++ /dev/null
@@ -1,251 +0,0 @@
-# 系统通知
-
-系统通知是原生操作系统通知,会出现在系统的通知中心或托盘中。与仅在编辑器内显示的 VSCode 内置通知不同,系统通知在以下情况下仍然可见:
-
-- VSCode 最小化或处于后台
-- 你正在其他应用程序中工作
-- 你的屏幕被锁定(取决于操作系统设置)
-- 你离开电脑
-
-Kilo Code 使用系统通知来告知你:
-
-- 任务完成状态
-- 重要错误或警告
-- 长时间运行操作的更新
-- 关键系统事件
-
-## 支持的操作系统
-
-Kilo Code 的系统通知可在所有主要操作系统上运行,但底层技术不同:
-
-| 操作系统 | 技术 | 要求 |
-| ----------- | ------------------------------- | ----------------------- |
-| **macOS** | AppleScript + terminal-notifier | 内置支持,可选增强功能 |
-| **Windows** | PowerShell + Windows Runtime | PowerShell 执行策略配置 |
-| **Linux** | notify-send | 安装 libnotify 包 |
-
-## 平台特定设置
-
-### macOS 设置
-
-macOS 对系统通知具有最佳的内置支持,有两种可用方法:
-
-#### 方法 1:内置 AppleScript(备用)
-
-无需额外设置。Kilo Code 使用 macOS 的内置命令来显示通知。
-
-#### 方法 2:使用 terminal-notifier 增强(推荐)
-
-要获得带有自定义图标的增强通知,请安装 terminal-notifier:
-
-```bash
-# 通过 Homebrew 安装
-brew install terminal-notifier
-
-# 或通过 npm 安装
-npm install -g terminal-notifier
-```
-
-**工作原理:** Kilo Code 首先尝试使用 `terminal-notifier`,如果未安装则自动回退到 AppleScript。
-
-### Windows 设置
-
-Windows 通知需要配置 PowerShell 执行策略才能正常工作。
-
-#### 步骤 1:配置 PowerShell 执行策略
-
-以管理员身份打开 PowerShell 并运行:
-
-```powershell
-# 检查当前执行策略
-Get-ExecutionPolicy
-
-# 设置执行策略以允许本地脚本运行
-Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
-```
-
-#### 步骤 2:验证 Windows Runtime 访问权限
-
-Windows 通知通过 PowerShell 使用 `Windows.UI.Notifications` API。此功能在以下版本中可用:
-
-- ✅ Windows 10(所有版本)
-- ✅ Windows 11(所有版本)
-- ✅ Windows Server 2016 及更高版本
-- ❌ Windows 8.1 及更早版本(支持有限)
-
-#### 执行策略选项
-
-| 策略 | 描述 | 安全级别 | 推荐 |
-| -------------- | ---------------------------------- | -------- | ----------- |
-| `Restricted` | 不允许运行脚本(默认) | 最高 | ❌ 阻止通知 |
-| `RemoteSigned` | 本地脚本可运行,下载的脚本需要签名 | 高 | ✅ **推荐** |
-| `Unrestricted` | 所有脚本运行但会显示警告 | 中等 | ⚠️ 谨慎使用 |
-| `AllSigned` | 所有脚本必须签名 | 最高 | ❌ 过于严格 |
-
-### Linux 设置
-
-Linux 通知需要 `libnotify` 包和 `notify-send` 命令。
-
-#### Ubuntu/Debian 安装
-
-```bash
-# 安装 libnotify
-sudo apt update
-sudo apt install libnotify-bin
-
-# 验证安装
-which notify-send
-```
-
-#### Red Hat/CentOS/Fedora 安装
-
-```bash
-# RHEL/CentOS
-sudo yum install libnotify
-
-# Fedora
-sudo dnf install libnotify
-
-# 验证安装
-which notify-send
-```
-
-#### Arch Linux 安装
-
-```bash
-# 安装 libnotify
-sudo pacman -S libnotify
-
-# 验证安装
-which notify-send
-```
-
-#### 桌面环境要求
-
-系统通知在以下桌面环境中效果最佳:
-
-| 桌面环境 | 支持级别 | 说明 |
-| -------------- | ----------- | ------------------------ |
-| **GNOME** | ✅ 完全支持 | 原生通知中心 |
-| **KDE Plasma** | ✅ 完全支持 | 原生通知系统 |
-| **XFCE** | ✅ 良好支持 | 需要通知守护进程 |
-| **Unity** | ✅ 完全支持 | Ubuntu 的通知系统 |
-| **i3/Sway** | ⚠️ 有限支持 | 需要手动设置通知守护进程 |
-| **Headless** | ❌ 不支持 | 无显示服务器可用 |
-
-#### 通知守护进程设置(高级)
-
-对于极简窗口管理器,你可能需要启动通知守护进程:
-
-```bash
-# 安装并启动 dunst(轻量级通知守护进程)
-sudo apt install dunst # Ubuntu/Debian
-sudo pacman -S dunst # Arch Linux
-
-# 手动启动 dunst
-dunst &
-
-# 或添加到窗口管理器启动脚本
-echo "dunst &" >> ~/.xinitrc
-```
-
-## 验证系统通知
-
-### 各平台测试命令
-
-#### macOS 测试
-
-```bash
-# 测试 AppleScript 方法
-osascript -e 'display notification "测试消息" with title "测试标题" sound name "Tink"'
-
-# 测试 terminal-notifier(如果已安装)
-terminal-notifier -message "测试消息" -title "测试标题" -sound Tink
-```
-
-#### Windows 测试
-
-```powershell
-# 测试 PowerShell 通知
-$template = @"
-
-
-
- 测试标题
- 测试消息
-
-
-
-"@
-
-[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
-[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null
-$xml = New-Object Windows.Data.Xml.Dom.XmlDocument
-$xml.LoadXml($template)
-$toast = [Windows.UI.Notifications.ToastNotification]::new($xml)
-[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("Test App").Show($toast)
-```
-
-#### Linux 测试
-
-```bash
-# 测试 notify-send
-notify-send "测试标题" "测试消息"
-
-# 带图标测试(可选)
-notify-send -i dialog-information "测试标题" "测试消息"
-```
-
-## 故障排除
-
-### 常见问题及解决方案
-
-#### macOS 问题
-
-**问题:** 通知未出现
-
-- **解决方案 1:** 检查系统偏好设置 → 通知 → 终端(或 VSCode)→ 允许通知
-- **解决方案 2:** 确认勿扰模式已禁用
-- **解决方案 3:** 使用上述手动命令测试
-
-**问题:** 通知未出现
-
-- **解决方案:** 确保 terminal-notifier 已正确安装:`brew install terminal-notifier`
-
-#### Windows 问题
-
-**问题:** "脚本执行被禁用" 错误
-
-- **解决方案:** 按照设置说明配置 PowerShell 执行策略
-- **命令:** `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser`
-
-**问题:** Windows 11 中通知未出现
-
-- **解决方案 1:** 检查设置 → 系统 → 通知 → 允许通知
-- **解决方案 2:** 确保专注助手未阻止通知
-- **解决方案 3:** 验证 Windows 通知服务是否正在运行
-
-**问题:** PowerShell 脚本错误
-
-- **解决方案:** 将 PowerShell 更新到 5.1 或更高版本
-- **检查版本:** `$PSVersionTable.PSVersion`
-
-#### Linux 问题
-
-**问题:** `notify-send: command not found`
-
-- **解决方案:** 为你的发行版安装 libnotify 包
-- **Ubuntu/Debian:** `sudo apt install libnotify-bin`
-- **RHEL/CentOS:** `sudo yum install libnotify`
-- **Arch:** `sudo pacman -S libnotify`
-
-**问题:** 在极简窗口管理器中通知未出现
-
-- **解决方案:** 安装并配置通知守护进程,如 dunst
-- **安装:** `sudo apt install dunst`(Ubuntu/Debian)
-- **启动:** `dunst &`
-
-**问题:** 权限被拒绝错误
-
-- **解决方案:** 确保你的用户有权访问显示服务器
-- **检查:** `echo $DISPLAY` 应返回类似 `:0` 的结果
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/access-mcp-resource.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/access-mcp-resource.md
deleted file mode 100644
index 89e07312fa9..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/access-mcp-resource.md
+++ /dev/null
@@ -1,126 +0,0 @@
-# access_mcp_resource
-
-`access_mcp_resource` 工具用于从连接的 Model Context Protocol (MCP) 服务器中检索资源数据。它允许 Kilo Code 访问文件、API 响应、文档或系统信息,为任务提供额外的上下文。
-
-## 参数
-
-该工具接受以下参数:
-
-- `server_name` (必填): 提供资源的 MCP 服务器名称
-- `uri` (必填): 标识要访问的特定资源的 URI
-
-## 功能
-
-该工具连接到 MCP 服务器并从其暴露的资源中获取数据。与 `use_mcp_tool` 执行操作不同,该工具专门检索为任务提供上下文的信息。
-
-## 使用场景
-
-- 当 Kilo Code 需要从外部系统获取额外上下文时
-- 当 Kilo Code 需要从专门的 MCP 服务器访问领域特定数据时
-- 当 Kilo Code 需要检索由 MCP 服务器托管的参考文档时
-- 当 Kilo Code 需要通过 MCP 从外部 API 集成实时数据时
-
-## 主要特性
-
-- 从 MCP 资源中检索文本和图像数据
-- 在执行资源访问前需要用户批准
-- 使用基于 URI 的寻址来精确定位资源
-- 与 Model Context Protocol SDK 集成
-- 根据内容类型适当显示资源内容
-- 支持超时以确保网络操作的可靠性
-- 处理服务器连接状态(已连接、连接中、断开连接)
-- 发现来自连接服务器的可用资源
-- 处理带有元数据的结构化响应数据
-- 特殊处理图像内容的渲染
-
-## 限制
-
-- 依赖于外部 MCP 服务器的可用性和连接性
-- 仅限于连接服务器提供的资源
-- 无法访问已禁用服务器的资源
-- 网络问题可能影响可靠性和性能
-- 资源访问受配置的超时限制
-- URI 格式由特定的 MCP 服务器实现决定
-- 没有离线或缓存的资源访问能力
-
-## 工作原理
-
-当调用 `access_mcp_resource` 工具时,它会遵循以下流程:
-
-1. **连接验证**:
- - 验证 MCP 中心是否可用且已初始化
- - 确认指定的服务器存在于连接列表中
- - 检查服务器是否被禁用(如果被禁用则返回错误)
-
-2. **用户批准**:
- - 向用户呈现资源访问请求以获取批准
- - 提供服务器名称和资源 URI 以供用户验证
- - 仅在用户批准资源访问后继续
-
-3. **资源请求**:
- - 使用 Model Context Protocol SDK 与服务器通信
- - 通过 MCP 中心向服务器发出 `resources/read` 请求
- - 应用配置的超时以防止服务器无响应时挂起
-
-4. **响应处理**:
- - 接收带有元数据和内容数组的结构化响应
- - 处理文本内容以供用户显示
- - 特殊处理图像数据以适当显示
- - 将处理后的资源数据返回给 Kilo Code 以用于当前任务
-
-## 资源类型
-
-MCP 服务器可以提供两种主要类型的资源:
-
-1. **标准资源**:
- - 具有特定 URI 的固定资源
- - 定义名称、描述和 MIME 类型
- - 无需参数的直接访问
- - 通常表示静态数据或实时信息
-
-2. **资源模板**:
- - 具有 URI 中占位符值的参数化资源
- - 允许基于提供的参数动态生成资源
- - 可以表示查询或数据过滤视图
- - 更灵活但需要额外的 URI 格式化
-
-## 使用示例
-
-- 在帮助开发 API 时,Kilo Code 从 MCP 资源中检索端点规范以确保正确实现。
-- 在协助数据可视化时,Kilo Code 从连接的 MCP 服务器访问当前数据样本。
-- 在特定领域工作时,Kilo Code 检索技术文档以提供准确的指导。
-- 在生成行业特定代码时,Kilo Code 参考文档中的合规要求。
-
-## 使用示例
-
-访问当前的天气数据:
-```
-
-weather-server
-weather://san-francisco/current
-
-```
-
-检索 API 文档:
-```
-
-api-docs
-docs://payment-service/endpoints
-
-```
-
-访问领域特定知识:
-```
-
-knowledge-base
-kb://medical/terminology/common
-
-```
-
-获取系统配置:
-```
-
-infra-monitor
-config://production/database
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/apply-diff.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/apply-diff.md
deleted file mode 100644
index 193850eba0b..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/apply-diff.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# apply_diff
-
-`apply_diff`工具通过指定要替换的确切内容,对文件进行精确的修改。它使用多种复杂策略来查找和应用更改,同时保持正确的代码格式和结构。
-
-## 参数
-
-该工具接受以下参数:
-
-- `path`(必填):相对于当前工作目录要修改的文件的路径。
-- `diff`(必填):定义更改的搜索/替换块。**对于所有当前实现的策略,diff 内容格式中必须包含行号**。
-
-**注意**:虽然系统设计为可扩展不同的 diff 策略,但所有当前实现的策略都要求在 diff 内容本身中使用 `:start_line:` 标记指定行号。
-
-## 功能
-
-该工具使用复杂的策略对现有文件进行有针对性的更改,以精确定位和替换内容。与简单的搜索和替换不同,它使用智能匹配算法(包括模糊匹配),能够适应不同的内容类型和文件大小,并为复杂编辑提供回退机制。
-
-## 使用场景
-
-- 当Kilo Code需要对现有代码进行精确更改而不重写整个文件时。
-- 在重构代码的特定部分同时保持周围上下文时。
-- 以手术般的精度修复现有代码中的错误时。
-- 实现仅修改文件某些部分的功能增强时。
-
-## 主要特性
-
-- 使用可配置置信度阈值(通常为0.8-1.0)的智能模糊匹配。
-- 使用`BUFFER_LINES`(默认40)提供匹配的上下文。
-- 采用重叠窗口方法搜索大文件。
-- 自动保留代码格式和缩进。
-- 组合重叠匹配以提高置信度评分。
-- 在应用更改前,在diff视图中显示更改以供用户审查和编辑。
-- 跟踪每个文件的连续错误(`consecutiveMistakeCountForApplyDiff`)以防止重复失败。
-- 根据`.kilocodeignore`规则验证文件访问权限。
-- 有效处理多行编辑。
-
-## 限制
-
-- 对于独特、独特的代码部分效果最佳,以便可靠识别。
-- 对于非常大的文件或高度重复的代码模式,性能可能会有所不同。
-- 如果内容不明确,模糊匹配可能会偶尔选择错误的位置。
-- 每个diff策略都有特定的格式要求。
-- 复杂的编辑可能需要仔细选择策略或手动审查。
-
-## 工作原理
-
-当调用`apply_diff`工具时,它会遵循以下过程:
-
-1. **参数验证**:验证必需的`path`和`diff`参数。
-2. **KiloCodeIgnore检查**:验证目标文件路径是否被`.kilocodeignore`规则允许。
-3. **文件分析**:加载目标文件内容。
-4. **匹配查找**:使用所选策略的算法(精确、模糊、重叠窗口)定位目标内容,考虑置信度阈值和上下文(`BUFFER_LINES`)。
-5. **更改准备**:生成建议的更改,保留缩进。
-6. **用户交互**:
- * 在diff视图中显示更改。
- * 允许用户审查并可能编辑建议的更改。
- * 等待用户批准或拒绝。
-7. **更改应用**:如果获得批准,将更改(可能包括用户编辑)应用到文件。
-8. **错误处理**:如果发生错误(例如,匹配失败、部分应用),则递增文件的`consecutiveMistakeCountForApplyDiff`并报告失败类型。
-9. **反馈**:返回结果,包括任何用户反馈或错误详细信息。
-
-## Diff策略
-
-Kilo Code使用以下策略来应用diff:
-
-### MultiSearchReplaceDiffStrategy
-
-一种增强的搜索/替换格式,支持在一个请求中进行多次更改。需要每个搜索块的行号。
-
-* **最佳使用场景**:已知或可以估计行号的多个不同更改。
-* **要求**:`SEARCH`块内容的精确匹配,包括空格和缩进。行号(`:start_line:`,`:end_line:`)是必需的。内容中的标记必须转义(`\`)。
-
-``块的示例格式:
-
-```diff
-<<<<<<< SEARCH
-:start_line:10
-:end_line:12
--------
- // Old calculation logic
- const result = value * 0.9;
- return result;
-=======
- // Updated calculation logic with logging
- console.log(`Calculating for value: ${value}`);
- const result = value * 0.95; // Adjusted factor
- return result;
->>>>>>> REPLACE
-
-<<<<<<< SEARCH
-:start_line:25
-:end_line:25
--------
- const defaultTimeout = 5000;
-=======
- const defaultTimeout = 10000; // Increased timeout
->>>>>>> REPLACE
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/ask-followup-question.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/ask-followup-question.md
deleted file mode 100644
index c9f9300f06c..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/ask-followup-question.md
+++ /dev/null
@@ -1,168 +0,0 @@
-# ask_followup_question
-
-`ask_followup_question` 工具通过提出具体问题来收集完成任务所需的额外信息,从而实现交互式沟通。
-
-## 参数
-
-该工具接受以下参数:
-
-- `question` (必填): 向用户提出的具体问题
-- `follow_up` (可选): 包含 2-4 个建议答案的列表,帮助引导用户回答,每个建议用 `` 标签包裹
-
-## 功能
-
-该工具在 Kilo Code 和用户之间创建了一个对话界面,当遇到模糊不清或决策点时,可以用于收集澄清信息、额外细节或用户偏好。每个问题可以包含建议的响应,以简化交互。
-
-## 使用场景
-
-- 当原始请求中缺少关键信息时
-- 当 Kilo Code 需要在多个有效的实现方法之间做出选择时
-- 当需要技术细节或偏好才能继续时
-- 当 Kilo Code 遇到需要解决的模糊不清的情况时
-- 当额外的上下文会显著提高解决方案质量时
-
-## 主要特性
-
-- 提供结构化的方式来收集特定信息,而不会中断工作流程
-- 包含建议答案以减少用户输入并引导响应
-- 在交互过程中维护对话历史和上下文
-- 支持包含图片和代码片段的响应
-- 在所有模式下都可用,作为"始终可用"的工具集的一部分
-- 支持用户直接指导实现决策
-- 使用 `` 标签格式化响应,以区分常规对话
-- 成功使用时重置连续错误计数器
-
-## 限制
-
-- 每次工具使用仅限于提出一个具体问题
-- 在 UI 中将建议作为可选项呈现
-- 不能强制结构化响应 - 用户仍然可以自由响应
-- 过度使用可能会减慢任务完成速度并造成碎片化体验
-- 建议答案必须完整,不能包含需要用户编辑的占位符
-- 没有内置的用户响应验证机制
-- 没有强制特定答案格式的机制
-
-## 工作原理
-
-当调用 `ask_followup_question` 工具时,它会遵循以下流程:
-
-1. **参数验证**: 验证必需的 `question` 参数并检查可选建议
- - 确保提供了问题文本
- - 使用 `fast-xml-parser` 库从 `follow_up` 参数中解析任何建议答案
- - 即使只有一个建议,也将建议规范化为数组格式
-
-2. **JSON 转换**: 将 XML 结构转换为标准化的 JSON 格式以供 UI 显示
- ```typescript
- {
- question: "用户的问题在这里",
- suggest: [
- { answer: "建议 1" },
- { answer: "建议 2" }
- ]
- }
- ```
-
-3. **UI 集成**:
- - 通过 `ask("followup", ...)` 方法将 JSON 结构传递给 UI 层
- - 在界面中向用户显示可选的建议按钮
- - 创建选择或输入响应的交互式体验
-
-4. **响应收集与处理**:
- - 捕获用户文本输入和响应中包含的任何图片
- - 在返回给助手时用 `` 标签包裹用户响应
- - 保留用户响应中包含的任何图片
- - 通过将响应添加到历史记录中来维护对话上下文
- - 在工具成功使用时重置连续错误计数器
-
-5. **错误处理**:
- - 使用计数器跟踪连续错误
- - 在工具成功使用时重置计数器
- - 提供特定的错误消息:
- - 对于缺少参数:"缺少必需的参数 'question'"
- - 对于 XML 解析:"无法解析操作:[错误消息]"
- - 对于无效格式:"操作 xml 格式无效"
- - 包含防止在缺少必需参数时执行工具的安全措施
- - 发生错误时增加连续错误计数
-
-## 工作流程
-
-问题-回答周期遵循以下顺序:
-
-1. **信息差距识别**: Kilo Code 识别出继续所需缺少的信息
-2. **具体问题创建**: Kilo Code 形成一个明确的、有针对性的问题
-3. **建议开发**: Kilo Code 创建相关的建议答案(可选但推荐)
-4. **工具调用**: 助手使用问题和可选建议调用工具
-5. **UI 呈现**: 问题和建议作为交互元素显示给用户
-6. **用户响应**: 用户选择建议或提供自定义答案
-7. **消息处理**: 系统处理部分和完整的消息
- - 对于流式响应,在到达时处理每个块
- - 对于完整消息,一次性处理整个响应
- - 无论消息分块如何,都保持状态一致性
-8. **响应处理**: 系统用 `` 标签包裹响应并保留图片
-9. **上下文集成**: 响应被添加到对话历史中
-10. **任务继续**: Kilo Code 使用新信息继续任务
-
-## 使用示例
-
-- 在开发 Web 应用程序时,Kilo Code 可能会询问首选的样式框架(Bootstrap、Tailwind、自定义 CSS)
-- 在创建 API 时,Kilo Code 可能会询问认证方法(JWT、OAuth、API 密钥)
-- 在重构代码时,Kilo Code 可能会询问是优先考虑性能还是可读性
-- 在设置数据库时,Kilo Code 可能会询问特定的模式设计偏好
-- 在创建自定义功能时,Kilo Code 可能会询问特定的行为期望
-- 在排查错误时,Kilo Code 可能会询问特定的环境细节
-
-## 响应格式
-
-当用户回答问题时,响应会用 `` 标签进行格式化,以提高清晰度和一致性。这种格式有助于将用户的回答与其他对话元素明确区分开来。
-
-示例响应格式:
-```
-
-使用 Tailwind CSS 进行实用优先的样式设计,具有最大的灵活性
-
-```
-
-响应格式的关键特征:
-- 用 `` 标签包裹
-- 保留原始响应的格式
-- 如果响应中包含图片,则保留图片
-- 返回完整文本,即使是长响应
-
-## 使用示例
-
-询问实现偏好:
-```
-
-你希望这个 Web 应用程序采用哪种样式方法?
-
-使用 Bootstrap 进行快速开发,具有一致的组件
-使用 Tailwind CSS 进行实用优先的样式设计,具有最大的灵活性
-使用自定义样式的原生 CSS,以获得完全控制和最小依赖
-
-
-```
-
-请求技术澄清:
-```
-
-这个应用程序应该使用什么数据库来存储用户数据?
-
-MongoDB 用于灵活的模式和基于文档的存储
-PostgreSQL 用于具有强一致性保证的关系数据
-Firebase 用于实时更新和简化的后端管理
-SQLite 用于轻量级本地存储,无需外部依赖
-
-
-```
-
-解决需求中的模糊性:
-```
-
-应用程序应如何处理用户认证?
-
-实施带账户验证的电子邮件/密码认证
-使用社交登录提供商(Google、GitHub 等)快速注册
-同时实施电子邮件/密码和社交登录选项
-
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/attempt-completion.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/attempt-completion.md
deleted file mode 100644
index 478bab29ae4..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/attempt-completion.md
+++ /dev/null
@@ -1,174 +0,0 @@
-# attempt_completion
-
-`attempt_completion` 工具用于标记 Kilo Code 认为任务已完成并向用户展示结果。它提供了任务完成的摘要,可选地包括一个用于展示结果的命令,并支持通过用户反馈进行进一步优化。
-
-## 参数
-
-该工具接受以下参数:
-
-- `result` (必填): 最终结果描述,总结已完成的工作
-- `command` (可选): 用于展示结果的 CLI 命令
-
-## 功能
-
-该工具通过提供最终摘要来标记任务的结束。它向用户和系统发出信号,表明当前任务已完成。当提供命令时,它还可以通过实时执行来展示结果。
-
-## 使用场景
-
-- 当 Kilo Code 认为用户的任务已完成时
-- 当总结所做更改或改进时
-- 当使用命令执行展示当前结果时
-- 当为用户反馈提供解决方案的检查点时
-- 当从工作阶段过渡到可能的优化时
-
-## 主要特性
-
-- 提供明确的信号表明 Kilo Code 认为任务已完成
-- 以简洁的消息总结完成的工作
-- 可选地通过命令执行展示结果
-- 支持用户反馈以进行进一步优化
-- 以不同于常规消息的特殊 UI 格式显示结果
-- 捕获任务完成遥测数据用于系统分析
-- 通过提供检查点维护结构化的对话流程
-- 支持在较大工作流中的子任务完成
-- 确保用户收到关于已完成工作的清晰摘要
-- 在所有模式下都可用,作为"始终可用"工具组的一部分
-
-## 限制
-
-- 在确认之前的工具使用成功之前不应使用(指南,非强制)
-- 仅限于单个命令来展示结果
-- 无法提供多个命令选项
-- 命令在执行前需要用户批准
-- 仅限于通过 CLI 命令展示结果
-- 不能用于部分任务完成或进度更新
-- 结果格式会通过内部处理移除 XML 闭合标签
-
-## 工作原理
-
-当调用 `attempt_completion` 工具时,它会遵循以下流程:
-
-1. **安全考虑**(指南,非强制):
- - AI 被指示确认之前的工具使用是否成功
- - 这是一个最佳实践,而不是程序化强制机制
-
-2. **结果展示**:
- - 以特殊的 "completion_result" UI 格式向用户显示完成消息
- - 使用 `removeClosingTag` 函数从结果文本中移除 XML 闭合标签
- - 以不同于常规消息的方式呈现结果,以实现视觉区分
-
-3. **命令执行**(如果提供):
- - 在执行前请求用户批准
- - 仅在用户批准后执行
- - 使用系统的命令执行功能执行命令
- - 向用户展示命令结果
-
-4. **反馈收集**:
- - 等待用户对完成结果的反馈
- - 处理此反馈并将其返回给 AI
- - 支持基于用户输入的持续优化
-
-5. **任务完成与继续**:
- - 在系统中标记任务为已完成
- - 捕获已完成任务的遥测数据
- - 对于子任务,提供完成子任务并恢复父任务的选项
- - 通过反馈机制支持继续对话
-
-6. **实现集成**:
- - 工具结果通过系统的解析机制在 `parse-assistant-message.ts` 中处理
- - 该工具是 "ALWAYS_AVAILABLE_TOOLS" 常量的一部分,使其在所有模式下都可用
-
-## 结果格式指南
-
-结果消息应遵循以下指南:
-
-- 清晰地传达已完成的工作
-- 简洁但完整
-- 专注于为用户提供的价值
-- 避免不必要的客套或填充文本
-- 保持专业、直接的语气
-- 以易于浏览和理解的方式呈现信息
-- 确认用户可能会提供反馈以进行进一步优化
-
-注意:系统会通过 `removeClosingTag` 函数自动从结果文本中移除 XML 闭合标签。
-
-## 命令选择指南
-
-包含命令时,请遵循以下指南:
-
-- 选择能直观展示结果的命令
-- 优先选择能展示用户创建或修改内容的命令
-- 示例包括:
- * `open index.html` 展示创建的网站
- * `npm start` 启动开发服务器
- * `python app.py` 运行创建的应用程序
-- 避免仅打印文本的命令(如 `echo` 或 `cat`)
-- 记住命令在执行前需要用户批准
-- 确保命令适用于用户的操作系统
-
-## 反馈与 UI 表示
-
-`attempt_completion` 工具具有独特的反馈机制:
-
-- 结果以特殊的 "completion_result" UI 格式显示,不同于常规消息
-- 系统在呈现结果后等待用户反馈
-- 反馈被处理并返回给 Kilo Code 以进行进一步优化
-- 这创建了一个迭代改进周期,而不是结束对话
-- UI 包含用于提供反馈的特殊元素
-- 结果作为对话流程中的明确检查点
-
-用于子任务时:
-- 系统提供完成子任务并恢复父任务的选项
-- 如果批准,子任务将以摘要完成
-- 父任务在完成子任务的上下文中恢复
-- 这支持复杂、嵌套的工作流,同时保持上下文
-
-## 使用示例
-
-- 当创建网站时,Kilo Code 展示解决方案并使用 `open index.html` 展示结果。用户提供反馈,Kilo Code 优化设计。
-- 当实现功能时,Kilo Code 总结更改及其影响。用户请求额外的测试覆盖,Kilo Code 继续任务。
-- 当修复错误时,Kilo Code 解释修复内容以及解决方案如何解决根本原因。用户确认修复有效。
-- 当设置开发环境时,Kilo Code 确认所有组件已安装。用户请求额外配置,Kilo Code 继续。
-- 当创建数据处理脚本时,Kilo Code 总结功能。用户建议性能优化,Kilo Code 优化代码。
-
-## 使用示例
-
-仅使用结果摘要完成任务:
-```
-
-
-我已更新导航栏的 CSS 以匹配设计稿。更改包括:
-1. 更新配色方案以使用新的品牌颜色
-2. 为移动设备添加了响应式行为
-3. 修复了下拉菜单中的对齐问题
-
-
-```
-
-使用结果和演示命令完成任务:
-```
-
-
-我创建了一个简单的 React 应用程序,包含以下功能:
-1. 具有请求的英雄部分的响应式落地页
-2. 带有验证的工作联系表单
-3. 在请求的三个页面之间导航
-4. 匹配提供的设计稿的样式
-
-npm start
-
-```
-
-完成 Python 脚本任务并执行:
-```
-
-
-我创建了一个数据处理脚本,它:
-1. 从数据目录读取 CSV 文件
-2. 按要求清理和规范化数据
-3. 以 JSON 格式生成汇总统计
-4. 将处理后的数据输出到输出目录
-
-python process_data.py
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/browser-action.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/browser-action.md
deleted file mode 100644
index 0913d6f5ea5..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/browser-action.md
+++ /dev/null
@@ -1,158 +0,0 @@
-# browser_action
-
-`browser_action`工具通过Puppeteer控制的浏览器实现网页自动化交互。它允许Kilo Code启动浏览器、导航至网站、点击元素、输入文本、滚动页面,并通过截图提供可视化反馈。
-
-> **⚠️ 安全警告**
-> 使用此工具时请注意:
-> - 确保访问的网站安全可靠
-> - 避免在浏览器中执行未经验证的操作
-> - 谨慎处理敏感信息
-
-## 参数
-
-该工具接受以下参数:
-
-- `action` (必填): 要执行的操作:
- * `launch`: 在指定URL启动新浏览器会话
- * `click`: 在特定x,y坐标处点击
- * `type`: 通过键盘输入文本
- * `scroll_down`: 向下滚动一页高度
- * `scroll_up`: 向上滚动一页高度
- * `close`: 结束浏览器会话
-- `url` (可选): 使用`launch`操作时要导航的URL
-- `coordinate` (可选): `click`操作的x,y坐标(例如"450,300")
-- `text` (可选): 使用`type`操作时要输入的文本
-
-## 功能
-
-该工具创建一个自动化浏览器会话,Kilo Code可以通过它来导航网站、与元素交互,并执行需要浏览器自动化的任务。每个操作都会提供当前状态的截图,以便进行可视化验证。
-
-## 使用场景
-
-- 当Kilo Code需要与Web应用程序或网站交互时
-- 当测试用户界面或Web功能时
-- 当捕获网页截图时
-- 当演示Web工作流程时
-
-## 主要特性
-
-- 提供操作后的截图作为可视化反馈,并捕获控制台日志
-- 支持从启动到页面交互再到关闭的完整工作流程
-- 通过坐标、键盘输入和滚动实现精确交互
-- 通过智能页面加载检测保持一致的浏览器会话
-- 支持两种模式:本地(独立Puppeteer实例)或远程(连接现有Chrome)
-- 通过自动会话清理和详细消息优雅处理错误
-- 支持多种格式和质量设置的视觉输出优化
-- 通过位置指示器和操作历史跟踪交互状态
-
-## 浏览器模式
-
-该工具支持两种模式:
-
-### 本地浏览器模式(默认)
-- 通过Puppeteer下载并管理本地Chromium实例
-- 每次启动时创建全新的浏览器环境
-- 无法访问现有用户配置文件、cookies或扩展程序
-- 在沙箱环境中保持行为一致且可预测
-- 会话结束时完全关闭浏览器
-
-### 远程浏览器模式
-- 连接到已启用远程调试的现有Chrome/Chromium实例
-- 可以访问现有浏览器状态、cookies,可能还包括扩展程序
-- 由于重用现有浏览器进程,启动速度更快
-- 支持连接到Docker容器或远程机器上的浏览器
-- 会话结束时仅断开连接(不关闭浏览器)
-- 需要Chrome以远程调试端口运行(通常为9222端口)
-
-## 限制
-
-- 浏览器活动时,只能使用`browser_action`工具
-- 浏览器坐标是相对于视口的,而不是页面
-- 点击操作必须针对视口内的可见元素
-- 在使用其他工具之前必须显式关闭浏览器会话
-- 浏览器窗口有可配置的尺寸(默认900x600)
-- 无法直接与浏览器DevTools交互
-- 浏览器会话是临时的,在Kilo Code重启时不会保留
-- 仅支持Chrome/Chromium浏览器,不支持Firefox或Safari
-- 本地模式无法访问现有cookies;远程模式需要启用调试的Chrome
-
-## 工作原理
-
-当调用`browser_action`工具时,它会遵循以下流程:
-
-1. **操作验证和浏览器管理**:
- - 验证请求操作所需的参数
- - 对于`launch`:初始化浏览器会话(本地Puppeteer实例或远程Chrome)
- - 对于交互操作:使用现有浏览器会话
- - 对于`close`:适当地终止或断开浏览器连接
-
-2. **页面交互和稳定性**:
- - 使用`waitTillHTMLStable`算法通过DOM稳定性检测确保页面完全加载
- - 以适当的时间执行请求的操作(导航、点击、输入、滚动)
- - 监控点击后的网络活动,并在必要时等待导航
-
-3. **可视化反馈**:
- - 使用WebP格式(支持PNG回退)捕获优化截图
- - 记录浏览器控制台日志以进行调试
- - 跟踪鼠标位置并维护分页操作历史
-
-4. **会话管理**:
- - 跨多个操作维护浏览器状态
- - 处理错误并自动清理资源
- - 强制执行正确的工作流程顺序(启动→交互→关闭)
-
-## 工作流程顺序
-
-浏览器交互必须遵循以下特定顺序:
-
-1. **会话初始化**:所有浏览器工作流程必须以`launch`操作开始
-2. **交互阶段**:可以执行多个`click`、`type`和滚动操作
-3. **会话终止**:所有浏览器工作流程必须以`close`操作结束
-4. **工具切换**:关闭浏览器后,可以使用其他工具
-
-## 使用示例
-
-- 当创建Web表单提交过程时,Kilo Code启动浏览器,导航到表单,使用`type`操作填写字段,并点击提交。
-- 当测试响应式网站时,Kilo Code导航到网站并使用滚动操作检查不同部分。
-- 当捕获Web应用程序的截图时,Kilo Code导航到不同页面并在每一步截图。
-- 当演示电商结账流程时,Kilo Code模拟从产品选择到支付确认的整个过程。
-
-## 使用示例
-
-启动浏览器并导航到网站:
-```
-
-launch
-https://example.com
-
-```
-
-在特定坐标处点击(例如按钮):
-```
-
-click
-450,300
-
-```
-
-在聚焦的输入字段中输入文本:
-```
-
-type
-Hello, World!
-
-```
-
-向下滚动以查看更多内容:
-```
-
-scroll_down
-
-```
-
-关闭浏览器会话:
-```
-
-close
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/codebase-search.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/codebase-search.md
deleted file mode 100644
index 64308617473..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/codebase-search.md
+++ /dev/null
@@ -1,244 +0,0 @@
-# codebase_search
-
-:::info 需要设置
-`codebase_search` 工具是[代码库索引](/features/codebase-indexing)功能的一部分。它需要额外的设置,包括嵌入提供商和向量数据库。
-:::
-
-`codebase_search` 工具使用 AI 嵌入对整个代码库执行语义搜索。与传统的基于文本的搜索不同,它理解您查询的含义,即使关键字不完全匹配,也能找到相关代码。
-
----
-
-## 参数
-
-该工具接受以下参数:
-
-- `query`(必需):描述您要查找内容的自然语言搜索查询
-- `path`(可选):目录路径,用于将搜索范围限制在代码库的特定部分
-
----
-
-## 作用
-
-此工具通过语义相似性而不是精确文本匹配来搜索您的索引代码库。它会找到与您的查询概念相关的代码块,即使它们不包含您搜索的精确单词。结果包括相关的代码片段,以及文件路径、行号和相似度分数。
-
----
-
-## 何时使用?
-
-- 当 Kilo Code 需要在您的项目中查找与特定功能相关的代码时
-- 当查找实现模式或相似的代码结构时
-- 当搜索错误处理、身份验证或其他概念性代码模式时
-- 当探索不熟悉的代码库以了解功能如何实现时
-- 当查找可能受更改或重构影响的相关代码时
-
----
-
-## 主要功能
-
-- **语义理解**:通过含义查找代码,而不仅仅是关键字匹配
-- **跨项目搜索**:搜索整个索引代码库,而不仅仅是打开的文件
-- **上下文结果**:返回带有文件路径和行号的代码片段,便于导航
-- **相似度评分**:结果按相关性排序,并带有相似度分数(0-1 范围)
-- **范围过滤**:可选的路径参数,用于将搜索限制在特定目录
-- **智能排名**:结果按与您的查询的语义相关性排序
-- **UI 集成**:结果显示语法高亮和导航链接
-- **性能优化**:快速的基于向量的搜索,具有可配置的结果限制
-
----
-
-## 要求
-
-此工具仅在正确配置代码库索引功能时可用:
-
-- **功能已配置**:必须在设置中配置代码库索引
-- **嵌入提供商**:需要 OpenAI API 密钥或 Ollama 配置
-- **向量数据库**:Qdrant 实例正在运行且可访问
-- **索引状态**:代码库必须已索引(状态:“已索引”或“正在索引”)
-
----
-
-## 限制
-
-- **需要配置**:依赖于外部服务(嵌入提供商 + Qdrant)
-- **索引依赖**:仅搜索索引代码块
-- **结果限制**:每次搜索最多 50 个结果以保持性能
-- **相似度阈值**:仅返回高于相似度阈值的结果(默认:0.4,可配置)
-- **文件大小限制**:仅限于成功索引的 1MB 以下的文件
-- **语言支持**:有效性取决于 Tree-sitter 语言支持
-
----
-
-## 工作原理
-
-当调用 `codebase_search` 工具时,它遵循以下过程:
-
-1. **可用性验证**:
- - 验证 CodeIndexManager 是否可用并已初始化
- - 确认设置中已启用代码库索引
- - 检查索引是否已正确配置(API 密钥、Qdrant URL)
- - 验证当前索引状态是否允许搜索
-
-2. **查询处理**:
- - 获取您的自然语言查询并生成嵌入向量
- - 使用与索引配置相同的嵌入提供商(OpenAI 或 Ollama)
- - 将查询的语义含义转换为数学表示
-
-3. **向量搜索执行**:
- - 在 Qdrant 向量数据库中搜索相似的代码嵌入
- - 使用余弦相似度查找最相关的代码块
- - 应用最小相似度阈值(默认:0.4,可配置)以过滤结果
- - 将结果限制为 50 个匹配项以获得最佳性能
-
-4. **路径过滤**(如果指定):
- - 过滤结果以仅包含指定目录路径中的文件
- - 使用规范化路径比较进行准确过滤
- - 在过滤范围内保持相关性排名
-
-5. **结果处理和格式化**:
- - 将绝对文件路径转换为工作区相对路径
- - 使用文件路径、行范围、相似度分数和代码内容构建结果
- - 格式化以供 AI 消费和 UI 显示,并带有语法高亮
-
-6. **双重输出格式**:
- - **AI 输出**:带有查询、文件路径、分数和代码块的结构化文本格式
- - **UI 输出**:带有语法高亮和导航功能的 JSON 格式
-
----
-
-## 搜索查询最佳实践
-
-### 有效查询模式
-
-**好:概念性和具体性**
-```xml
-
-用户身份验证和密码验证
-
-```
-
-**好:以功能为中心**
-```xml
-
-数据库连接池设置
-
-```
-
-**好:面向问题**
-```xml
-
-API 请求的错误处理
-
-```
-
-**效果较差:过于通用**
-```xml
-
-函数
-
-```
-
-### 效果良好的查询类型
-
-- **功能描述**:“文件上传处理”、“电子邮件验证逻辑”
-- **技术模式**:“单例模式实现”、“工厂方法使用”
-- **领域概念**:“用户配置文件管理”、“支付处理工作流”
-- **架构组件**:“中间件配置”、“数据库迁移脚本”
-
----
-
-## 目录范围
-
-使用可选的 `path` 参数将搜索重点放在代码库的特定部分:
-
-**在 API 模块中搜索:**
-```xml
-
-端点验证中间件
-src/api
-
-```
-
-**在测试文件中搜索:**
-```xml
-
-模拟数据设置模式
-tests
-
-```
-
-**搜索特定功能目录:**
-```xml
-
-组件状态管理
-src/components/auth
-
-```
-
----
-
-## 结果解释
-
-### 相似度分数
-
-- **0.8-1.0**:高度相关的匹配,可能正是您要查找的内容
-- **0.6-0.8**:具有强烈概念相似性的良好匹配
-- **0.4-0.6**:可能相关但可能需要审查
-- **低于 0.4**:因过于不相似而被过滤掉
-
-### 结果结构
-
-每个搜索结果包括:
-- **文件路径**:包含匹配项的文件的相对于工作区的路径
-- **分数**:表示相关性的相似度分数(0.4-1.0)
-- **行范围**:代码块的起始和结束行号
-- **代码块**:与您的查询匹配的实际代码内容
-
----
-
-## 使用示例
-
-- 在实现新功能时,Kilo Code 搜索“身份验证中间件”以了解现有模式,然后才编写新代码。
-- 在调试问题时,Kilo Code 搜索“API 调用中的错误处理”以查找代码库中相关的错误模式。
-- 在重构代码时,Kilo Code 搜索“数据库事务模式”以确保所有数据库操作的一致性。
-- 在熟悉新代码库时,Kilo Code 搜索“配置加载”以了解应用程序如何启动。
-
----
-
-## 用法示例
-
-在整个项目中搜索与身份验证相关的代码:
-```xml
-
-用户登录和身份验证逻辑
-
-```
-
-在特定目录中查找与数据库相关的代码:
-```xml
-
-数据库连接和查询执行
-src/data
-
-```
-
-在 API 代码中查找错误处理模式:
-```xml
-
-HTTP 错误响应和异常处理
-src/api
-
-```
-
-搜索测试实用程序和模拟设置:
-```xml
-
-测试设置和模拟数据创建
-tests
-
-```
-
-查找配置和环境设置代码:
-```xml
-
-环境变量和应用程序配置
-
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/execute-command.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/execute-command.md
deleted file mode 100644
index 43313769262..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/execute-command.md
+++ /dev/null
@@ -1,153 +0,0 @@
-# execute_command
-
-`execute_command`工具用于在用户系统上执行CLI命令。它允许Kilo Code执行系统操作、安装依赖、构建项目、启动服务器以及执行其他基于终端的任务,以实现用户目标。
-
-## 参数
-
-该工具接受以下参数:
-
-- `command`(必填):要执行的CLI命令。必须对用户的操作系统有效。
-- `cwd`(可选):执行命令的工作目录。如果未提供,则使用当前工作目录。
-
-## 功能
-
-该工具直接在用户系统上执行终端命令,支持从文件操作到运行开发服务器等多种操作。命令在托管的终端实例中运行,并实时捕获输出,与VS Code的终端系统集成,以实现最佳性能和安全性。
-
-## 使用场景
-
-- 安装项目依赖(npm install, pip install等)
-- 构建或编译代码(make, npm run build等)
-- 启动开发服务器或运行应用程序
-- 初始化新项目(git init, npm init等)
-- 执行超出其他工具功能的文件操作
-- 运行测试或lint操作
-- 需要为特定技术执行专用命令
-
-## 关键特性
-
-- 与VS Code shell API集成,实现可靠的终端执行
-- 通过注册表系统尽可能重用终端实例
-- 实时捕获命令输出
-- 支持在后台持续运行的长时间命令
-- 允许指定自定义工作目录
-- 跨命令执行维护终端历史记录和状态
-- 处理适合用户shell的复杂命令链
-- 提供详细的命令完成状态和退出代码解释
-- 支持需要用户反馈的交互式终端应用
-- 执行期间显示终端以确保透明度
-- 使用shell-quote解析验证命令安全性
-- 阻止潜在危险的子shell执行模式
-- 与KiloCodeIgnore系统集成,控制文件访问权限
-- 处理终端转义序列以保持输出整洁
-
-## 限制
-
-- 命令访问可能受KiloCodeIgnore规则和安全验证限制
-- 需要提升权限的命令可能需要用户配置
-- 某些命令的行为可能因操作系统而异
-- 长时间运行的命令可能需要特殊处理
-- 文件路径应根据OS shell规则正确转义
-- 在远程开发场景中,并非所有终端功能都可用
-
-## 工作原理
-
-当调用`execute_command`工具时,它遵循以下流程:
-
-1. **命令验证和安全检查**:
- - 使用shell-quote解析命令以识别组件
- - 根据安全限制(子shell使用、受限文件)进行验证
- - 检查KiloCodeIgnore规则以确定文件访问权限
- - 确保命令符合系统安全要求
-
-2. **终端管理**:
- - 通过TerminalRegistry获取或创建终端
- - 设置工作目录上下文
- - 准备输出捕获的事件监听器
- - 显示终端以便用户可见
-
-3. **命令执行和监控**:
- - 通过VS Code的shellIntegration API执行
- - 捕获并处理转义序列的输出
- - 限制输出处理间隔(100ms)
- - 监控命令完成或错误
- - 检测"热"进程(如编译器)以进行特殊处理
-
-4. **结果处理**:
- - 去除ANSI/VS Code转义序列以保持输出整洁
- - 解释退出代码并提供详细的信号信息
- - 如果命令改变了工作目录,则更新跟踪
- - 提供带有适当上下文的命令状态
-
-## 终端实现细节
-
-该工具使用复杂的终端管理系统:
-
-1. **优先复用终端**:
- - TerminalRegistry尽可能复用现有终端
- - 减少终端实例数量并提高性能
- - 跨命令执行保留终端状态(工作目录、历史记录)
-
-2. **安全验证**:
- - 使用shell-quote解析命令以进行组件分析
- - 阻止`$(...)`和反引号等危险模式
- - 根据KiloCodeIgnore规则检查命令的文件访问控制
- - 使用前缀允许列表系统验证命令模式
-
-3. **性能优化**:
- - 以100ms节流间隔处理输出,防止UI过载
- - 使用基于索引的零拷贝缓冲区管理以提高效率
- - 对编译和"热"进程进行特殊处理
- - 针对Windows PowerShell进行平台特定优化
-
-4. **错误和信号处理**:
- - 将退出代码映射到详细的信号信息(SIGTERM, SIGKILL等)
- - 检测核心转储以识别关键故障
- - 自动跟踪和处理工作目录变更
- - 从终端断开连接场景中优雅恢复
-
-## 使用示例
-
-- 设置新项目时,Kilo Code运行初始化命令,如`npm init -y`,然后安装依赖。
-- 构建Web应用时,Kilo Code执行构建命令,如`npm run build`以编译资源。
-- 部署代码时,Kilo Code运行git命令以提交和推送更改到仓库。
-- 故障排除时,Kilo Code执行诊断命令以收集系统信息。
-- 启动开发服务器时,Kilo Code运行适当的服务器命令(如`npm start`)。
-- 运行测试时,Kilo Code执行项目测试框架的测试运行命令。
-
-## 用法示例
-
-在当前目录中运行简单命令:
-```
-
-npm run dev
-
-```
-
-安装项目依赖:
-```
-
-npm install express mongodb mongoose dotenv
-
-```
-
-依次运行多个命令:
-```
-
-mkdir -p src/components && touch src/components/App.js
-
-```
-
-在特定目录中执行命令:
-```
-
-git status
-./my-project
-
-```
-
-构建并启动项目:
-```
-
-npm run build && npm start
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/list-code-definition-names.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/list-code-definition-names.md
deleted file mode 100644
index f99c0dbdf1f..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/list-code-definition-names.md
+++ /dev/null
@@ -1,116 +0,0 @@
-# list_code_definition_names
-
-`list_code_definition_names` 工具通过列出指定目录顶层源代码文件中的代码定义,为您的代码库提供结构化概览。它通过显示行号和定义片段,帮助 Kilo Code 理解代码架构。
-
-## 参数
-
-该工具接受以下参数:
-
-- `path`(必填):要列出顶层源代码定义的目录路径,相对于当前工作目录
-
-## 功能
-
-该工具扫描指定目录顶层的源代码文件,并提取类、函数和接口等代码定义。它显示每个定义的行号和实际代码,以便快速映射代码库的重要组件。
-
-## 使用场景
-
-- 当 Kilo Code 需要快速理解您的代码库架构时
-- 当 Kilo Code 需要定位多个文件中的重要代码结构时
-- 在计划重构或扩展现有代码时
-- 在使用其他工具深入研究实现细节之前
-- 在识别代码库不同部分之间的关系时
-
-## 主要特性
-
-- 从源代码文件中提取类、函数、方法、接口等定义
-- 显示每个定义的行号和实际源代码
-- 支持多种编程语言,包括 JavaScript、TypeScript、Python、Rust、Go、C++、C、C#、Ruby、Java、PHP、Swift 和 Kotlin
-- 仅处理指定目录顶层的文件(不包括子目录)
-- 为提升性能,最多处理 50 个文件
-- 专注于顶层定义,避免过多细节
-- 帮助识别项目中的代码组织模式
-- 创建代码库架构的思维导图
-- 与其他工具(如 `read_file`)结合使用,进行更深入的分析
-
-## 限制
-
-- 仅识别顶层定义,不包括嵌套定义
-- 仅处理指定目录顶层的文件,不包括子目录
-- 每次请求最多处理 50 个文件
-- 依赖于语言特定的解析器,检测质量可能有所不同
-- 对于语法复杂的语言,可能无法识别所有定义
-- 不能替代阅读代码以了解实现细节
-- 无法检测运行时模式或动态代码关系
-- 不提供有关定义使用情况的信息
-- 对于高度动态或元编程的代码,准确性可能降低
-- 仅限于 Tree-sitter 解析器支持的语言
-
-## 工作原理
-
-当调用 `list_code_definitions_names` 工具时,它会遵循以下流程:
-
-1. **参数验证**:验证必填的 `path` 参数
-2. **路径解析**:将相对路径解析为绝对路径
-3. **目录扫描**:仅扫描指定目录顶层的源代码文件(非递归)
-4. **文件过滤**:最多处理 50 个文件
-5. **语言检测**:根据文件扩展名识别文件类型(.js、.jsx、.ts、.tsx、.py、.rs、.go、.cpp、.hpp、.c、.h、.cs、.rb、.java、.php、.swift、.kt、.kts)
-6. **代码解析**:使用 Tree-sitter 解析代码并通过以下步骤提取定义:
- - 将文件内容解析为抽象语法树 (AST)
- - 使用语言特定的查询字符串创建查询
- - 按文件中的位置对捕获进行排序
-7. **结果格式化**:输出定义及其行号和实际源代码
-
-## 输出格式
-
-输出显示文件路径,后跟定义的行号和实际源代码。例如:
-
-```
-src/utils.js:
-0--0 | export class HttpClient {
-5--5 | formatDate() {
-10--10 | function parseConfig(data) {
-
-src/models/User.js:
-0--0 | interface UserProfile {
-10--10 | export class User {
-20--20 | function createUser(data) {
-```
-
-每行显示:
-- 定义的起始和结束行号
-- 分隔符(|)
-- 定义的实际源代码
-
-这种输出格式帮助您快速查看定义在文件中的位置及其实现细节。
-
-## 使用示例
-
-- 当开始新任务时,Kilo Code 首先列出关键代码定义以了解项目的整体结构。
-- 当计划重构工作时,Kilo Code 使用此工具识别可能受影响的类和函数。
-- 在探索不熟悉的代码库时,Kilo Code 在深入研究实现细节之前映射重要代码结构。
-- 当添加新功能时,Kilo Code 识别现有模式和相关的代码定义以保持一致性。
-- 当排查错误时,Kilo Code 映射代码库结构以定位问题的潜在来源。
-- 当计划架构更改时,Kilo Code 识别所有受影响的组件。
-
-## 用法示例
-
-列出当前目录中的代码定义:
-```
-
-.
-
-```
-
-检查特定模块的结构:
-```
-
-src/components
-
-```
-
-探索工具库:
-```
-
-lib/utils
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/list-files.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/list-files.md
deleted file mode 100644
index 699079b9be8..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/list-files.md
+++ /dev/null
@@ -1,132 +0,0 @@
-# list_files
-
-`list_files` 工具显示指定位置中的文件和目录。它帮助 Kilo Code 理解您的项目结构并有效地导航代码库。
-
-## 参数
-
-该工具接受以下参数:
-
-- `path`(必填):要列出内容的目录路径,相对于当前工作目录
-- `recursive`(可选):是否递归列出文件。使用 `true` 进行递归列出,`false` 或省略则仅列出顶层内容。
-
-## 功能
-
-该工具列出指定位置中的所有文件和目录,提供项目结构的清晰概览。它可以仅显示顶层内容,也可以递归探索子目录。
-
-## 使用场景
-
-- 当 Kilo Code 需要理解您的项目结构时
-- 当 Kilo Code 在读取特定文件之前探索可用文件时
-- 当 Kilo Code 映射代码库以更好地理解其组织方式时
-- 在使用更针对性的工具(如 `read_file` 或 `search_files`)之前
-- 当 Kilo Code 需要检查项目中特定类型的文件(如配置文件)时
-
-## 主要特性
-
-- 列出文件和目录,并明确标记目录
-- 提供递归和非递归两种列出模式
-- 在递归模式下,智能忽略常见的大型目录(如 `node_modules` 和 `.git`)
-- 在递归模式下,遵循 `.gitignore` 规则
-- 当启用 `showKiloCodeIgnoredFiles` 时,用锁符号(🔒)标记被 `.kilocodeignore` 忽略的文件
-- 通过逐级目录遍历优化性能
-- 排序结果,先显示目录及其内容,保持逻辑层次结构
-- 以干净、有组织的方式呈现结果
-- 自动创建项目结构的思维导图
-
-## 限制
-
-- 默认情况下,文件列出上限约为 200 个,以防止性能问题
-- 目录遍历有 10 秒的超时限制,以防止在复杂目录结构中挂起
-- 当达到文件限制时,会添加注释建议对特定子目录使用 `list_files`
-- 不能用于确认您刚刚创建的文件是否存在
-- 在非常大的目录结构中,性能可能降低
-- 出于安全原因,无法列出根目录或主目录中的文件
-
-## 工作原理
-
-当调用 `list_files` 工具时,它会遵循以下流程:
-
-1. **参数验证**:验证必填的 `path` 参数和可选的 `recursive` 参数
-2. **路径解析**:将相对路径解析为绝对路径
-3. **安全检查**:防止列出根目录或主目录等敏感位置中的文件
-4. **目录扫描**:
- - 对于非递归模式:仅列出顶层内容
- - 对于递归模式:逐级遍历目录结构,超时时间为 10 秒
- - 如果超时,则返回已收集的部分结果
-5. **结果过滤**:
- - 在递归模式下,跳过常见的大型目录,如 `node_modules`、`.git` 等
- - 在递归模式下,遵循 `.gitignore` 规则
- - 处理 `.kilocodeignore` 规则,要么隐藏文件,要么用锁符号标记
-6. **格式化**:
- - 用斜杠(`/`)标记目录
- - 排序结果,先显示目录及其内容,保持逻辑层次结构
- - 当启用 `showKiloCodeIgnored` 时,用锁符号(🔒)标记被忽略的文件
- - 默认情况下,结果上限为 200 个文件,并提示使用子目录
- - 组织结果以提高可读性
-
-## 文件列出格式
-
-文件列出结果包括:
-
-- 每个文件路径显示在其自己的行上
-- 目录用斜杠(`/`)标记
-- 当启用 `showKiloCodeIgnored` 时,被 `.kilocodeignore` 忽略的文件用锁符号(🔒)标记
-- 结果按逻辑排序,先显示目录及其内容
-- 当达到文件限制时,会出现一条消息,建议对特定子目录使用 `list_files`
-
-示例输出格式:
-```
-src/
-src/components/
-src/components/Button.tsx
-src/components/Header.tsx
-src/utils/
-src/utils/helpers.ts
-src/index.ts
-...
-文件列出已截断(显示 200 个文件中的 543 个)。请对特定子目录使用 list_files 以获取更多详细信息。
-```
-
-当使用 `.kilocodeignore` 文件并启用 `showKiloCodeIgnored` 时:
-```
-src/
-src/components/
-src/components/Button.tsx
-src/components/Header.tsx
-🔒 src/secrets.json
-src/utils/
-src/utils/helpers.ts
-src/index.ts
-```
-
-## 使用示例
-
-- 当开始新任务时,Kilo Code 可能会列出项目文件以了解其结构,然后再深入研究特定代码。
-- 当被要求查找特定类型的文件(如所有 JavaScript 文件)时,Kilo Code 首先列出目录以知道在哪里查找。
-- 当提供代码组织建议时,Kilo Code 首先检查当前项目结构。
-- 当设置新功能时,Kilo Code 列出相关目录以了解项目约定。
-
-## 用法示例
-
-列出当前目录中的顶层文件:
-```
-
-.
-
-```
-
-递归列出源目录中的所有文件:
-```
-
-src
-true
-
-```
-
-检查特定项目的子目录:
-```
-
-src/components
-false
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/new-task.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/new-task.md
deleted file mode 100644
index c718b2cf33b..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/new-task.md
+++ /dev/null
@@ -1,103 +0,0 @@
-# new_task
-
-`new_task` 工具创建具有专用模式的子任务,同时维护父子关系。它将复杂项目分解为可管理的部分,每个部分在最适合特定工作的模式下运行。
-
-## 参数
-
-该工具接受以下参数:
-
-- `mode`(必填):要启动新任务的模式的 slug(例如,"code"、"ask"、"architect")
-- `message`(必填):此新任务的初始用户消息或指令
-
-## 功能
-
-该工具创建一个具有指定启动模式和初始消息的新任务实例。它允许将复杂的工作流划分为具有自己对话历史的子任务。父任务在子任务执行期间暂停,并在子任务完成时恢复,结果传递回父任务。
-
-## 使用场景
-
-- 当将复杂项目分解为独立的、专注的子任务时
-- 当任务的不同方面需要不同的专用模式时
-- 当工作的不同阶段受益于上下文分离时
-- 当组织多阶段开发工作流时
-
-## 主要特性
-
-- 创建具有自己对话历史和专用模式的子任务
-- 暂停父任务以便稍后恢复
-- 维护分层任务关系以便导航
-- 在完成后将结果传递回父任务
-- 支持复杂项目的工作流隔离
-- 允许项目的不同部分使用针对特定工作优化的模式
-- 需要用户明确批准任务创建
-- 在 UI 中提供清晰的任务过渡
-
-## 限制
-
-- 无法创建不存在的模式的任务
-- 创建每个新任务前需要用户批准
-- 任务界面在深度嵌套子任务时可能变得复杂
-- 子任务从父任务继承某些工作区和扩展配置
-- 在切换深度嵌套任务时可能需要重新建立上下文
-- 任务完成需要明确信号以正确返回到父任务
-
-## 工作原理
-
-当调用 `new_task` 工具时,它会遵循以下流程:
-
-1. **参数验证**:
- - 验证必填的 `mode` 和 `message` 参数
- - 确认请求的模式存在于系统中
-
-2. **任务栈管理**:
- - 维护一个任务栈以跟踪所有活动任务和暂停任务
- - 保留当前模式以便稍后恢复
- - 将父任务设置为暂停状态
-
-3. **任务上下文管理**:
- - 使用提供的消息创建新的任务上下文
- - 分配唯一的 taskId 和 instanceId 标识符以进行状态管理
- - 捕获有关工具使用和任务生命周期的遥测数据
-
-4. **模式切换和集成**:
- - 切换到指定模式,并应用相应的角色和能力
- - 使用提供的消息初始化新任务
- - 与 VS Code 的命令面板和代码操作集成
-
-5. **任务完成和结果传递**:
- - 当子任务完成时,结果通过 `finishSubTask()` 传递回父任务
- - 父任务恢复其原始模式
- - 更新任务历史和令牌使用指标
- - 发出 `taskCompleted` 事件并附带性能数据
-
-## 使用示例
-
-- 当前端开发人员需要架构新功能、实现代码并编写文档时,他们可以为每个阶段创建单独的任务,结果从一个阶段传递到下一个阶段。
-- 在调试问题并实施修复之前,调试任务可以记录发现的结果,并将其传递给实施任务。
-- 在开发全栈应用程序时,来自架构模式任务的数据库模式设计会告知后续代码模式任务的实施细节。
-- 在实施完成后编写系统文档时,文档任务可以参考已完成的实施,同时使用文档专用功能。
-
-## 用法示例
-
-在代码模式中创建新任务:
-```
-
-code
-实现具有登录、注册和密码重置功能的用户身份验证服务。
-
-```
-
-在完成实施后创建文档任务:
-```
-
-docs
-为我们刚刚构建的身份验证服务创建全面的 API 文档。
-
-```
-
-将复杂功能分解为架构规划和实施:
-```
-
-architect
-为我们新的电子商务平台设计数据库模式和系统架构。
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/read-file.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/read-file.md
deleted file mode 100644
index 304b16fbca0..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/read-file.md
+++ /dev/null
@@ -1,180 +0,0 @@
-# read_file
-
-`read_file`工具用于读取项目中的文件内容。它允许 Kilo Code 理解代码、配置文件和文档,以提供更好的协助。
-
-## 参数
-
-该工具接受以下参数:
-
-- `path`(必需):要读取的文件路径(相对于当前工作目录)
-- `start_line`(可选):开始读取的行号(从1开始)
-- `end_line`(可选):结束读取的行号(从1开始,包含该行)
-- `auto_truncate`(可选):当未指定行范围时,是否自动截断大文件(true/false)
-
-## 功能
-
-该工具读取指定文件的内容并返回带行号的结果,便于参考。它可以读取整个文件或特定部分,甚至能从PDF和Word文档中提取文本。
-
-## 使用场景
-
-- 当 Kilo Code 需要理解现有代码结构时
-- 当 Kilo Code 需要分析配置文件时
-- 当 Kilo Code 需要从文本文件中提取信息时
-- 当 Kilo Code 在建议更改前需要查看代码时
-- 当需要在讨论中引用特定行号时
-
-## 主要特性
-
-- 显示带行号的文件内容,便于参考
-- 通过指定行范围读取文件的特定部分
-- 从PDF和DOCX文件中提取可读文本
-- 智能截断大文件以聚焦最相关部分
-- 为大型代码文件提供带行范围的方法摘要
-- 高效流式传输请求的行范围以获得更好性能
-- 便于通过行号讨论代码的特定部分
-
-## 限制
-
-- 如果不使用行范围参数,可能无法高效处理极大的文件
-- 对于二进制文件(除PDF和DOCX外),可能返回非人类可读的内容
-
-## 工作原理
-
-当调用`read_file`工具时,它遵循以下流程:
-
-1. **参数验证**:验证必需的`path`参数和可选参数
-2. **路径解析**:将相对路径解析为绝对路径
-3. **读取策略选择**:
- - 工具使用严格的优先级层次(下文详细说明)
- - 在范围读取、自动截断或完整文件读取之间选择
-4. **内容处理**:
- - 为内容添加行号(例如"1 | const x = 13")
- - 对于截断文件,添加截断通知和方法定义
- - 对于特殊格式(PDF、DOCX、IPYNB),提取可读文本
-
-## 读取策略优先级
-
-工具使用明确的决策层次来确定如何读取文件:
-
-1. **第一优先级:显式行范围**
- - 如果提供了`start_line`或`end_line`,工具始终执行范围读取
- - 实现高效流式传输仅请求的行,适合处理大文件
- - 此选项优先于所有其他选项
-
-2. **第二优先级:大文件自动截断**
- - 仅在满足以下所有条件时应用:
- - 未指定`start_line`或`end_line`
- - `auto_truncate`参数设为`true`
- - 文件不是二进制文件
- - 文件超过配置的行阈值(通常500-1000行)
- - 当自动截断激活时,工具:
- - 仅读取文件开头部分(由maxReadFileLine设置决定)
- - 添加截断通知显示已显示行数与总行数
- - 提供带行范围的方法定义摘要
-
-3. **默认行为:读取整个文件**
- - 如果不符合上述条件,则读取整个文件内容
- - 对于PDF、DOCX和IPYNB等特殊格式,使用专用提取器
-
-## 使用示例
-
-- 当要求解释或改进代码时,Kilo Code 首先读取相关文件以理解当前实现
-- 当排查配置问题时,Kilo Code 读取配置文件以识别潜在问题
-- 当处理文档时,Kilo Code 读取现有文档以理解当前内容再建议改进
-
-## 用法示例
-
-以下是几个展示`read_file`工具如何使用及可能收到的典型输出场景。
-
-### 读取整个文件
-
-读取文件的完整内容:
-
-**输入:**
-```xml
-
-src/app.js
-
-```
-
-**模拟输出(小文件如`example_small.txt`):**
-```
-1 | This is the first line.
-2 | This is the second line.
-3 | This is the third line.
-```
-*(输出会根据实际文件内容而变化)*
-
-### 读取特定行
-
-仅读取特定行范围(例如46-68行):
-
-**输入:**
-```xml
-
-src/app.js
-46
-68
-
-```
-
-**模拟输出(`example_five_lines.txt`的2-3行):**
-```
-2 | Content of line two.
-3 | Content of line three.
-```
-*(输出仅显示请求的行及其原始行号)*
-
-### 读取大文件(自动截断)
-
-当读取大文件且未指定行范围,且`auto_truncate`启用时(或根据设置默认为true):
-
-**输入:**
-```xml
-
-src/large-module.js
-true
-
-```
-
-**模拟输出(`large_file.log`有1500行,限制1000行):**
-```
-1 | Log entry 1...
-2 | Log entry 2...
-...
-1000 | Log entry 1000...
-[... truncated 500 lines ...]
-```
-*(输出限制为配置的最大行数,并带有截断通知)*
-
-### 尝试读取不存在的文件
-
-如果指定文件不存在:
-
-**输入:**
-```xml
-
-non_existent_file.txt
-
-```
-
-**模拟输出(错误):**
-```
-Error: File not found at path 'non_existent_file.txt'.
-```
-
-### 尝试读取被阻止的文件
-
-如果文件被`.kilocodeignore`规则排除:
-
-**输入:**
-```xml
-
-.env
-
-```
-
-**模拟输出(错误):**
-```
-Error: Access denied to file '.env' due to .kilocodeignore rules.
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/search-files.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/search-files.md
deleted file mode 100644
index af131254cac..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/search-files.md
+++ /dev/null
@@ -1,127 +0,0 @@
-# search_files
-
-`search_files` 工具可以在你的项目中跨多个文件执行正则表达式搜索。它帮助 Kilo Code 在代码库中定位特定的代码模式、文本或其他内容,并提供上下文的搜索结果。
-
-## 参数
-
-该工具接受以下参数:
-
-- `path`(必填):要搜索的目录路径,相对于当前工作目录
-- `regex`(必填):要搜索的正则表达式模式(使用 Rust 正则表达式语法)
-- `file_pattern`(可选):用于过滤文件的 glob 模式(例如,'*.ts' 表示仅搜索 TypeScript 文件)
-
-## 功能
-
-该工具使用正则表达式在指定目录中跨文件搜索,显示每个匹配项及其上下文。它就像一个强大的“在文件中查找”功能,适用于整个项目结构。
-
-## 使用场景
-
-- 当 Kilo Code 需要查找特定函数或变量的使用位置时
-- 当 Kilo Code 协助重构并需要了解使用模式时
-- 当 Kilo Code 需要定位特定代码模式的所有实例时
-- 当 Kilo Code 需要在多个文件中搜索文本并具有过滤功能时
-
-## 主要特性
-
-- 使用高性能的 Ripgrep 在多个文件中进行搜索
-- 显示每个匹配项的上下文(前后各 1 行)
-- 使用 glob 模式按文件类型过滤(例如,仅 TypeScript 文件)
-- 提供行号以便参考
-- 使用强大的正则表达式模式进行精确搜索
-- 自动限制输出为 300 个结果并通知
-- 截断超过 500 个字符的行并标记为“[truncated...]”
-- 智能地将附近的匹配项合并为单个块以提高可读性
-
-## 限制
-
-- 最适合文本文件(对图像等二进制文件无效)
-- 在非常大的代码库中性能可能会下降
-- 使用 Rust 正则表达式语法,可能与其他正则表达式实现略有不同
-- 无法在压缩文件或存档中搜索
-- 默认上下文大小固定(前后各 1 行)
-- 由于结果分组,当匹配项接近时可能会显示不同的上下文大小
-
-## 工作原理
-
-当调用 `search_files` 工具时,它会遵循以下流程:
-
-1. **参数验证**:验证必需的 `path` 和 `regex` 参数
-2. **路径解析**:将相对路径解析为绝对路径
-3. **搜索执行**:
- - 使用 Ripgrep (rg) 进行高性能文本搜索
- - 如果指定了文件模式,则应用过滤
- - 收集匹配项及其上下文
-4. **结果格式化**:
- - 格式化结果,包括文件路径、行号和上下文
- - 显示每个匹配项前后各 1 行的上下文
- - 结构化输出以便于阅读
- - 将结果限制为最多 300 个匹配项并通知
- - 截断超过 500 个字符的行
- - 将附近的匹配项合并为连续块
-
-## 搜索结果格式
-
-搜索结果包括:
-
-- 每个匹配文件的相对路径(前缀为 #)
-- 每个匹配项前后的上下文行(默认为 1 行)
-- 行号填充为 3 个空格,后跟 ` | ` 和行内容
-- 每个匹配组后跟分隔线(----)
-
-示例输出格式:
-```
-# rel/path/to/app.ts
- 11 | // 一些处理逻辑
- 12 | // TODO: 实现错误处理
- 13 | return processedData;
-----
-
-# 显示 300 多个结果中的前 300 个。如有必要,请使用更具体的搜索。
-```
-
-当匹配项彼此接近时,它们会合并为单个块而不是显示为单独的结果:
-
-```
-# rel/path/to/auth.ts
- 13 | // 一些代码
- 14 | // TODO: 添加适当的验证
- 15 | function validateUser(credentials) {
- 16 | // TODO: 实现速率限制
- 17 | return checkDatabase(credentials);
-----
-```
-
-## 使用示例
-
-- 当要求重构函数时,Kilo Code 首先搜索该函数的所有使用位置,以确保全面更改。
-- 在调查错误时,Kilo Code 搜索相似模式以识别代码库中相关的错误。
-- 在处理技术债务时,Kilo Code 查找项目中所有 TODO 注释。
-- 在分析依赖项时,Kilo Code 查找特定模块的所有导入。
-
-## 用法示例
-
-在所有 JavaScript 文件中搜索 TODO 注释:
-```
-
-src
-TODO|FIXME
-*.js
-
-```
-
-查找特定函数的所有使用位置:
-```
-
-.
-function\s+calculateTotal
-*.{js,ts}
-
-```
-
-在整个项目中搜索特定的导入模式:
-```
-
-.
-import\s+.*\s+from\s+['"]@components/
-
-```
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/switch-mode.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/switch-mode.md
deleted file mode 100644
index acf9d97d081..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/switch-mode.md
+++ /dev/null
@@ -1,151 +0,0 @@
-# switch_mode
-
-`switch_mode` 工具使 Kilo Code 能够在不同操作模式之间切换,每种模式都具有针对特定任务类型的专业能力。当当前任务需要不同的专业知识时,可以无缝切换到 Code、Architect、Ask 或 Debug 模式。
-
-## 参数
-
-该工具接受以下参数:
-
-- `mode_slug`(必填):要切换到的模式标识符(例如 "code"、"ask"、"architect")
-- `reason`(可选):切换模式的原因,为用户提供上下文
-
-## 功能
-
-该工具在当当前任务更适合由其他模式处理时请求模式切换。它在切换过程中保持上下文,同时调整 Kilo Code 的焦点和可用工具集,以匹配新任务阶段的需求。
-
-## 使用场景
-
-- 从信息收集过渡到代码实现时
-- 从编码切换到架构或设计时
-- 当前任务需要仅在另一个模式中可用的功能时
-- 复杂项目的特定阶段需要专业知识时
-
-## 主要特性
-
-- 在模式切换过程中保持上下文连续性
-- 为模式切换提供清晰的推理
-- 需要用户批准所有模式更改
-- 强制执行特定模式的工具组限制
-- 根据所选模式无缝调整工具可用性
-- 适用于标准和自定义模式
-- 在 UI 中显示模式切换和原因
-- 使用 XML 格式指定参数
-- 强制执行某些模式的文件类型限制
-
-## 限制
-
-- 无法切换到系统中不存在的模式
-- 每次模式转换都需要用户明确批准
-- 在切换完成前无法使用特定模式的工具
-- 模式切换后应用 500ms 的延迟以确保更改生效
-- 某些模式有文件类型限制(例如 Architect 模式只能编辑 markdown 文件)
-- 模式保存仅适用于 `new_task` 功能,不适用于一般模式切换
-
-## 工作原理
-
-当调用 `switch_mode` 工具时,它会遵循以下流程:
-
-1. **请求验证**:
- - 验证请求的模式是否存在于系统中
- - 检查是否提供了 `mode_slug` 参数且有效
- - 确认用户尚未处于请求的模式
- - 确保 `reason` 参数(如果提供)格式正确
-
-2. **模式切换准备**:
- - 将模式更改请求与提供的原因打包
- - 向用户展示更改请求以获取批准
-
-3. **模式激活(用户批准后)**:
- - 更新 UI 以反映新模式
- - 根据模式的工具组配置调整可用工具
- - 应用模式特定的提示和行为
- - 应用 500ms 延迟以确保更改生效再执行下一个工具
- - 强制执行模式特定的文件限制
-
-4. **继续执行**:
- - 使用新模式的功能继续任务
- - 保留之前交互的相关上下文
-
-## 工具组关联
-
-`switch_mode` 工具属于 "modes" 工具组,但也包含在 "always available" 工具列表中。这意味着:
-
-- 它可以在任何模式下使用,不受模式配置的工具组限制
-- 它与 `ask_followup_question` 和 `attempt_completion` 等核心工具一起可用
-- 它允许在工作流的任何阶段进行模式切换,以适应任务需求的变化
-
-## 模式结构
-
-系统中的每个模式都有特定的结构:
-
-- `slug`:模式的唯一标识符(例如 "code"、"ask")
-- `name`:模式的显示名称(例如 "Code"、"Ask")
-- `roleDefinition`:模式的专业角色和能力
-- `customInstructions`:可选的模式特定指令,用于指导行为
-- `groups`:模式可用的工具组,可设置限制
-
-## 模式能力
-
-核心模式提供以下专业能力:
-
-- **Code 模式**:专注于编码任务,完全访问代码编辑工具
-- **Architect 模式**:专用于系统设计和架构规划,仅限于编辑 markdown 文件
-- **Ask 模式**:优化用于回答问题并提供信息
-- **Debug 模式**:配备用于系统问题诊断和解决
-
-## 自定义模式
-
-除了核心模式外,系统还支持特定项目的自定义模式:
-
-- 可以定义具有特定工具组启用的自定义模式
-- 可以指定自定义角色定义和指令
-- 系统会先检查自定义模式,然后再回退到核心模式
-- 自定义模式定义优先于具有相同标识符的核心模式
-
-## 文件限制
-
-不同的模式可能有特定的文件类型限制:
-
-- **Architect 模式**:只能编辑扩展名为 `.md` 的文件
-- 尝试编辑受限制的文件类型会导致 `FileRestrictionError`
-- 这些限制有助于在模式之间强制执行适当的关注点分离
-
-## 使用示例
-
-- 讨论新功能时,Kilo Code 从 Ask 模式切换到 Architect 模式以帮助设计系统结构。
-- 在 Architect 模式中完成架构规划后,Kilo Code 切换到 Code 模式以实现设计的功能。
-- 在开发过程中遇到错误时,Kilo Code 从 Code 模式切换到 Debug 模式进行系统问题排查。
-
-## 使用示例
-
-切换到 Code 模式进行实现:
-```
-
-code
-需要基于我们讨论的架构实现登录功能
-
-```
-
-切换到 Architect 模式进行设计:
-```
-
-architect
-需要在实现前设计系统架构
-
-```
-
-切换到 Debug 模式进行问题排查:
-```
-
-debug
-需要系统诊断认证错误
-
-```
-
-切换到 Ask 模式获取信息:
-```
-
-ask
-需要回答关于已实现功能的问题
-
-```
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/tool-use-overview.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/tool-use-overview.md
deleted file mode 100644
index c237fb446bb..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/tool-use-overview.md
+++ /dev/null
@@ -1,246 +0,0 @@
-# 工具使用概述
-
-Kilo Code 实现了一个复杂的工具系统,允许 AI 模型以受控和安全的方式与你的开发环境交互。本文档解释了工具的工作原理、调用时机和管理方式。
-
-## 核心概念
-
-### 工具分组
-
-工具根据功能分为逻辑组:
-
-| 类别 | 用途 | 工具 | 常见用途 |
-|----------|---------|-------|------------|
-| **读取组** | 文件系统读取和搜索 | [read_file](/features/tools/read-file), [search_files](/features/tools/search-files), [list_files](/features/tools/list-files), [list_code_definition_names](/features/tools/list-code-definition-names) | 代码探索和分析 |
-| **编辑组** | 文件系统修改 | [apply_diff](/features/tools/apply-diff), [write_to_file](/features/tools/write-to-file) | 代码更改和文件操作 |
-| **浏览器组** | 网页自动化 | [browser_action](/features/tools/browser-action) | 网页测试和交互 |
-| **命令组** | 系统命令执行 | [execute_command](/features/tools/execute-command) | 运行脚本、构建项目 |
-| **MCP组** | 外部工具集成 | [use_mcp_tool](/features/tools/use-mcp-tool), [access_mcp_resource](/features/tools/access-mcp-resource) | 通过外部服务器实现专门功能 |
-| **工作流组** | 模式和任务管理 | [switch_mode](/features/tools/switch-mode), [new_task](/features/tools/new-task), [ask_followup_question](/features/tools/ask-followup-question), [attempt_completion](/features/tools/attempt-completion) | 上下文切换和任务组织 |
-
-### 始终可用的工具
-
-某些工具在任何模式下都可访问:
-
-- [ask_followup_question](/features/tools/ask-followup-question):从用户处收集额外信息
-- [attempt_completion](/features/tools/attempt-completion):标记任务完成
-- [switch_mode](/features/tools/switch-mode):更改操作模式
-- [new_task](/features/tools/new-task):创建子任务
-- [update_todo_list](/features/tools/update-todo-list):管理分步任务跟踪
-
-## 可用工具
-
-### 读取工具
-这些工具帮助 Kilo Code 理解你的代码和项目:
-
-- [read_file](/features/tools/read-file) - 检查文件内容
-- [search_files](/features/tools/search-files) - 跨多个文件查找模式
-- [list_files](/features/tools/list-files) - 映射项目文件结构
-- [list_code_definition_names](/features/tools/list-code-definition-names) - 创建代码结构图
-
-### 编辑工具
-这些工具帮助 Kilo Code 修改你的代码:
-
-- [apply_diff](/features/tools/apply-diff) - 对代码进行精确修改
-- [write_to_file](/features/tools/write-to-file) - 创建新文件或完全重写现有文件
-
-### 浏览器工具
-这些工具帮助 Kilo Code 与网页应用交互:
-
-- [browser_action](/features/tools/browser-action) - 自动化浏览器交互
-
-### 命令工具
-这些工具帮助 Kilo Code 执行命令:
-
-- [execute_command](/features/tools/execute-command) - 运行系统命令和程序
-
-### MCP工具
-这些工具帮助 Kilo Code 连接外部服务:
-
-- [use_mcp_tool](/features/tools/use-mcp-tool) - 使用专门的外部工具
-- [access_mcp_resource](/features/tools/access-mcp-resource) - 访问外部数据源
-
-### 工作流工具
-这些工具帮助管理对话和任务流:
-
-- [ask_followup_question](/features/tools/ask-followup-question) - 从你那里获取额外信息
-- [attempt_completion](/features/tools/attempt-completion) - 呈现最终结果
-- [switch_mode](/features/tools/switch-mode) - 切换到不同模式以执行专门任务
-- [new_task](/features/tools/new-task) - 创建新子任务
-- [update_todo_list](/features/tools/update-todo-list) - 通过分步清单跟踪任务进度
-
-## 工具调用机制
-
-### 工具调用时机
-
-工具在特定条件下被调用:
-
-1. **直接任务需求**
- - 当需要特定操作来完成 LLM 决定的任务时
- - 响应用户请求
- - 在自动化工作流中
-
-2. **基于模式的可用性**
- - 不同模式启用不同的工具集
- - 模式切换可以触发工具可用性变化
- - 某些工具仅限于特定模式
-
-3. **上下文相关调用**
- - 基于工作区的当前状态
- - 响应系统事件
- - 在错误处理和恢复期间
-
-### 决策过程
-
-系统使用多步骤流程确定工具可用性:
-
-1. **模式验证**
- ```typescript
- isToolAllowedForMode(
- tool: string,
- modeSlug: string,
- customModes: ModeConfig[],
- toolRequirements?: Record,
- toolParams?: Record
- )
- ```
-
-2. **需求检查**
- - 系统能力验证
- - 资源可用性
- - 权限验证
-
-3. **参数验证**
- - 必需参数是否存在
- - 参数类型检查
- - 值验证
-
-## 技术实现
-
-### 工具调用处理
-
-1. **初始化**
- - 验证工具名称和参数
- - 检查模式兼容性
- - 验证需求
-
-2. **执行**
- ```typescript
- const toolCall = {
- type: "tool_call",
- name: chunk.name,
- arguments: chunk.input,
- callId: chunk.callId
- }
- ```
-
-3. **结果处理**
- - 确定成功/失败
- - 格式化结果
- - 错误处理
-
-### 安全与权限
-
-1. **访问控制**
- - 文件系统限制
- - 命令执行限制
- - 网络访问控制
-
-2. **验证层**
- - 工具特定验证
- - 基于模式的限制
- - 系统级检查
-
-## 模式集成
-
-### 基于模式的工具访问
-
-工具根据当前模式提供:
-
-- **代码模式**:完全访问文件系统工具、代码编辑能力、命令执行
-- **提问模式**:仅限于读取工具、信息收集能力,不能修改文件系统
-- **架构模式**:设计导向工具、文档能力,有限的执行权限
-- **自定义模式**:可配置特定工具访问以实现专门工作流
-
-### 模式切换
-
-1. **流程**
- - 保存当前模式状态
- - 更新工具可用性
- - 上下文切换
-
-2. **对工具的影响**
- - 工具集变化
- - 权限调整
- - 上下文保存
-
-## 最佳实践
-
-### 工具使用指南
-
-1. **效率**
- - 使用最适合任务的工具
- - 避免冗余工具调用
- - 尽可能批量操作
-
-2. **安全**
- - 调用工具前验证输入
- - 使用最低必要权限
- - 遵循安全最佳实践
-
-3. **错误处理**
- - 实施适当的错误检查
- - 提供有意义的错误信息
- - 优雅地处理失败
-
-### 常见模式
-
-1. **信息收集**
- ```
- [ask_followup_question](/features/tools/ask-followup-question) → [read_file](/features/tools/read-file) → [search_files](/features/tools/search-files)
- ```
-
-2. **代码修改**
- ```
- [read_file](/features/tools/read-file) → [apply_diff](/features/tools/apply-diff) → [attempt_completion](/features/tools/attempt-completion)
- ```
-
-3. **任务管理**
- ```
- [new_task](/features/tools/new-task) → [switch_mode](/features/tools/switch-mode) → [execute_command](/features/tools/execute-command)
- ```
-
-4. **进度跟踪**
- ```
- [update_todo_list](/features/tools/update-todo-list) → [execute_command](/features/tools/execute-command) → [update_todo_list](/features/tools/update-todo-list)
- ```
-
-## 错误处理与恢复
-
-### 错误类型
-
-1. **工具特定错误**
- - 参数验证失败
- - 执行错误
- - 资源访问问题
-
-2. **系统错误**
- - 权限被拒绝
- - 资源不可用
- - 网络故障
-
-3. **上下文错误**
- - 工具的模式无效
- - 缺少需求
- - 状态不一致
-
-### 恢复策略
-
-1. **自动恢复**
- - 重试机制
- - 回退选项
- - 状态恢复
-
-2. **用户干预**
- - 错误通知
- - 恢复建议
- - 手动干预选项
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/update-todo-list.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/update-todo-list.md
deleted file mode 100644
index 410e55b12c9..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/update-todo-list.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# update_todo_list
-
-`update_todo_list` 工具用反映当前状态的更新清单替换整个 TODO 列表。它提供分步任务跟踪,允许在更新和在复杂任务期间发现新待办事项时动态添加新待办事项之前确认完成。
-
-## 参数
-
-该工具接受以下参数:
-
-- `todos`(必需):带有任务描述和状态指示器的 markdown 清单
-
-## 作用
-
-此工具管理一个全面的 TODO 列表,该列表通过不同的状态跟踪任务进度。它在每次更新时替换整个列表,确保当前状态准确反映所有待处理、进行中和已完成的任务。系统将 TODO 列表显示为后续消息中的提醒。
-
-## 何时使用?
-
-- 当任务涉及需要系统跟踪的多个步骤时
-- 当新 actionable items are discovered during task execution
-- 当更新多个待办事项的状态时
-- 当复杂项目受益于清晰、分步的进度跟踪时
-- 当组织多阶段工作流 with dependencies
-
-## 主要功能
-
-- 维护具有三种状态的单级 markdown 清单
-- 在单个操作中更新多个任务状态
-- 动态添加新待办事项 as they're discovered during execution
-- 通过状态指示器提供视觉进度跟踪
-- 与提醒系统集成 for persistent task visibility
-- 支持任务 reordering based on execution priority
-- Preserves all unfinished tasks unless explicitly removed
-- Enables efficient batch status updates
-
-## 限制
-
-- Limited to single-level checklists (no nesting or subtasks)
-- Cannot remove tasks unless they're completed or no longer relevant
-- Requires complete list replacement rather than incremental updates
-- Status changes must be explicitly managed through tool calls
-- No built-in task dependency tracking
-- Cannot schedule tasks for future execution
-- Limited to three status states (pending, in-progress, completed)
-
-## 状态指示器
-
-该工具使用三种不同的状态指示器:
-
-- `[ ]` **待处理**:任务尚未开始
-- `[-]` **进行中**:任务当前正在进行中
-- `[x]` **已完成**:任务已完全完成,没有未解决的问题
-
-## 工作原理
-
-当调用 `update_todo_list` 工具时,它遵循以下过程:
-
-1. **状态验证**:
- - 解析 markdown 清单格式
- - 验证状态指示器格式是否正确
- - 确保任务描述清晰且可操作
-
-2. **列表替换**:
- - 完全替换现有 TODO 列表
- - Preserves task order as specified in the update
- - Maintains task descriptions and status states
-
-3. **提醒集成**:
- - 将更新的列表与提醒系统集成
- - Displays current tasks in subsequent message headers
- - Provides persistent visibility of task progress
-
-4. **进度跟踪**:
- - 跟踪多个更新的完成状态
- - Maintains task history for reference
- - Supports workflow continuation across sessions
-
-## 最佳实践
-
-### 任务管理指南
-
-- Mark tasks as completed immediately after all work is finished
-- Start the next task by marking it as in-progress
-- Add new todos as soon as they are identified during execution
-- Use clear, descriptive task names that indicate specific actions
-- Order tasks by logical execution sequence or priority
-
-### 状态更新模式
-
-- Update multiple statuses simultaneously when transitioning between tasks
-- Confirm task completion before marking as finished
-- Keep in-progress tasks focused on current work
-- Add blocking tasks when dependencies are discovered
-
-### 何时使用
-
-Use this tool when:
-- The task involves multiple steps or requires ongoing tracking
-- New actionable items are discovered during task execution
-- Multiple todos need status updates simultaneously
-- Complex tasks benefit from clear progress visualization
-
-Avoid using when:
-- There is only a single, trivial task
-- The task can be completed in one or two simple steps
-- The request is purely conversational or informational
-
-## Examples When Used
-
-- When implementing a multi-component feature requiring frontend, backend, and database changes
-- When debugging issues that reveal multiple related problems requiring fixes
-- When setting up development environments with multiple configuration steps
-- When documenting systems that require research, writing, and review phases
-- When refactoring code that affects multiple files and requires testing
-
-## 用法示例
-
-Initial task breakdown:
-```
-
-
-[-] Analyze requirements and create technical specification
-[ ] Design database schema and API endpoints
-[ ] Implement backend authentication service
-[ ] Create frontend login components
-[ ] Write comprehensive tests
-[ ] Update documentation
-
-
-```
-
-Updating progress and adding discovered tasks:
-```
-
-
-[x] Analyze requirements and create technical specification
-[x] Design database schema and API endpoints
-[-] Implement backend authentication service
-[ ] Create frontend login components
-[ ] Write comprehensive tests
-[ ] Update documentation
-[ ] Add password reset functionality
-[ ] Implement rate limiting for login attempts
-
-
-```
-
-Completing multiple tasks and transitioning focus:
-```
-
-
-[x] Analyze requirements and create technical specification
-[x] Design database schema and API endpoints
-[x] Implement backend authentication service
-[x] Create frontend login components
-[-] Write comprehensive tests
-[ ] Update documentation
-[ ] Add password reset functionality
-[ ] Implement rate limiting for login attempts
-
-
-```
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/use-mcp-tool.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/use-mcp-tool.md
deleted file mode 100644
index 9db1b816367..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/use-mcp-tool.md
+++ /dev/null
@@ -1,189 +0,0 @@
-# use_mcp_tool
-
-`use_mcp_tool` 工具使 Kilo Code 能够与连接的 Model Context Protocol (MCP) 服务器提供的外部工具进行交互。它通过标准化协议扩展了 Kilo Code 的功能,提供特定领域的专业能力。
-
-## 参数
-
-该工具接受以下参数:
-
-- `server_name`(必填):提供工具的 MCP 服务器名称
-- `tool_name`(必填):要执行的工具名称
-- `arguments`(必填/可选):包含工具输入参数的 JSON 对象,遵循工具的输入模式。对于不需要输入的工具,此参数可为可选。
-
-## 功能
-
-该工具允许 Kilo Code 访问由外部 MCP 服务器提供的专业功能。每个 MCP 服务器可以提供多个具有独特功能的工具,从而扩展 Kilo Code 的内置功能。系统会根据模式验证参数,管理服务器连接,并处理各种内容类型的响应(文本、图像、资源)。
-
-## 使用场景
-
-- 当需要核心工具无法提供的专业功能时
-- 当需要特定领域的操作时
-- 当需要与外部系统或服务集成时
-- 当处理需要特定处理或分析的数据时
-- 当通过标准化接口访问专有工具时
-
-## 主要特性
-
-- 使用 `@modelcontextprotocol/sdk` 库的标准化 MCP 协议
-- 支持多种通信机制(StdioClientTransport 和 SSEClientTransport)
-- 在客户端和服务器端使用 Zod 模式验证参数
-- 处理多种响应内容类型:文本、图像和资源引用
-- 当服务器代码更改时自动重启,管理服务器生命周期
-- 提供“始终允许”机制以绕过受信任工具的批准
-- 与配套的 `access_mcp_resource` 工具协同工作以获取资源
-- 维护适当的错误跟踪和处理机制
-- 支持可配置的超时时间(1-3600 秒,默认:60 秒)
-- 允许文件监视器自动检测和重新加载服务器更改
-
-## 限制
-
-- 依赖外部 MCP 服务器的可用性和连接性
-- 仅限于连接服务器提供的工具
-- 不同 MCP 服务器的工具能力各不相同
-- 网络问题可能影响可靠性和性能
-- 需要用户批准才能执行(除非在“始终允许”列表中)
-- 无法同时执行多个 MCP 工具操作
-
-## 服务器配置
-
-MCP 服务器可以在全局或项目级别进行配置:
-
-- **全局配置**:通过 VS Code 中的 Kilo Code 扩展设置进行管理。这些设置适用于所有项目,除非被覆盖。
-- **项目级配置**:在项目根目录下的 `.kilocode/mcp.json` 文件中定义。
- - 这允许项目特定的服务器设置。
- - 如果项目级服务器与全局服务器同名,则项目级服务器优先。
- - 由于 `.kilocode/mcp.json` 可以提交到版本控制,因此简化了与团队共享配置的过程。
-
-## 工作原理
-
-当调用 `use_mcp_tool` 工具时,它会遵循以下流程:
-
-1. **初始化和验证**:
- - 系统验证 MCP hub 是否可用
- - 确认指定的服务器存在并已连接
- - 验证请求的工具存在于服务器上
- - 根据工具的模式定义验证参数
- - 从服务器配置中提取超时设置(默认:60 秒)
-
-2. **执行和通信**:
- - 系统选择适当的通信机制:
- - `StdioClientTransport`:用于通过标准 I/O 与本地进程通信
- - `SSEClientTransport`:用于通过 Server-Sent Events 与 HTTP 服务器通信
- - 发送包含已验证的服务器名称、工具名称和参数的请求
- - 使用 `@modelcontextprotocol/sdk` 库进行标准化交互
- - 跟踪请求执行并处理超时,防止挂起操作
-
-3. **响应处理**:
- - 响应可以包含多种内容类型:
- - 文本内容:纯文本响应
- - 图像内容:带有 MIME 类型信息的二进制图像数据
- - 资源引用:用于访问服务器资源的 URI(与 `access_mcp_resource` 协同工作)
- - 系统检查 `isError` 标志以确定是否需要错误处理
- - 结果会被格式化以在 Kilo Code 界面中显示
-
-4. **资源和错误处理**:
- - 系统使用 WeakRef 模式防止内存泄漏
- - 连续错误计数器跟踪和管理错误
- - 文件监视器监控服务器代码更改并触发自动重启
- - 安全模型要求批准工具执行,除非在“始终允许”列表中
-
-## 安全和权限
-
-MCP 架构提供了多项安全功能:
-
-- 默认情况下,用户必须在执行前批准工具使用
-- 特定工具可以标记为“始终允许”列表中的自动批准
-- 使用 Zod 模式验证服务器配置以确保完整性
-- 可配置的超时时间防止挂起操作(1-3600 秒)
-- 可以通过 UI 启用或禁用服务器连接
-
-## 使用示例
-
-- 使用服务器端处理工具分析专业数据格式
-- 通过托管在外部服务器上的 AI 模型生成图像或其他媒体
-- 执行复杂的领域特定计算,无需本地实现
-- 通过受控接口访问专有 API 或服务
-- 从专业数据库或数据源检索数据
-
-## 用法示例
-
-请求天气预报数据并返回文本响应:
-使用文本响应请求天气预报数据:
-```
-
-weather-server
-get_forecast
-
-{
- "city": "San Francisco",
- "days": 5,
- "format": "text"
-}
-
-
-```
-
-使用返回 JSON 的专用工具分析源代码:
-```
-
-code-analysis
-complexity_metrics
-
-{
- "language": "typescript",
- "file_path": "src/app.ts",
- "include_functions": true,
- "metrics": ["cyclomatic", "cognitive"]
-}
-
-
-```
-
-使用特定参数生成图像:
-```
-
-image-generation
-create_image
-
-{
- "prompt": "A futuristic city with flying cars",
- "style": "photorealistic",
- "dimensions": {
- "width": 1024,
- "height": 768
- },
- "format": "webp"
-}
-
-
-```
-
-通过返回资源引用的工具访问资源:
-```
-
-database-connector
-query_and_store
-
-{
- "database": "users",
- "type": "select",
- "fields": ["name", "email", "last_login"],
- "where": {
- "status": "active"
- },
- "store_as": "active_users"
-}
-
-
-```
-
-不需要参数的工具:
-```
-
-system-monitor
-get_current_status
-
-{}
-
-
-```
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/write-to-file.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/write-to-file.md
deleted file mode 100644
index 4aacdfa63ac..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/tools/write-to-file.md
+++ /dev/null
@@ -1,169 +0,0 @@
-# write_to_file
-
-`write_to_file` 工具用于创建新文件或完全替换现有文件内容,并通过交互式审批流程提供变更的差异视图。
-
-## 参数
-
-该工具接受以下参数:
-
-- `path`(必填):要写入的文件路径,相对于当前工作目录
-- `content`(必填):要写入文件的完整内容
-- `line_count`(必填):文件中的行数,包括空行
-
-## 功能
-
-该工具将内容写入指定文件,如果文件不存在则创建新文件,如果文件存在则完全覆盖现有内容。所有变更都需要通过差异视图界面进行显式用户审批,用户可以在应用变更之前查看甚至编辑建议的内容。
-
-## 使用场景
-
-- 当 Kilo Code 需要从头创建新文件时
-- 当 Kilo Code 需要完全重写现有文件时
-- 当为新项目创建多个文件时
-- 当生成配置文件、文档或源代码时
-- 当需要在应用变更之前查看变更时
-
-## 关键特性
-
-- 交互式审批:在差异视图中显示变更,需要显式批准才能应用
-- 用户编辑支持:允许在最终批准之前编辑建议的内容
-- 安全措施:检测代码遗漏、验证路径并防止内容截断
-- 编辑器集成:打开差异视图并自动滚动到第一个差异
-- 内容预处理:处理不同 AI 模型的输出,确保内容干净
-- 访问控制:在更改之前验证 `.kilocodeignore` 限制
-- 父目录:可能通过系统依赖处理目录创建
-- 完全替换:在单个操作中提供完全转换的文件
-
-## 限制
-
-- 不适用于现有文件:对于修改现有文件,比 `apply_diff` 效率低得多
-- 大文件性能:文件较大时操作速度显著变慢
-- 完全覆盖:替换整个文件内容,无法保留原始内容
-- 需要行数:需要准确的行数以检测潜在的内容截断
-- 审批开销:审批流程比直接编辑增加了额外步骤
-- 仅限交互式:无法在需要非交互式执行的自动化工作流中使用
-
-## 工作原理
-
-当调用 `write_to_file` 工具时,它会遵循以下过程:
-
-1. **参数验证**:验证必需的参数和权限
- - 检查是否提供了 `path`、`content` 和 `line_count`
- - 验证文件是否允许(不受 `.kilocodeignore` 限制)
- - 确保路径在工作区范围内
- - 跟踪缺失参数的连续错误计数
- - 为每个验证失败显示具体的错误消息
-
-2. **内容预处理**:
- - 删除可能由 AI 模型添加的代码块标记
- - 处理转义的 HTML 实体(特别是非 Claude 模型)
- - 如果内容中意外包含行号,则去除行号
- - 针对不同的 AI 提供者执行模型特定的处理
-
-3. **差异视图生成**:
- - 在编辑器中打开差异视图,显示建议的变更
- - 添加 300 毫秒的延迟以确保 UI 响应能力
- - 自动滚动到第一个差异
- - 高亮显示变更以便于查看
-
-4. **用户审批流程**:
- - 等待用户显式批准以继续
- - 允许用户在差异视图中编辑内容
- - 捕获用户的任何编辑以用于最终内容
- - 提供完全拒绝变更的选项
- - 检测并合并用户修改到最终结果中
-
-5. **安全验证**:
- - 通过与提供的行数比较,检测潜在的内容截断
- - 如果内容看起来不完整,则显示警告
- - 验证文件路径和访问权限
- - 特别检查文件是否在工作区外,使用 `isOutsideWorkspace` 标志
-
-6. **文件写入**:
- - 将批准的内容(包括用户的任何编辑)写入文件
- - 提供成功写入的确认
- - 成功时重置连续错误计数器
-
-## 使用时的示例
-
-- 创建新项目时,Kilo Code 会生成多个文件,但会让您在提交更改前查看每个文件。
-- 设置配置文件时,Kilo Code 会在差异视图中显示建议的配置以供批准。
-- 生成文档时,Kilo Code 会创建 Markdown 文件,但允许您在差异视图中进行最终调整。
-- 开发原型时,Kilo Code 会在差异视图中显示完整的源文件,您可以在保存前进行微调。
-
-## 使用示例
-
-创建新的 JSON 配置文件:
-```
-
-config/settings.json
-
-{
- "apiEndpoint": "https://api.example.com",
- "theme": {
- "primaryColor": "#007bff",
- "secondaryColor": "#6c757d",
- "fontFamily": "Arial, sans-serif"
- },
- "features": {
- "darkMode": true,
- "notifications": true,
- "analytics": false
- },
- "version": "1.0.0"
-}
-
-14
-
-```
-
-创建简单的 HTML 文件:
-```
-
-src/index.html
-
-
-
-
-
-
- My Application
-
-
-
-
-
-
-
-
-13
-
-```
-
-创建 JavaScript 模块:
-```
-
-src/utils/helpers.js
-
-/**
- * 应用程序的实用工具函数
- */
-
-export function formatDate(date) {
- return new Date(date).toLocaleDateString();
-}
-
-export function calculateTotal(items) {
- return items.reduce((sum, item) => sum + item.price, 0);
-}
-
-export function debounce(func, delay) {
- let timeout;
- return function(...args) {
- clearTimeout(timeout);
- timeout = setTimeout(() => func.apply(this, args), delay);
- };
-}
-
-18
-
-```
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/concepts.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/concepts.md
deleted file mode 100644
index 889a229082c..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/concepts.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# 核心概念
-
-了解 Kilo Code 中使用的关键概念
-
-| 概念 | 描述 | 视频预览 |
-| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
-| **供应商** | Kilo Code 提供了内置的 API 供应器,让你无需管理 API 密钥即可访问最新的前沿编码模型,支持访问如 OpenAI (GPT-5)、Anthropic (Claude)、Google (Gemini)、Meta (Llama) 等前沿模型。 | |
-| **基础模型** | 在大规模数据集上训练的大型 AI 模型,作为 AI 应用的基础。像 GPT、Claude、LLaMA 这样的模型提供了核心的语言理解和生成能力。 | |
-| **提示工程** | 为 AI 模型设计有效输入以获得期望输出的艺术与科学。使用增强按钮来优化你的提示。 | |
-| **模式** | 在 Kilo Code 中,你可以选择 **Architect** 模式来规划和设计软件,**Code** 模式来编写和重构代码,**Ask** 模式来理解代码库,**Debug** 模式来修复软件问题,以及 **Orchestrator** 模式来跨模式协调任务。 | |
-| **代码库索引** | 代码库索引功能利用 AI 嵌入技术,实现整个项目的语义化代码搜索。 | |
-| **MCP(模型上下文协议)** | 用于管理 AI 模型与外部系统之间上下文和通信的标准化协议。支持与工具、数据库和服务的无缝集成。 | |
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/connecting-api-provider.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/connecting-api-provider.md
deleted file mode 100644
index 302261242b0..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/connecting-api-provider.md
+++ /dev/null
@@ -1,89 +0,0 @@
----
-sidebar_label: 连接到提供商
----
-
-# 连接 AI 提供商
-
-Kilo Code 需要 AI 模型提供商的 API 密钥才能运行。
-
-我们推荐以下选项来访问强大的 **Claude 4 Sonnet** 模型:
-
-- **Kilo Code API 提供商(推荐):** 以有竞争力的价格提供对 OpenRouter 可用的所有模型的访问权限,并提供免费积分以供入门。 [查看定价](https://kilocode.ai/pricing)
-- **OpenRouter:** 通过单个 API 密钥提供对多个 AI 模型的访问权限。 [查看定价](https://openrouter.ai/models?order=pricing-low-to-high)。
-- **Anthropic:** 直接访问 Claude 模型。需要 API 访问批准,并且可能[根据您的层级有速率限制](https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier)。有关详细信息,请参阅 [Anthropic 的定价页面](https://www.anthropic.com/pricing#anthropic-api)。
-
-## 使用 Kilo Code 提供商
-
-默认情况下,当您安装 Kilo Code 扩展时,系统会提示您在 [Kilo Code 提供商](/providers/kilocode)中登录或创建帐户。
-
-这将引导您完成帐户设置并*自动*正确配置 Kilo Code 以帮助您入门。如果您更喜欢使用其他提供商,则需要按照以下说明手动获取您的 API 密钥。
-
-## 使用其他 API 提供商
-
-_即将登陆 Kilo Code Teams 和 Enterprise 平台!_
-
-### 获取您的API密钥
-
-#### 选项1:LLM路由器
-
-LLM路由器让您可以通过一个API密钥访问多个AI模型,简化了成本管理和模型切换。通常提供[更具竞争力的价格](https://openrouter.ai/models?order=pricing-low-to-high)。
-
-##### OpenRouter
-
-1. 访问 [openrouter.ai](https://openrouter.ai/)
-2. 使用Google或GitHub账号登录
-3. 导航到[API密钥页面](https://openrouter.ai/keys)并创建新密钥
-4. 复制您的API密钥 - 您需要它来设置Kilo Code
-
-
-
-_OpenRouter仪表板,带有"创建密钥"按钮。命名您的密钥并在创建后复制它。_
-
-##### Requesty
-
-1. 访问 [requesty.ai](https://requesty.ai/)
-2. 使用Google账号或电子邮件登录
-3. 导航到[API管理页面](https://app.requesty.ai/manage-api)并创建新密钥
-4. **重要:** 立即复制您的API密钥,因为它不会再次显示
-
-
-
-_Requesty API管理页面,带有"创建API密钥"按钮。立即复制您的密钥 - 它只会显示一次。_
-
-#### 选项2:直接提供商
-
-直接访问特定模型的原提供商,完全使用其功能和特性:
-
-##### Anthropic
-
-1. 访问 [console.anthropic.com](https://console.anthropic.com/)
-2. 注册账号或登录
-3. 导航到[API密钥部分](https://console.anthropic.com/settings/keys)并创建新密钥
-4. **重要:** 立即复制您的API密钥,因为它不会再次显示
-
-
-
-_Anthropic控制台API密钥部分,带有"创建密钥"按钮。命名您的密钥,设置过期时间,并立即复制它。_
-
-##### OpenAI
-
-1. 访问 [platform.openai.com](https://platform.openai.com/)
-2. 注册账号或登录
-3. 导航到[API密钥部分](https://platform.openai.com/api-keys)并创建新密钥
-4. **重要:** 立即复制您的API密钥,因为它不会再次显示
-
-
-
-_OpenAI平台,带有"创建新密钥"按钮。命名您的密钥并在创建后立即复制它。_
-
-### 在VS Code中配置Kilo Code
-
-获取API密钥后:
-
-1. 点击VS Code侧边栏中的Kilo Code图标()打开Kilo Code侧边栏
-2. 在欢迎界面,从下拉菜单中选择您的API提供商
-3. 将API密钥粘贴到相应字段中
-4. 选择您的模型:
- - 对于**OpenRouter**:选择`anthropic/claude-3.7-sonnet` ([模型详情](https://openrouter.ai/anthropic/claude-3.7-sonnet))
- - 对于**Anthropic**:选择`claude-3-7-sonnet-20250219` ([模型详情](https://www.anthropic.com/pricing#anthropic-api))
-5. 点击"Let's go!"保存设置并开始使用Kilo Code
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md
deleted file mode 100644
index 384c64224c6..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md
+++ /dev/null
@@ -1,110 +0,0 @@
----
-sidebar_label: 安装Kilo Code
----
-
-# 安装Kilo Code
-
-Kilo Code是一款VS Code扩展,可将AI编程助手直接集成到编辑器中。可通过以下方式安装:
-
-- [**VS Code应用商店(推荐)**](#vs-code应用商店) - VS Code用户最快捷的安装方式
-- [**Cursor应用商店**](#cursor应用商店) - Cursor用户的推荐安装方式
-- [**Open VSX注册表**](#open-vsx注册表) - 适用于VSCodium/Windsurf等兼容VS Code的编辑器
-- [**手动安装.vsix文件**](#手动安装vsix文件) - 从GitHub Release直接安装
-
-## VS Code应用商店
-
-:::tip
-
-若已安装VS Code:[点击此处直接安装Kilo Code](vscode:extension/kilocode.Kilo-Code)
-
-:::
-
-或按以下步骤操作:
-
-1. 打开VS Code
-2. 进入扩展面板:点击侧边栏扩展图标 或按 `Ctrl+Shift+X`(Windows/Linux) / `Cmd+Shift+X`(macOS)
-3. 搜索 "Kilo Code"
-4. 选择Kilo Code发布的扩展并点击**安装**
-5. 根据提示重新加载VS Code
-
-安装完成后,在侧边栏找到Kilo Code图标()即可打开面板。
-
-
-*VS Code应用商店中的Kilo Code扩展安装界面*
-
-## Cursor应用商店
-
-:::tip
-
-若已安装Cursor:[点击此处直接安装Kilo Code](cursor:extension/kilocode.Kilo-Code)
-
-:::
-
-或按以下步骤操作:
-
-1. 打开Cursor
-2. 进入扩展面板:点击侧边栏扩展图标 或按 `Ctrl+Shift+X`(Windows/Linux) / `Cmd+Shift+X`(macOS)
-3. 搜索 "Kilo Code"
-4. 选择Kilo Code发布的扩展并点击**安装**
-5. 根据提示重新加载Cursor
-
-安装完成后,在侧边栏找到Kilo Code图标()即可打开面板。
-
-## Open VSX注册表
-
-[Open VSX注册表](https://open-vsx.org/)是VS Code应用商店的开源替代方案,适用于因许可证限制无法访问官方商店的编辑器。
-
-在VSCodium、Gitpod、Eclipse Theia、Windsurf等兼容编辑器中,可通过[Open VSX上的Kilo Code页面](https://open-vsx.org/extension/kilocode/Kilo-Code)直接安装。
-
-1. 打开编辑器
-2. 进入扩展视图(侧边栏图标或快捷键 `Ctrl+Shift-X` / `Cmd+Shift-X`)
-3. 编辑器应已预配置Open VSX注册表
-4. 搜索 "Kilo Code"
-5. 选择扩展并点击**安装**
-6. 根据提示重新加载编辑器
-
-:::note
-若编辑器未自动配置Open VSX,需在设置中手动配置扩展市场。具体操作请参考编辑器文档。
-:::
-
-## 手动安装VSIX文件
-
-若需手动下载安装:
-
-1. **下载VSIX文件:**
-
- - 在[Kilo Code GitHub Releases页面](https://github.com/Kilo-Org/kilocode/releases)查找正式版本
- - 从[最新版本](https://github.com/Kilo-Org/kilocode/releases/latest)下载`.vsix`文件
-
-2. **在VS Code中安装:**
- - 打开VS Code
- - 进入扩展视图
- - 点击扩展视图右上角的"..."菜单
- - 选择"从VSIX安装..."
- - 选择已下载的`.vsix`文件
-
-
-*通过VS Code的"从VSIX安装"对话框进行安装*
-
-## 故障排除
-
-**扩展不可见**
-
-- 重启VS Code
-- 检查扩展列表确认Kilo Code已启用
-- 尝试禁用后重新启用扩展
-- 在输出面板查看错误日志(查看 → 输出,选择"Kilo Code")
-
-**安装问题**
-
-- 确保网络连接稳定
-- 确认VS Code版本≥1.84.0
-- 若无法访问VS Code应用商店,尝试Open VSX方式
-
-## 获取支持
-
-若遇到其他问题:
-
-- 加入[Discord社区](https://kilo.ai/discord)获取实时支持
-- 在[GitHub](https://github.com/Kilo-Org/kilocode/issues)提交问题报告
-- 访问[Reddit社区](https://www.reddit.com/r/KiloCode)
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/setting-up.mdx b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/setting-up.mdx
deleted file mode 100644
index d6667342e57..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/setting-up.mdx
+++ /dev/null
@@ -1,41 +0,0 @@
----
-sidebar_label: 初始设置
----
-
-import { DISCORD_URL } from "@site/src/constants.ts";
-import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
-
-# 设置Kilo Code
-
-1. **注册:** 完成注册流程
-2. **首次充值:** 向账户添加资金(最低 $5)并获得 $20 奖励积分
-3. **开始编程:** 尽情使用你的 $20 免费积分
-
-:::note 关于临时冻结
-有时,我们可能需要临时冻结 $0.50,这仅用于身份验证:
-
-- **免费** - 这是临时授权,不会被收取费用
-- **即时释放** - Kilo Code 在验证后会立即释放冻结
-- **银行处理** - 虽然我们即时释放,但资金返回可能需要几个工作日(因银行而异)
- :::
-
-## 注册流程
-
-Kilo Code提供简单的注册流程,通过你的账号即可使用前沿的编程模型:
-
-1. 在扩展中点击"免费试用 Kilo Code"
-2. 使用你的 Google 账户登录 kilocode.ai
-3. kilocode.ai 将提示你打开 Visual Studio Code
- - 当使用浏览器中的 IDE 时,系统会要求你手动复制 API 密钥
-4. 允许打开 VS Code 后,还必须允许 VS Code 打开授权 URL
-
-
-
-完成!现在可以开始你的[第一个任务](/getting-started/your-first-task)
-
-:::tip 需要帮助?
-如有任何定价或token相关问题,请联系[支持团队](mailto:hi@kilocode.ai)或加入我们的Discord社区。
-:::
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/your-first-task.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/your-first-task.md
deleted file mode 100644
index b2e75261e54..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/your-first-task.md
+++ /dev/null
@@ -1,72 +0,0 @@
----
-sidebar_label: 第一个任务
----
-
-# 开始你的第一个Kilo Code任务
-
-本快速教程将展示 Kilo Code 如何从头到尾处理一个简单的请求。
-
-完成[初始设置](/getting-started/setting-up)后,请按照以下步骤操作:
-
-## 第一步:打开Kilo Code面板
-
-点击VS Code主侧边栏(窗口侧边的垂直栏)中的Kilo Code图标()打开聊天界面。如果看不到图标,请确认扩展已[安装](/getting-started/installing)并启用。
-
-
-*主侧边栏中的Kilo Code图标可打开聊天界面*
-
-## 第二步:输入你的任务
-
-在面板底部的聊天框中,清晰简洁地描述你希望Kilo Code完成的操作。有效任务的示例:
-
-* "创建名为`hello.txt`的文件,内容为'Hello, world!'"
-* "编写一个两数相加的Python函数"
-* "创建一个标题为'Kilo测试'的简单网站HTML文件"
-
-无需特殊命令或语法——使用普通英语即可。
-
-
-*用自然语言输入任务 - 无需特殊语法*
-
-## 第三步:发送任务
-
-按Enter键或点击输入框右侧的发送图标()。
-
-## 第四步:审核并批准操作
-
-Kilo Code分析你的请求后会提出具体操作建议,可能包括:
-
-* **读取文件**:显示需要访问的文件内容
-* **写入文件**:展示变更差异(绿色为新增行,红色为删除行)
-* **执行命令**:显示将在终端运行的精确命令
-* **使用浏览器**:概述浏览器操作(点击、输入等)
-* **提问澄清**:需要时请求更多信息以继续
-
-
-*Kilo Code明确显示将要执行的操作并等待你的批准*
-
-* 在**Code**模式下,默认启用许多代码编写功能
-* 在**Architect**和**Ask**模式下,代理不会编写任何代码
-
-:::tip
-自主程度可配置,你可以让代理更自主或更受限。
-
-了解更多关于[使用模式](/basic-usage/using-modes)和[自动批准操作](/features/auto-approving-actions)。
-:::
-
-## 第五步:迭代操作
-
-Kilo Code以迭代方式工作。每个操作后都会等待你的反馈,然后再提出下一步建议。持续这个"审核-批准"循环直到任务完成。
-
-
-*任务完成后,Kilo Code显示最终结果并等待下一条指令*
-
-## 总结
-
-你已完成第一个Kilo Code任务!通过这个过程,你已了解:
-
-* 如何使用自然语言与Kilo Code交互
-* 让你保持控制的基于批准的工作流
-* Kilo Code用于逐步解决问题的迭代方法
-
-这种迭代的、基于批准的工作流是Kilo Code的核心——让AI处理编码的繁琐部分,同时你保持完全监督。现在你已掌握基础知识,可以尝试更复杂的任务,探索不同的[模式](/basic-usage/using-modes)进行专门的工作流,或试用[自动批准功能](/features/auto-approving-actions)来加速重复性任务。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.mdx b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.mdx
deleted file mode 100644
index fa295c1db21..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/index.mdx
+++ /dev/null
@@ -1,101 +0,0 @@
----
-sidebar_label: 欢迎
----
-
-import {
- DISCORD_URL,
- REDDIT_URL,
- GITHUB_ISSUES_MAIN_URL,
- GITHUB_FEATURES_URL,
- YOUTUBE_URL,
-} from "@site/src/constants.ts"
-import Image from "@site/src/components/Image"
-
-# Kilo Code 文档
-
-Kilo Code 通过 AI 驱动的代码生成和任务自动化**加速**开发。这个开源扩展直接集成到 VS Code 中。
-
-## Kilo Code 能做什么?
-
-- 🚀 **生成代码**:根据自然语言描述生成代码
-- 🔧 **重构与调试**:优化现有代码并修复问题
-- 📝 **编写与更新**:创建和更新文档
-- 🤔 **回答问题**:解答关于代码库的疑问
-- 🔄 **自动化**:自动化重复性任务
-- 🏗️ **创建**:新建文件和项目
-
-## 快速开始
-
-1. [安装 Kilo Code](/getting-started/installing)
-2. [设置 Kilo Code](/getting-started/setting-up)
-3. [尝试你的首个任务](/getting-started/your-first-task)
-
-## 功能
-
-
-
-### 基础功能
-
-使用[聊天界面](/basic-usage/the-chat-interface)告诉 Kilo Code 您需要什么。它依赖于针对编码优化的 AI 模型来完成每个请求。
-
-- 切换[模式](/basic-usage/using-modes)以适应任务
-- 控制允许的[操作](/features/auto-approving-actions)
-- 运行直接[代码操作](/features/code-actions)
-
-### 使用 Kilo Code
-
-#### 多种模式
-
-Kilo Code 通过专门的[模式](/basic-usage/using-modes)适应你的需求:
-
-- [**Code 模式:**](/basic-usage/using-modes#代码模式默认) 用于通用编码任务
-- [**Architect 模式:**](/basic-usage/using-modes#架构师模式) 用于规划和技术领导
-- [**Ask 模式:**](/basic-usage/using-modes#问答模式) 用于回答问题并提供信息
-- [**Debug 模式:**](/basic-usage/using-modes#调试模式) 用于系统化问题诊断
-- **[自定义模式](/agent-behavior/custom-modes):** 创建无限数量的专门角色,用于安全审计、性能优化、文档编写或任何其他任务
-
-#### 核心工具
-
-Kilo Code 配备了强大的[工具](/features/tools/tool-use-overview),可以:
-
-- [读取](/features/tools/read-file)和[写入](/features/tools/write-to-file)项目中的文件
-- 在你的 VS Code 终端中[执行命令](/features/tools/execute-command)
-- [控制网页浏览器](/features/tools/browser-action)
-- [提问跟进问题](/features/tools/ask-followup-question)
-- [搜索你的代码库](/features/tools/search-files)
-
-查看完整的[工具参考](/features/tools/tool-use-overview)以了解所有可用工具。
-
-### 扩展 Kilo Code
-
-- **[MCP(模型上下文协议)](/features/mcp/overview):** 添加无限自定义工具,集成外部 API,连接数据库,或创建专门的开发工具
-- **[本地模型](/advanced-usage/local-models):** 使用本地 AI 模型运行 Kilo Code,以实现离线使用或增强隐私
-
-### 自定义 Kilo Code
-
-通过以下方式让 Kilo Code 按照你的方式工作:
-
-- [设置管理](/basic-usage/settings-management)来配置你的体验
-- [自定义模式](/agent-behavior/custom-modes)用于专门任务
-- [自定义规则](/agent-behavior/custom-rules)用于项目特定规则
-- [自定义指令](/agent-behavior/custom-instructions)用于全局插件范围内的指令
-- [API 配置配置文件](/features/api-configuration-profiles)用于不同的模型提供商
-- [自动批准设置](/features/auto-approving-actions)用于更快的工作流程
-
-## 资源
-
-### 文档
-
-- [使用 Kilo Code](/basic-usage/the-chat-interface) - 学习基础知识
-- [核心概念](/features/auto-approving-actions) - 掌握关键功能
-- [高级用法](/agent-behavior/prompt-engineering) - 进一步提升你的技能
-- [常见问题解答](/faq) - 获取常见问题的答案
-
-### 社区
-
-- **Discord:** 加入我们的 Discord 服务器以获取实时帮助和讨论
-- **Reddit:** 访问我们的 subreddit以分享经验和技巧
-- **YouTube:** 查看我们的 YouTube以学习使用 Kilo Code 的实践技能
-- **GitHub:** 在问题页面报告问题或在功能请求页面提出建议
-
-准备好开始了吗?点击下方的**下一步**按钮,开启你的 Kilo Code 之旅!
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/move-to-secondary.png b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/move-to-secondary.png
deleted file mode 100644
index 9347e5804b4..00000000000
Binary files a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/move-to-secondary.png and /dev/null differ
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/anthropic.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/anthropic.md
deleted file mode 100644
index 263ec4dd634..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/anthropic.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-sidebar_label: Anthropic
----
-
-# 在 Kilo Code 中使用 Anthropic
-
-Anthropic 是一家专注于 AI 安全和研究的公司,致力于构建可靠、可解释且可控的 AI 系统。他们的 Claude 模型以强大的推理能力、实用性和诚实性著称。
-
-**官网:** [https://www.anthropic.com/](https://www.anthropic.com/)
-
-## 获取 API 密钥
-
-1. **注册/登录:** 访问 [Anthropic 控制台](https://console.anthropic.com/)。创建账户或登录现有账户
-2. **导航至 API 密钥:** 进入 [API keys](https://console.anthropic.com/settings/keys) 页面
-3. **创建密钥:** 点击 "Create Key"。为密钥命名(如 "Kilo Code")
-4. **复制密钥:** **重要:** 立即复制 API 密钥,之后将无法再次查看。请妥善保存
-
-## 支持的模型
-
-Kilo Code 支持以下 Anthropic Claude 模型:
-
-* `claude-3-7-sonnet-20250219` (推荐)
-* `claude-3-7-sonnet-20250219:thinking` (扩展思考版)
-* `claude-3-5-sonnet-20241022`
-* `claude-3-5-haiku-20241022`
-* `claude-3-opus-20240229`
-* `claude-3-haiku-20240307`
-
-查看 [Anthropic 模型文档](https://docs.anthropic.com/en/docs/about-claude/models) 获取各模型能力的详细信息
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()
-2. **选择提供商:** 在 "API Provider" 下拉菜单中选择 "Anthropic"
-3. **输入 API 密钥:** 将 Anthropic API 密钥粘贴到 "Anthropic API Key" 字段
-4. **选择模型:** 从 "Model" 下拉列表中选择所需的 Claude 模型
-5. **(可选) 自定义基础 URL:** 如需使用自定义 Anthropic API 基础 URL,勾选 "Use custom base URL" 并输入 URL。大多数用户无需修改此项
-
-## 提示与注意事项
-
-* **提示缓存:** Claude 3 模型支持 [提示缓存](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching),可显著降低重复提示的成本和延迟
-* **上下文窗口:** Claude 模型具有大容量上下文窗口 (200,000 tokens),可在提示中包含大量代码和上下文
-* **定价:** 参考 [Anthropic 定价](https://www.anthropic.com/pricing) 页面获取最新价格信息
-* **速率限制:** Anthropic 根据 [使用层级](https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier) 设有严格速率限制。如频繁遇到限制,请联系 Anthropic 销售或通过 [OpenRouter](/providers/openrouter) 等其它提供商访问 Claude
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/bedrock.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/bedrock.md
deleted file mode 100644
index 1159456d440..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/bedrock.md
+++ /dev/null
@@ -1,91 +0,0 @@
----
-sidebar_label: AWS Bedrock
----
-
-# 在Kilo Code中使用AWS Bedrock
-
-Kilo Code支持通过Amazon Bedrock访问模型,这是一个完全托管的服务,通过单一API提供来自领先AI公司的高性能基础模型(FMs)。
-
-**官网:** [https://aws.amazon.com/bedrock/](https://aws.amazon.com/bedrock/)
-
-## 前提条件
-
-* **AWS账户:** 需要有效的AWS账户
-* **Bedrock访问权限:** 必须申请并获得Amazon Bedrock的访问权限。详见[AWS Bedrock文档](https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html)
-* **模型访问权限:** 需要在Bedrock中申请使用特定模型(如Anthropic Claude)的权限
-* **安装AWS CLI:** 使用AWS CLI配置账户认证
- ```bash
- aws configure
- ```
-
-## 获取凭证
-
-有两种主要配置方式:
-
-1. **AWS访问密钥(推荐用于开发):**
- * 创建具有必要权限的IAM用户(至少需要`bedrock:InvokeModel`)
- * 生成该用户的访问密钥ID和秘密访问密钥
- * (可选)根据IAM配置需要创建会话令牌
-2. **AWS配置文件:**
- * 使用AWS CLI或手动编辑AWS凭证文件配置配置文件。详见[AWS CLI文档](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)
-
-## 支持的模型
-
-根据源代码,Kilo Code支持通过Bedrock访问以下模型:
-
-* **Amazon:**
- * `amazon.nova-pro-v1:0`
- * `amazon.nova-pro-latency-optimized-v1:0`
- * `amazon.nova-lite-v1:0`
- * `amazon.nova-micro-v1:0`
- * `amazon.titan-text-lite-v1:0`
- * `amazon.titan-text-express-v1:0`
- * `amazon.titan-text-embeddings-v1:0`
- * `amazon.titan-text-embeddings-v2:0`
-* **Anthropic:**
- * `anthropic.claude-3-7-sonnet-20250219-v1:0`
- * `anthropic.claude-3-5-sonnet-20241022-v2:0`
- * `anthropic.claude-3-5-haiku-20241022-v1:0`
- * `anthropic.claude-3-5-sonnet-20240620-v1:0`
- * `anthropic.claude-3-opus-20240229-v1:0`
- * `anthropic.claude-3-sonnet-20240229-v1:0`
- * `anthropic.claude-3-haiku-20240307-v1:0`
- * `anthropic.claude-2-1-v1:0`
- * `anthropic.claude-2-0-v1:0`
- * `anthropic.claude-instant-v1:0`
-* **DeepSeek:**
- * `deepseek.r1-v1:0`
-* **Meta:**
- * `meta.llama3-3-70b-instruct-v1:0`
- * `meta.llama3-2-90b-instruct-v1:0`
- * `meta.llama3-2-11b-instruct-v1:0`
- * `meta.llama3-2-3b-instruct-v1:0`
- * `meta.llama3-2-1b-instruct-v1:0`
- * `meta.llama3-1-405b-instruct-v1:0`
- * `meta.llama3-1-70b-instruct-v1:0`
- * `meta.llama3-1-70b-instruct-latency-optimized-v1:0`
- * `meta.llama3-1-8b-instruct-v1:0`
- * `meta.llama3-70b-instruct-v1:0`
- * `meta.llama3-8b-instruct-v1:0`
-
-请参考[Amazon Bedrock文档](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html)获取最新可用模型及其ID列表。配置Kilo Code时请使用*模型ID*而非模型名称。
-
-## 在Kilo Code中配置
-
-1. **打开Kilo Code设置:** 点击Kilo Code面板中的齿轮图标()
-2. **选择提供商:** 在"API Provider"下拉菜单中选择"Bedrock"
-3. **选择认证方式:**
- * **AWS凭证:**
- * 输入"AWS Access Key"和"AWS Secret Key"
- * (可选)如果使用临时凭证,输入"AWS Session Token"
- * **AWS配置文件:**
- * 输入AWS配置文件名称(如"default")
-4. **选择区域:** 选择Bedrock服务可用的AWS区域(如"us-east-1")
-5. **(可选)跨区域推理:** 如果要访问与配置的AWS区域不同的区域中的模型,请勾选"Use cross-region inference"
-6. **选择模型:** 从"Model"下拉菜单中选择所需模型
-
-## 提示与注意事项
-
-* **权限:** 确保IAM用户或角色具有调用Bedrock模型所需的权限,需要`bedrock:InvokeModel`权限
-* **定价:** 参考[Amazon Bedrock定价](https://aws.amazon.com/bedrock/pricing/)页面了解模型费用详情
-* **跨区域推理:** 使用跨区域推理可能会导致延迟增加
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/chutes-ai.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/chutes-ai.md
deleted file mode 100644
index a1eb4d318c2..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/chutes-ai.md
+++ /dev/null
@@ -1,32 +0,0 @@
----
-sidebar_label: Chutes AI
----
-
-# 在 Kilo Code 中使用 Chutes AI
-
-Chutes.ai 提供对多个大型语言模型 (LLM) 的免费 API 访问,允许开发人员集成和试验这些模型,而无需立即承担财务承诺。他们提供对精选的开源和专有语言模型的访问,通常侧重于特定功能或区域语言支持。
-
-**网站:** [https://chutes.ai/](https://chutes.ai/)
-
-## 获取 API 密钥
-
-要将 Chutes AI 与 Kilo Code 一起使用,请从 [Chutes AI 平台](https://chutes.ai/)获取 API 密钥。注册或登录后,您应该可以在您的帐户仪表板或设置中找到生成或检索 API 密钥的选项。
-
-## 支持的模型
-
-Kilo Code 将尝试从 Chutes AI API 获取可用模型列表。可用的特定模型将取决于 Chutes AI 当前提供的产品。
-
-请务必参考 Chutes AI 官方文档或您的仪表板,以获取最新支持的模型列表。
-
-## Kilo Code 中的配置
-
-1. **打开 Kilo Code 设置:** 单击 Kilo Code 面板中的齿轮图标()。
-2. **选择提供商:** 从“API 提供商”下拉菜单中选择“Chutes AI”。
-3. **输入 API 密钥:** 将您的 Chutes AI API 密钥粘贴到“Chutes AI API 密钥”字段中。
-4. **选择模型:** 从“模型”下拉菜单中选择您想要的模型。
-
-## 提示和注意事项
-
-* **免费访问:** Chutes AI 提供免费 API 访问,使其成为无需立即付费即可进行实验和开发的绝佳选择。
-* **模型多样性:** 该平台提供对开源和专有模型的访问,让您可以灵活选择适合您需求的模型。
-* **速率限制:** 与任何免费服务一样,请注意可能适用于您的 API 密钥的潜在速率限制或使用限制。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/claude-code.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/claude-code.md
deleted file mode 100644
index ae964419aab..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/claude-code.md
+++ /dev/null
@@ -1,59 +0,0 @@
----
-sidebar_label: Claude Code
----
-
-# 在 Kilo Code 中使用 Claude Code
-
-Claude Code 是 Anthropic 的官方 CLI,它提供从终端直接访问 Claude 模型的功能。在 Kilo Code 中使用 Claude Code 可以让你利用现有的 CLI 设置,而无需单独的 API 密钥。
-
-**网站:** [https://docs.anthropic.com/en/docs/claude-code/setup](https://docs.anthropic.com/en/docs/claude-code/setup)
-
-## 安装和设置 Claude Code
-
-1. **安装 Claude Code:** 请按照 [Anthropic 的 Claude Code 文档](https://docs.anthropic.com/en/docs/claude-code/setup)中的安装说明进行操作。
-2. **认证:** 在终端中运行 `claude`。Claude Code 提供多种认证选项,包括 Anthropic 控制台(默认)、Claude 应用程序(Pro/Max 计划)以及 Amazon Bedrock 或 Google Vertex AI 等企业平台。完整详情请参见 [Anthropic 的认证文档](https://docs.anthropic.com/en/docs/claude-code/setup)。
-3. **验证安装:** 通过在终端中运行 `claude --version` 来测试是否一切正常工作。
-
-:::warning 环境变量使用
-`claude` 命令行工具与其他 Anthropic SDK 一样,可以使用 `ANTHROPIC_API_KEY` 环境变量进行身份验证。这是在非交互式环境中授权 CLI 工具的常见方法。
-
-如果此环境变量在您的系统中已设置,`claude` 工具可能会使用它进行身份验证,而不是使用交互式的 `/login` 方法。当 Kilo Code 执行该工具时,它将准确反映正在使用 API 密钥,因为这是 `claude` CLI 本身的底层行为。
-:::
-
-**Website:** [https://docs.anthropic.com/en/docs/claude-code/setup](https://docs.anthropic.com/en/docs/claude-code/setup)
-
-## 支持的模型
-
-Kilo Code 通过 Claude Code 支持以下 Claude 模型:
-
-- **Claude Opus 4.1**(能力最强)
-- **Claude Opus 4**
-- **Claude Sonnet 4**(最新,推荐)
-- **Claude 3.7 Sonnet**
-- **Claude 3.5 Sonnet**
-- **Claude 3.5 Haiku**(快速响应)
-
-可用的特定模型取决于你的 Claude 订阅和计划。有关每个模型功能的更多详细信息,请参阅 [Anthropic 的模型文档](https://docs.anthropic.com/en/docs/about-claude/models)。
-
-## Kilo Code 中的配置
-
-1. **打开 Kilo Code 设置:** 单击 Kilo Code 面板中的齿轮图标()。
-2. **选择提供商:** 从“API 提供商”下拉菜单中选择“Claude Code”。
-3. **选择模型:** 从“模型”下拉菜单中选择你想要的 Claude 模型。
-4. **(可选)自定义 CLI 路径:** 如果你将 Claude Code 安装到默认 `claude` 命令以外的位置,请在“Claude Code 路径”字段中输入 Claude 可执行文件的完整路径。大多数用户不需要更改此项。
-
-## 提示和注意事项
-
-- **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys.
-- **成本透明:** 使用成本由 Claude CLI 直接报告,让你清楚了解支出情况。
-- **高级推理:** 完全支持 Claude 的思维模式和推理能力(当可用时)。
-- **上下文窗口:** Claude 模型具有大上下文窗口,允许你在提示中包含大量代码和上下文。
-- **增强提示功能:** 与 Kilo Code 的增强提示功能完全兼容,允许你在将提示发送给 Claude 之前自动改进和优化提示。
-- **自定义路径:** 如果你将 Claude Code 安装在非默认位置,可以在设置中指定完整路径。例如:
- - Windows: `C:\tools\claude\claude.exe`
- - macOS/Linux: `/usr/local/bin/claude` 或 `~/bin/claude`
-
-## 故障排除
-
-- **"Claude Code process exited with error":** 验证 Claude Code 是否已安装 (`claude --version`) 和已认证 (`claude auth login`)。确保你的订阅包含所选模型。
-- **自定义路径不工作:** 使用指向 Claude 可执行文件的完整绝对路径,并验证文件存在且可执行。在 Windows 上,包含 `.exe` 扩展名。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/deepseek.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/deepseek.md
deleted file mode 100644
index 06f0c3cb365..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/deepseek.md
+++ /dev/null
@@ -1,33 +0,0 @@
----
-sidebar_label: DeepSeek
----
-
-# 在Kilo Code中使用DeepSeek
-
-Kilo Code支持通过DeepSeek API访问模型,包括`deepseek-chat`和`deepseek-reasoner`。
-
-**官方网站:** [https://platform.deepseek.com/](https://platform.deepseek.com/)
-
-## 获取API Key
-
-1. **注册/登录:** 访问[DeepSeek平台](https://platform.deepseek.com/)。创建账号或登录。
-2. **导航到API密钥:** 在平台的[API密钥](https://platform.deepseek.com/api_keys)部分找到你的API密钥。
-3. **创建密钥:** 点击"Create new API key"。为密钥起一个描述性名称(例如"Kilo Code")。
-4. **复制密钥:** **重要:** 立即复制API密钥,之后将无法再次查看。请安全存储。
-
-## 支持的模型
-
-Kilo Code支持以下DeepSeek模型:
-
-* `deepseek-chat` (推荐用于编码任务)
-* `deepseek-reasoner` (推荐用于推理任务)
-
-## 在Kilo Code中配置
-
-1. **打开Kilo Code设置:** 点击Kilo Code面板中的齿轮图标()
-2. **选择提供商:** 从"API Provider"下拉菜单中选择"DeepSeek"
-3. **输入API密钥:** 将DeepSeek API密钥粘贴到"DeepSeek API Key"字段
-4. **选择模型:** 从"Model"下拉菜单中选择所需模型
-
-## 提示和注意事项
-* **价格:** 参考[DeepSeek定价](https://api-docs.deepseek.com/quick_start/pricing/)页面了解模型费用详情
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/fireworks.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/fireworks.md
deleted file mode 100644
index f62f2b3ef45..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/fireworks.md
+++ /dev/null
@@ -1,47 +0,0 @@
----
-sidebar_label: Fireworks AI
----
-
-# 在 Kilo Code 中使用 Fireworks AI
-
-Fireworks AI 是一个高性能的 AI 模型运行平台,可以快速访问各种开源和专有语言模型。它专为速度和可靠性而构建,提供无服务器和专用部署选项,并兼容 OpenAI API。
-
-**网站:** [https://fireworks.ai/](https://fireworks.ai/)
-
----
-
-## 获取 API 密钥
-
-1. **注册/登录:** 前往 [Fireworks AI](https://fireworks.ai/) 创建账户或登录。
-2. **导航到 API 密钥:** 登录后,在账户设置中进入 [API Keys 页面](https://app.fireworks.ai/settings/users/api-keys)。
-3. **创建密钥:** 点击 "Create API key" 并为您的密钥输入一个描述性名称(例如 "Kilo Code")。
-4. **复制密钥:** *立即* 复制 API 密钥并安全存储。您将无法再次查看它。
-
----
-
-## 支持的模型
-
-Kilo Code 支持以下 Fireworks AI 模型:
-
-* `accounts/fireworks/models/kimi-k2-instruct` - Kimi K2 指令调优模型
-* `accounts/fireworks/models/qwen3-235b-a22b-instruct-2507` - Qwen 3 235B 指令调优模型
-* `accounts/fireworks/models/qwen3-coder-480b-a35b-instruct` - Qwen 3 Coder 480B 代码生成模型
-* `accounts/fireworks/models/deepseek-r1-0528` - DeepSeek R1 推理模型
-* `accounts/fireworks/models/deepseek-v3` - DeepSeek V3 最新一代模型
-
----
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 在 Kilo Code 面板中点击齿轮图标 ()。
-2. **选择提供商:** 从 "API Provider" 下拉菜单中选择 "Fireworks AI"。
-3. **输入 API 密钥:** 将您的 Fireworks AI API 密钥粘贴到 "Fireworks AI API Key" 字段中。
-4. **选择模型:** 从 "Model" 下拉菜单中选择您想要的模型。
-
----
-
-## 提示和注意事项
-
-* **性能:** Fireworks AI 针对速度进行了优化,在聊天和完成任务方面都提供出色的性能。
-* **定价:** 请参考 [Fireworks AI 定价](https://fireworks.ai/pricing) 页面了解当前定价信息。
-* **速率限制:** Fireworks AI 有基于使用量的速率限制。请在控制台中监控您的使用情况,如有需要请考虑升级您的计划。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/gemini.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/gemini.md
deleted file mode 100644
index ffb2e7fb03d..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/gemini.md
+++ /dev/null
@@ -1,54 +0,0 @@
----
-sidebar_label: Google Gemini
----
-
-# 在Kilo Code中使用Google Gemini
-
-Kilo Code通过Google AI Gemini API支持Google的Gemini系列模型。
-
-**官网:** [https://ai.google.dev/](https://ai.google.dev/)
-
-## 获取API密钥
-
-1. **访问Google AI Studio:** 打开[https://ai.google.dev/](https://ai.google.dev/)
-2. **登录:** 使用Google账号登录
-3. **创建API密钥:** 点击左侧菜单中的"Create API key"
-4. **复制API密钥:** 复制生成的API密钥
-
-## 支持的模型
-
-Kilo Code支持以下Gemini模型:
-
-### 聊天模型
-
-* `gemini-2.5-pro-exp-03-25`
-* `gemini-2.0-flash-001`
-* `gemini-2.0-flash-lite-preview-02-05`
-* `gemini-2.0-pro-exp-02-05`
-* `gemini-2.0-flash-thinking-exp-01-21`
-* `gemini-2.0-flash-thinking-exp-1219`
-* `gemini-2.0-flash-exp`
-* `gemini-1.5-flash-002`
-* `gemini-1.5-flash-exp-0827`
-* `gemini-1.5-flash-8b-exp-0827`
-* `gemini-1.5-pro-002`
-* `gemini-1.5-pro-exp-0827`
-* `gemini-exp-1206`
-
-### 嵌入模型
-
-* `gemini-embedding-001` - 针对代码库索引和语义搜索进行了优化
-
-有关每个模型的更多详细信息,请参阅 [Gemini 文档](https://ai.google.dev/models/gemini)。
-
-## 在Kilo Code中的配置
-
-1. **打开Kilo Code设置:** 点击Kilo Code面板中的齿轮图标()
-2. **选择提供商:** 在"API Provider"下拉菜单中选择"Google Gemini"
-3. **输入API密钥:** 将Gemini API密钥粘贴到"Gemini API Key"字段
-4. **选择模型:** 从"Model"下拉菜单中选择所需的Gemini模型
-
-## 提示与注意事项
-
-* **定价:** Gemini API使用根据输入和输出的token计费。参考[Gemini定价页面](https://ai.google.dev/pricing)获取详细信息。
-* **代码库索引:** `gemini-embedding-001` 模型专门支持[代码库索引](/features/codebase-indexing),为语义代码搜索提供高质量嵌入。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/glama.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/glama.md
deleted file mode 100644
index 7e0ff6a8498..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/glama.md
+++ /dev/null
@@ -1,37 +0,0 @@
----
-sidebar_label: Glama
----
-
-# 使用 Glama 与 Kilo Code
-
-Glama 通过统一的 API 提供了对多种语言模型的访问,包括来自 Anthropic、OpenAI 和其他提供商的模型。它提供了诸如提示缓存和成本跟踪等功能。
-
-**网站:** [https://glama.ai/](https://glama.ai/)
-
-## 获取 API 密钥
-
-1. **注册/登录:** 前往 [Glama 注册页面](https://glama.ai/sign-up)。使用您的 Google 账户或姓名/电子邮件/密码注册。
-2. **获取 API 密钥:** 注册后,导航到 [API 密钥](https://glama.ai/settings/gateway/api-keys) 页面以获取 API 密钥。
-3. **复制密钥:** 复制显示的 API 密钥。
-
-## 支持的模型
-
-Kilo Code 会自动尝试从 Glama API 获取可用模型的列表。通常通过 Glama 提供的一些模型包括:
-
-* **Anthropic Claude 模型:** (例如,`anthropic/claude-3-5-sonnet`)这些通常推荐用于与 Kilo Code 的最佳性能。
-* **OpenAI 模型:** (例如,`openai/o3-mini-high`)
-* **其他提供商和开源模型**
-
-请参阅 [Glama 文档](https://glama.ai/models) 获取最新支持的模型列表。
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()。
-2. **选择提供商:** 从 "API 提供商" 下拉菜单中选择 "Glama"。
-3. **输入 API 密钥:** 将您的 Glama API 密钥粘贴到 "Glama API 密钥" 字段中。
-4. **选择模型:** 从 "模型" 下拉菜单中选择您想要的模型。
-
-## 提示和注意事项
-
-* **定价:** Glama 采用按使用量计费的模式。根据您选择的模型,定价会有所不同。
-* **提示缓存:** Glama 支持提示缓存,这可以显著降低成本并提高重复提示的性能。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/groq.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/groq.md
deleted file mode 100644
index 1953ae7ead4..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/groq.md
+++ /dev/null
@@ -1,92 +0,0 @@
----
-sidebar_label: Groq
----
-
-# 在 Kilo Code 中使用 Groq
-
-Groq 通过其高性能基础设施为各种 AI 模型提供超快速推理。Kilo Code 支持通过 Groq API 访问模型。
-
-**网站:** [https://groq.com/](https://groq.com/)
-
-## 获取 API 密钥
-
-要将 Groq 与 Kilo Code 一起使用,您需要从 [GroqCloud 控制台](https://console.groq.com/)获取 API 密钥。注册或登录后,导航到仪表板的 API 密钥部分以创建和复制您的密钥。
-
-## 支持的模型
-
-Kilo Code 将尝试从 Groq API 获取可用模型列表。通过 Groq 通常可用的模型包括:
-
-* `llama3-8b-8192`
-* `llama3-70b-8192`
-* `mixtral-8x7b-32768`
-* `gemma-7b-it`
-* `moonshotai/kimi-k2-instruct` (Kimi K2 模型)
-
-**注意:** 模型可用性和规格可能会发生变化。请参阅 [Groq 文档](https://console.groq.com/docs/models)以获取最新支持的模型列表及其功能。
-
-## Kilo Code 中的配置
-
-1. **打开 Kilo Code 设置:** 单击 Kilo Code 面板中的齿轮图标()。
-2. **选择提供商:** 从“API 提供商”下拉菜单中选择“Groq”。
-3. **输入 API 密钥:** 将您的 Groq API 密钥粘贴到“Groq API 密钥”字段中。
-4. **选择模型:** 从“模型”下拉菜单中选择您想要的模型。
-
-## 提示和注意事项
-
-* **高速推理:** Groq 的 LPU 提供异常快速的响应时间,使其成为交互式开发工作流的理想选择。
-* **Token 限制:** 某些模型具有特定的 `max_tokens` 限制,Kilo Code 会自动处理(例如,`moonshotai/kimi-k2-instruct` 模型)。
-* **成本效益:** 高性能推理具有竞争力的定价。
-* **模型选择:** 根据您的特定需求选择模型 - 对于复杂推理任务,选择 `llama3-70b-8192` 等大型模型,或者对于更快、更简单的操作,选择 `llama3-8b-8192` 等小型模型。
-
-## 支持的模型
-
-Kilo Code 通过 Groq 支持以下模型:
-
-| Model ID | Provider | Context Window | Notes |
-|----------|----------|----------------|-------|
-| `moonshotai/kimi-k2-instruct` | Moonshot AI | 128K tokens | 已配置优化 `max_tokens` 限制 |
-| `llama-3.3-70b-versatile` | Meta | 128K tokens | 高性能 Llama 模型 |
-| `llama-3.1-70b-versatile` | Meta | 128K tokens | 通用推理能力 |
-| `llama-3.1-8b-instant` | Meta | 128K tokens | 快速推理,适用于快速任务 |
-| `mixtral-8x7b-32768` | Mistral AI | 32K tokens | 专家混合架构 |
-
-**注意:** 模型可用性可能会发生变化。请参阅 [Groq 文档](https://console.groq.com/docs/models)以获取最新的模型列表和规格。
-
-## Kilo Code 中的配置
-
-1. **打开 Kilo Code 设置:** 单击 Kilo Code 面板中的齿轮图标()。
-2. **选择提供商:** 从“API 提供商”下拉菜单中选择“Groq”。
-3. **输入 API 密钥:** 将您的 Groq API 密钥粘贴到“Groq API 密钥”字段中。
-4. **选择模型:** 从“模型”下拉菜单中选择您想要的模型。
-
-## 模型特定功能
-
-### Kimi K2 模型
-
-`moonshotai/kimi-k2-instruct` 模型包含优化配置:
-
-- **最大 Token 限制:** 自动配置适当的限制以获得最佳性能
-- **上下文理解:** 非常适合复杂推理和长上下文任务
-- **多语言支持:** 在多种语言中表现出色
-
-## 提示和注意事项
-
-- **超快速推理:** Groq 的硬件加速提供异常快速的响应时间
-- **成本效益:** 高性能推理具有竞争力的定价
-- **速率限制:** 请注意根据您的 Groq 计划的 API 速率限制
-- **模型选择:** 根据您的特定用例选择模型:
- - **Kimi K2**:最适合复杂推理和多语言任务
- - **Llama 3.3 70B**:出色的通用性能
- - **Llama 3.1 8B Instant**:最快的响应,适用于简单任务
- - **Mixtral**:性能和效率的良好平衡
-
-## 故障排除
-
-- **“无效 API 密钥”:** 验证您的 API 密钥在 Groq 控制台中是否正确且处于活动状态
-- **“模型不可用”:** 检查所选模型在您所在区域是否可用
-- **速率限制错误:** 在 Groq 控制台中监视您的使用情况并考虑升级您的计划
-- **连接问题:** 确保您有稳定的互联网连接并且 Groq 服务正常运行
-
-## 定价
-
-Groq 根据输入和输出 token 提供有竞争力的定价。访问 [Groq 定价页面](https://groq.com/pricing/)以获取当前费率和计划选项。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/human-relay.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/human-relay.md
deleted file mode 100644
index cfb1db88bd6..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/human-relay.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# 人工中继提供商
-
-人工中继提供商允许您在不需要 API 密钥的情况下,使用基于 Web 的 AI 模型(如 ChatGPT 或 Claude)与 Kilo Code 配合使用。相反,它依赖于您在 Kilo Code 和 AI 的 Web 界面之间手动传递消息。
-
-## 工作原理
-
-1. **选择人工中继:** 在 Kilo Code 的设置中选择 "人工中继" 作为您的 API 提供商。无需 API 密钥。
-2. **发起请求:** 像往常一样开始与 Kilo Code 的聊天或任务。
-3. **对话框提示:** 在 VS Code 中会弹出一个对话框。您发送给 AI 的消息会自动复制到剪贴板。
-4. **粘贴到 Web AI:** 前往您选择的 AI 的 Web 界面(例如,chat.openai.com, claude.ai),并将剪贴板中的消息粘贴到聊天输入框中。
-5. **复制 AI 的回复:** 当 AI 回复后,复制其完整的回复文本。
-6. **粘贴回 Kilo Code:** 返回 VS Code 中的对话框,将 AI 的回复粘贴到指定字段中,然后点击“确认”。
-7. **继续:** Kilo Code 会像处理直接来自 API 的响应一样处理该回复。
-
-## 使用场景
-
-此提供商在以下情况下有用:
-
-* 您想使用不提供直接 API 访问的模型。
-* 您不希望管理 API 密钥。
-* 您需要利用某些 AI 模型的 Web UI 中提供的特定功能或上下文。
-
-## 限制
-
-* **手动操作:** 需要在 VS Code 和浏览器之间不断进行复制粘贴。
-* **交互速度较慢:** 来回传递的过程比直接 API 集成要慢得多。
-* **可能出现错误:** 手动复制粘贴可能会引入错误或遗漏。
-
-当使用特定 Web AI 的好处超过了手动中继过程的不便时,请选择此提供商。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/kilocode.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/kilocode.md
deleted file mode 100644
index d401e8dd6b4..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/kilocode.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-sidebar_label: Kilo Code Provider
----
-
-# 使用 Kilo Code 的 API 提供商
-
-Kilo Code 提供自己的内置 API 提供商,通过简单的注册过程即可访问最新的前沿编码模型。无需管理来自多个提供商的 API 密钥——只需注册即可开始编码。
-
-**网站:** [https://kilocode.ai/](https://kilocode.ai/)
-
-## 免费积分入门
-
-注册 Kilo Code 时,你可能会收到免费积分以帮助你开始使用:
-
-1. **注册:** 完成注册(我们可能需要临时冻结来验证身份)
-2. **首次充值:** 向账户充值(最低 5 美元)并获得 20 美元奖励积分
-3. **开始编码:** 尽情使用你的免费积分
-
-:::note 关于临时冻结
-0.50 美元的冻结仅用于身份验证:
-
-- **免费** - 这是临时授权,不会被收取费用
-- **即时释放** - Kilo Code 在验证后会立即释放冻结
-- **银行处理** - 虽然我们即时释放,但资金返回可能需要几个工作日(因银行而异)
- :::
-
-## 注册流程
-
-Kilo Code 提供简化的注册流程,可将您直接连接到前沿编码模型:
-
-1. **开始注册:** 在扩展中单击“免费试用 Kilo Code”
-2. **登录:** 使用您的 Google 帐户在 kilocode.ai 登录
-3. **授权 VS Code:**
- - kilocode.ai 将提示您打开 Visual Studio Code
- - 对于基于 Web 的 IDE,您将手动复制 API 密钥
-4. **完成设置:** 提示时允许 VS Code 打开授权 URL
-
-
-
-## 支持的模型
-
-Kilo Code 通过其内置提供商提供对最新前沿编码模型的访问。可用的特定模型由 Kilo Code 服务自动更新和管理,确保您始终可以访问最强大的编码任务模型。
-
-## Kilo Code 中的配置
-
-完成注册过程后,Kilo Code 会自动配置:
-
-1. **自动设置:** 成功注册后,Kilo Code 即可立即使用
-2. **无需 API 密钥管理:** 您的身份验证通过注册过程无缝处理
-3. **模型选择:** 通过您的 Kilo Code 帐户自动提供对前沿模型的访问
-
-## 提示和注意事项
-
-- **免费积分:** 新用户获得免费积分以探索 Kilo Code 的功能
-- **身份验证:** 临时冻结系统确保服务可靠性,同时防止滥用
-- **无缝集成:** 无需管理多个 API 密钥或提供商配置
-- **最新模型:** 自动访问最新的前沿编码模型
-- **提供支持:** 有关定价或 token 的问题,请联系 [hi@kilocode.ai](mailto:hi@kilocode.ai)
-
-有关详细设置说明,请参阅[设置 Kilo Code](/getting-started/setting-up)。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/lmstudio.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/lmstudio.md
deleted file mode 100644
index 1f16776b062..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/lmstudio.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-sidebar_label: LM Studio
----
-
-# 在 Kilo Code 中使用 LM Studio
-
-Kilo Code 支持使用 LM Studio 在本地运行模型。LM Studio 提供了一个用户友好的界面,用于下载、配置和运行本地语言模型。它还包括一个内置的本地推理服务器,模拟 OpenAI API,使其易于与 Kilo Code 集成。
-
-**网站:** [https://lmstudio.ai/](https://lmstudio.ai/)
-
-## 设置 LM Studio
-
-1. **下载并安装 LM Studio:** 从 [LM Studio 网站](https://lmstudio.ai/)下载 LM Studio。
-2. **下载模型:** 使用 LM Studio 界面搜索并下载模型。一些推荐的模型包括:
- * CodeLlama 模型(例如,`codellama:7b-code`、`codellama:13b-code`、`codellama:34b-code`)
- * Mistral 模型(例如,`mistralai/Mistral-7B-Instruct-v0.1`)
- * DeepSeek Coder 模型(例如,`deepseek-coder:6.7b-base`)
- * 任何其他受 Kilo Code 支持的模型,或者您可以设置上下文窗口的模型。
-
- 查找 GGUF 格式的模型。LM Studio 提供搜索界面以查找和下载模型。
-3. **启动本地服务器:**
- * 打开 LM Studio。
- * 单击“**本地服务器**”选项卡(图标看起来像 `<->`)。
- * 选择您下载的模型。
- * 单击“**启动服务器**”。
-
-## Kilo Code 中的配置
-
-1. **打开 Kilo Code 设置:** 单击 Kilo Code 面板中的齿轮图标()。
-2. **选择提供商:** 从“API 提供商”下拉菜单中选择“LM Studio”。
-3. **输入模型 ID:** 输入您在 LM Studio 中加载的模型的文件名(例如,`codellama-7b.Q4_0.gguf`)。您可以在 LM Studio 的“本地服务器”选项卡中找到此信息。
-4. **(可选)基本 URL:** 默认情况下,Kilo Code 将连接到 `http://localhost:1234` 处的 LM Studio。如果您已将 LM Studio 配置为使用不同的地址或端口,请在此处输入完整的 URL。
-
-## 提示和注意事项
-
-* **资源要求:** 在本地运行大型语言模型可能资源密集。确保您的计算机满足您选择的模型的最低要求。
-* **模型选择:** LM Studio 提供各种模型。尝试找到最适合您需求的模型。
-* **本地服务器:** LM Studio 本地服务器必须运行,Kilo Code 才能连接到它。
-* **LM Studio 文档:** 有关更多信息,请参阅 [LM Studio 文档](https://lmstudio.ai/docs)。
-* **故障排除:** 如果您看到“请检查 LM Studio 开发人员日志以调试出了什么问题”错误,您可能需要调整 LM Studio 中的上下文长度设置。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/mistral.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/mistral.md
deleted file mode 100644
index 919ae0ce3bd..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/mistral.md
+++ /dev/null
@@ -1,53 +0,0 @@
----
-sidebar_label: Mistral AI
----
-
-# 在 Kilo Code 中使用 Mistral AI
-
-Kilo Code 支持通过 Mistral AI API 访问模型,包括标准 Mistral 模型和代码专用 Codestral 模型。
-
-**网站:** [https://mistral.ai/](https://mistral.ai/)
-
-## 获取 API 密钥
-
-1. **注册/登录:** 访问 [Mistral 平台](https://console.mistral.ai/)。创建帐户或登录。您可能需要通过验证过程。
-2. **创建 API 密钥:**
- - [La Plateforme API 密钥](https://console.mistral.ai/api-keys/)和/或
- - [Codestral API 密钥](https://console.mistral.ai/codestral)
-
-## 支持的模型
-
-Kilo Code 支持以下 Mistral 模型:
-
-| 模型 ID | 模型默认温度 | 函数调用 | 视觉/图像支持 |
-|------------------------|-------------------------|------------------|--------|
-| codestral-latest | 0.3 | ✅ | ❌ |
-| devstral | 0.3 | ✅ | ❌ |
-| mistral-large-latest | 0.7 | ✅ | ❌ |
-| ministral-8b-latest | 0.3 | ✅ | ❌ |
-| ministral-3b-latest | 0.3 | ✅ | ❌ |
-| mistral-small-latest | 0.3 | ✅ | ❌ |
-| pixtral-large-latest | 0.7 | ✅ | ✅ |
-Kilo Code中的默认模型温度为0.0,因此您应该考虑尝试[调整温度](/features/model-temperature)!
-
-**注意:** 模型的可用性和规格可能会发生变化。
-请参考[Mistral AI文档](https://docs.mistral.ai/api/)和[Mistral模型概述](https://docs.mistral.ai/getting-started/models/models_overview/)获取最新信息。
-
-## 在Kilo Code中配置
-
-1. **打开Kilo Code设置:** 点击Kilo Code面板中的齿轮图标()。
-2. **选择提供商:** 从"API提供商"下拉菜单中选择"Mistral"。
-3. **输入API密钥:** 如果您使用`mistral`模型,请将Mistral API密钥粘贴到"Mistral API密钥"字段中。如果您打算使用`codestral-latest`,请参阅下面的"Codestral"部分。
-4. **选择模型:** 从"模型"下拉菜单中选择所需的模型。
-
-## 使用Codestral
-
-[Codestral](https://docs.mistral.ai/capabilities/code_generation/)是一个专门用于代码生成和交互的模型。
-只有Codestral可以使用不同的端点(默认: codestral.mistral.ai)。
-对于La Platforme API密钥,请将**Codestral基础URL**更改为: https://api.mistral.ai
-
-要使用Codestral:
-
-1. **选择"Mistral"作为API提供商。**
-2. **选择Codestral模型**
-3. **输入您的Codestral (codestral.mistral.ai)或La Plateforme (api.mistral.ai) API密钥。**
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/ollama.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/ollama.md
deleted file mode 100644
index 2aea2bab959..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/ollama.md
+++ /dev/null
@@ -1,99 +0,0 @@
----
-侧边栏标签: Ollama
----
-
-# 在Kilo Code中使用Ollama
-
-Kilo Code 支持通过 Ollama 在本地运行模型。这提供了隐私保护、离线访问能力,并可能降低成本,但需要更多设置且依赖高性能计算机。
-
-**官方网站:** [https://ollama.com/](https://ollama.com/)
-
-
-*使用 devstral 编写贪吃蛇游戏*
-
-## 管理期望
-
-可以在本地运行的LLM通常比云端托管的LLM(如Claude和GPT)要小得多,因此结果也会逊色不少。
-它们更容易陷入循环、无法正确使用工具或在代码中产生语法错误。
-要找到合适的提示词通常需要更多的反复试验。
-本地运行LLM通常也不够快。
-使用简单的提示词、保持对话简短并禁用MCP工具可以提高运行速度。
-
-## 硬件要求
-
-你需要一块拥有大量显存(24GB或以上)的GPU,或者一台拥有大量统一内存(32GB或以上)的MacBook,才能以良好的速度运行下面讨论的模型。
-
-## 选择模型
-
-Ollama 支持许多不同的模型。
-你可以在 [Ollama 网站](https://ollama.com/library) 上找到可用模型的列表。
-
-对于 Kilo Code 代理,当前推荐使用 `qwen3-coder:30b`。`qwen3-coder:30b` 有时无法正确调用工具(相比完整版 `qwen3-coder:480b` 模型,这个问题更常见)。作为一个混合专家模型,这可能是因为它激活了错误的专家。每当发生这种情况时,尝试更改你的提示词或使用“增强提示”按钮。
-
-`qwen3-coder:30b` 的替代方案是 `devstral:24b`。对于 Kilo Code 的其他功能,如增强提示或提交信息生成,较小的模型可能就足够了。
-
-## 设置 Ollama
-
-要设置 Ollama 以与 Kilo Code 一起使用,请按照以下说明操作。
-
-### 下载并安装 Ollama
-
-从 [Ollama 网站](https://ollama.com/) 下载 Ollama 安装程序(或使用你操作系统的包管理器)。按照安装说明操作,然后确保 Ollama 正在运行:
-
-```bash
-ollama serve
-```
-
-### 下载模型
-
-要下载模型,请打开第二个终端(`ollama serve` 需要正在运行)并运行:
-
-```bash
-ollama pull
-```
-
-例如:
-
-```bash
-ollama pull qwen3-coder:30b
-```
-
-### 配置上下文长度
-
-默认情况下,Ollama 会将提示截断为非常短的长度,[如这里所述](https://github.com/ollama/ollama/blob/4383a3ab7a075eff78b31f7dc84c747e2fcd22b8/docs/faq.md#how-can-i-specify-the-context-window-size)。
-
-你需要至少 32k 才能获得不错的结果,但增加上下文长度会增加内存使用量,并可能降低性能,具体取决于你的硬件。
-要配置模型,你需要设置其参数并保存一个副本。
-
-加载模型(我们将使用 `qwen3-coder:30b` 作为示例):
-
-```bash
-ollama run qwen3-coder:30b
-```
-
-更改上下文大小参数:
-
-```bash
-/set parameter num_ctx 32768
-```
-
-保存模型并命名为新名称:
-
-```bash
-/save qwen3-coder-30b-c32k
-```
-
-你也可以设置 `OLLAMA_CONTEXT_LENGTH` 环境变量,
-但不推荐这样做,因为它会改变所有模型的上下文,而且该环境变量需要对 Ollama 服务器和 IDE 都可见。
-
-### 配置 Kilo Code
-
-- 打开 Kilo Code 侧边栏( 图标)。
-- 点击设置齿轮图标()。
-- 选择 "Ollama" 作为 API 提供商。
-- 选择在上一步中配置的模型。
-- (可选)如果你在不同的机器上运行 Ollama,可以配置基础 URL。默认值为 `http://localhost:11434`。
-
-## 进一步阅读
-
-有关安装、配置和使用 Ollama 的更多信息,请参阅 [Ollama 文档](https://ollama.com/docs)。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openai-compatible.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openai-compatible.md
deleted file mode 100644
index d0d443c2e29..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openai-compatible.md
+++ /dev/null
@@ -1,83 +0,0 @@
----
-sidebar_label: OpenAI 兼容
----
-
-# 使用 OpenAI 兼容的提供商与 Kilo Code
-
-Kilo Code 支持多种提供 OpenAI API 标准兼容的 AI 模型提供商。这意味着你可以使用 *除了* OpenAI 之外的其他提供商的模型,同时仍然使用熟悉的 API 接口。这包括以下提供商:
-
-* **本地模型** 通过 Ollama 和 LM Studio 等工具运行(在单独的部分中介绍)。
-* **云提供商** 如 Perplexity、Together AI、Anyscale 等。
-* **任何其他** 提供 OpenAI 兼容 API 端点的提供商。
-
-本文档重点介绍 *除了* 官方 OpenAI API 之外的提供商的设置(官方 OpenAI API 有[专门的配置页面](/providers/openai))。
-
-## 通用配置
-
-使用 OpenAI 兼容提供商的关键是配置两个主要设置:
-
-1. **基础 URL:** 这是提供商的 API 端点。它 *不会* 是 `https://api.openai.com/v1`(这是官方 OpenAI API 的地址)。
-2. **API 密钥:** 这是你从提供商处获取的密钥。
-3. **模型 ID:** 这是特定模型的名称。
-
-你可以在 Kilo Code 设置面板中找到这些设置(点击 图标):
-
-* **API 提供商:** 选择 "OpenAI 兼容"。
-* **基础 URL:** 输入你选择的提供商提供的基础 URL。**这非常关键。**
-* **API 密钥:** 输入你的 API 密钥。
-* **模型:** 选择一个模型。
-* **模型配置:** 这允许你为模型自定义高级配置
- - 最大输出 tokens
- - 上下文窗口
- - 图像支持
- - 计算机使用
- - 输入价格
- - 输出价格
-
-### 完整端点 URL 支持
-
-Kilo Code 支持在基本 URL 字段中输入完整端点 URL,为提供商配置提供更大的灵活性:
-
-**标准基本 URL 格式:**
-```
-https://api.provider.com/v1
-```
-
-**完整端点 URL 格式:**
-```
-https://api.provider.com/v1/chat/completions
-https://custom-endpoint.provider.com/api/v2/models/chat
-```
-
-此增强功能允许您:
-- 连接到具有非标准端点结构的提供商
-- 使用自定义 API 网关或代理服务
-- 与需要特定端点路径的提供商合作
-- 与企业或自托管 API 部署集成
-
-**注意:** 使用完整端点 URL 时,请确保 URL 指向您的提供商的正确聊天完成端点。
-
-## 支持的模型(适用于 OpenAI 原生端点)
-
-虽然此提供商类型允许连接到各种端点,但如果你直接连接到官方 OpenAI API(或完全镜像它的端点),Kilo Code 会根据其源代码中的 `openAiNativeModels` 定义识别以下模型 ID:
-
-* `o3-mini`
-* `o3-mini-high`
-* `o3-mini-low`
-* `o1`
-* `o1-preview`
-* `o1-mini`
-* `gpt-4.5-preview`
-* `gpt-4o`
-* `gpt-4o-mini`
-
-**注意:** 如果你使用其他 OpenAI 兼容的提供商(如 Together AI、Anyscale 等),可用的模型 ID 会有所不同。请始终参考你特定提供商的文档以获取支持的模型名称。
-
-## 故障排除
-
-* **"无效的 API 密钥":** 请仔细检查你是否正确输入了 API 密钥。
-* **"未找到模型":** 确保你使用的模型 ID 对你选择的提供商有效。
-* **连接错误:** 验证基础 URL 是否正确,以及你的提供商 API 是否可访问。
-* **意外结果:** 如果你得到意外的结果,请尝试使用不同的模型。
-
-通过使用 OpenAI 兼容的提供商,你可以利用 Kilo Code 的灵活性与更广泛的 AI 模型。请始终参考你提供商的文档以获取最准确和最新的信息。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openai.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openai.md
deleted file mode 100644
index 392c5043d46..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openai.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-sidebar_label: OpenAI
----
-
-# 在 Kilo Code 中使用 OpenAI
-
-Kilo Code 支持通过官方 OpenAI API 直接访问模型。
-
-**官方网站:** [https://openai.com/](https://openai.com/)
-
-## 获取 API 密钥
-
-1. **注册/登录:** 访问 [OpenAI 平台](https://platform.openai.com/)。创建账户或登录
-2. **导航到 API 密钥:** 前往 [API keys](https://platform.openai.com/api-keys) 页面
-3. **创建密钥:** 点击 "Create new secret key"。为密钥起一个描述性名称(如 "Kilo Code")
-4. **复制密钥:** **重要:** 立即复制 API 密钥。之后将无法再次查看。请安全存储
-
-## 支持的模型
-
-Kilo Code 支持多种 OpenAI 模型,包括:
-
-* `o3-mini` (中等推理能力)
-* `o3-mini-high` (高推理能力)
-* `o3-mini-low` (低推理能力)
-* `o1`
-* `o1-preview`
-* `o1-mini`
-* `gpt-4.5-preview`
-* `gpt-4o`
-* `gpt-4o-mini`
-
-请参考 [OpenAI 模型文档](https://platform.openai.com/docs/models) 获取最新的模型列表和能力说明。
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()
-2. **选择提供商:** 从 "API Provider" 下拉菜单中选择 "OpenAI"
-3. **输入 API 密钥:** 将你的 OpenAI API 密钥粘贴到 "OpenAI API Key" 字段
-4. **选择模型:** 从 "Model" 下拉菜单中选择你需要的模型
-
-## 提示和注意事项
-
-* **定价:** 请参考 [OpenAI 定价](https://openai.com/pricing) 页面了解模型成本详情
-* **Azure OpenAI 服务:** 如需使用 Azure OpenAI 服务,请参阅我们的 [OpenAI 兼容](/providers/openai-compatible) 提供商章节
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openrouter.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openrouter.md
deleted file mode 100644
index bd2b243258d..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/openrouter.md
+++ /dev/null
@@ -1,37 +0,0 @@
----
-sidebar_label: OpenRouter
----
-
-# 在Kilo Code中使用OpenRouter
-
-OpenRouter是一个AI平台,提供来自不同供应商的各种语言模型访问,所有功能都通过单一API实现。这可以简化设置并让你轻松尝试不同模型。
-
-**网站:** [https://openrouter.ai/](https://openrouter.ai/)
-
-## 获取API密钥
-
-1. **注册/登录:** 访问[OpenRouter网站](https://openrouter.ai/)。使用你的Google或GitHub账号登录。
-2. **获取API密钥:** 进入[密钥页面](https://openrouter.ai/keys)。你应该能看到列出的API密钥。如果没有,请创建新密钥。
-3. **复制密钥:** 复制API密钥。
-
-## 支持的模型
-
-OpenRouter支持大量且不断增长的模型。Kilo Code会自动获取可用模型列表。请参考[OpenRouter模型页面](https://openrouter.ai/models)获取完整和最新的列表。
-
-## 在Kilo Code中配置
-
-1. **打开Kilo Code设置:** 点击Kilo Code面板中的齿轮图标()。
-2. **选择供应商:** 从"API Provider"下拉菜单中选择"OpenRouter"。
-3. **输入API密钥:** 将OpenRouter API密钥粘贴到"OpenRouter API Key"字段。
-4. **选择模型:** 从"Model"下拉菜单中选择你需要的模型。
-5. **(可选)自定义基础URL:** 如果需要为OpenRouter API使用自定义基础URL,请勾选"Use custom base URL"并输入URL。大多数用户应留空此项。
-
-## 支持的转换
-
-OpenRouter提供[可选的"middle-out"消息转换](https://openrouter.ai/docs/features/message-transforms)功能,帮助处理超过模型最大上下文大小的提示。你可以通过勾选"Compress prompts and message chains to the context size"框来启用它。
-
-## 提示和注意事项
-
-* **模型选择:** OpenRouter提供多种模型。尝试找到最适合你需求的模型。
-* **定价:** OpenRouter根据基础模型的定价收费。详情请参阅[OpenRouter模型页面](https://openrouter.ai/models)。
-* **提示缓存:** 部分供应商支持提示缓存。请参阅OpenRouter文档了解支持的模型。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/requesty.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/requesty.md
deleted file mode 100644
index bf393831330..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/requesty.md
+++ /dev/null
@@ -1,39 +0,0 @@
----
-sidebar_label: Requesty
----
-
-# 在 Kilo Code 中使用 Requesty
-
-Kilo Code 支持通过 [Requesty](https://www.requesty.ai/) AI 平台访问模型。Requesty 提供了一个简单且优化的 API,用于与 150+ 大型语言模型 (LLMs) 进行交互。
-
-**网站:** [https://www.requesty.ai/](https://www.requesty.ai/)
-
-## 获取 API 密钥
-
-1. **注册/登录:** 访问 [Requesty 网站](https://www.requesty.ai/) 并创建账户或登录。
-2. **获取 API 密钥:** 您可以从 Requesty 仪表板的 [API 管理](https://app.requesty.ai/manage-api) 部分获取 API 密钥。
-
-## 支持的模型
-
-Requesty 提供了对多种模型的访问。Kilo Code 会自动获取最新的可用模型列表。您可以在 [模型列表](https://app.requesty.ai/router/list) 页面上查看所有可用模型的完整列表。
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()。
-2. **选择提供商:** 从 "API 提供商" 下拉菜单中选择 "Requesty"。
-3. **输入 API 密钥:** 将您的 Requesty API 密钥粘贴到 "Requesty API 密钥" 字段中。
-4. **选择模型:** 从 "模型" 下拉菜单中选择您想要的模型。
-
-## 提示和注意事项
-
-- **优化:** Requesty 提供了多种实时成本优化功能,以降低您的成本。
-- **统一且简化的计费:** 通过一个 [API 密钥](https://app.requesty.ai/manage-api) 无限制地访问所有提供商和模型,自动充值余额等。
-- **成本跟踪:** 通过 [成本仪表板](https://app.requesty.ai/cost-management) 或 [Requesty VS.code 扩展](https://marketplace.visualstudio.com/items?itemName=Requesty.requesty) 跟踪每个模型、编程语言、更改文件等的成本。
-- **统计和日志:** 查看您的 [编程统计仪表板](https://app.requesty.ai/usage-stats) 或查阅您的 [LLM 交互日志](https://app.requesty.ai/logs)。
-- **回退策略:** 当提供商出现故障时,通过回退策略保持您的 LLM 正常工作。
-- **提示缓存:** 一些提供商支持提示缓存。[搜索支持缓存的模型](https://app.requesty.ai/router/list)。
-
-## 相关资源
-
-- [Requesty Youtube 频道](https://www.youtube.com/@requestyAI):
-- [Requesty Discord](https://requesty.ai/discord)
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/unbound.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/unbound.md
deleted file mode 100644
index 69b87853898..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/unbound.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-sidebar_label: Unbound
----
-
-# 在 Kilo Code 中使用 Unbound
-
-Kilo Code 支持通过 [Unbound](https://getunbound.ai/) 访问模型,该平台专注于提供安全可靠的多种大型语言模型 (LLMs) 访问。Unbound 充当网关,允许您使用来自 Anthropic 和 OpenAI 等提供商的模型,而无需直接管理多个 API 密钥和配置。他们强调企业级的安全和合规功能。
-
-**网站:** [https://getunbound.ai/](https://getunbound.ai/)
-
-## 创建账户
-
-1. **注册/登录:** 访问 [Unbound 网关](https://gateway.getunbound.ai)。创建账户或登录。
-2. **创建应用程序:** 转到 [应用程序](https://gateway.getunbound.ai/ai-gateway-applications) 页面并点击 "创建应用程序" 按钮。
-3. **复制 API 密钥:** 将 API 密钥复制到剪贴板。
-
-## 支持的模型
-
-Unbound 允许您在应用程序中配置支持的模型列表,Kilo Code 会自动从 Unbound API 获取可用模型列表。
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()。
-2. **选择提供商:** 从 "API 提供商" 下拉菜单中选择 "Unbound"。
-3. **输入 API 密钥:** 将您的 Unbound API 密钥粘贴到 "Unbound API 密钥" 字段中。
-4. **选择模型:** 从 "模型" 下拉菜单中选择您想要的模型。
-
-## 提示和注意事项
-
-* **安全重点:** Unbound 强调企业级的安全功能。如果您的组织对 AI 使用有严格的安全要求,Unbound 可能是一个不错的选择。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/v0.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/v0.md
deleted file mode 100644
index 8304ba3a66c..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/v0.md
+++ /dev/null
@@ -1,47 +0,0 @@
----
-sidebar_label: v0
----
-
-# 在 Kilo Code 中使用 v0
-
-Kilo Code 支持 v0,Vercel 的 AI 模型提供商,它提供与 OpenAI 兼容的 API。这允许您通过熟悉的 OpenAI API 界面在 Kilo Code 中使用 v0 的模型。
-
-## 先决条件
-
-要在 Kilo Code 中使用 v0,您需要:
-
-* 一个带有 Vercel v0 的团队帐户
-* 一个 v0 API 密钥
-
-## 配置
-
-在 Kilo Code 中设置 v0 非常简单:
-
-1. 在 Kilo Code 设置中(单击 图标):
- * 在 **API 提供商**下,选择:**OpenAI 兼容**
- * 设置 **基本 URL**:`https://api.v0.dev/v1`
- * 粘贴您的 v0 API 密钥
- * 设置 **模型 ID**:`v0-1.0-md`
- * 单击 **验证** 以确认连接
-
-
-
-## 支持的模型
-
-目前,v0 提供以下模型:
-
-* `v0-1.0-md` - v0 的多模态模型,支持文本和图像输入
-* `v0-1.5-lg` - 复合模型([了解更多](https://vercel.com/blog/v0-composite-model-family))
-* `v0-1.5.md` - 复合模型([了解更多](https://vercel.com/blog/v0-composite-model-family))
-
-## 故障排除
-
-* **“无效 API 密钥”:** 仔细检查您是否正确输入了 API 密钥。
-* **“模型未找到”:** 确保您使用的是正确的模型 ID(`v0-1.0-md`)。
-* **连接错误:** 验证基本 URL 是否正确(`https://api.v0.dev/v1`)。
-* **访问问题:** 确认您的 Vercel v0 团队帐户处于活动状态并已正确设置。
-
-## 附加资源
-
-* [v0 官方文档](https://v0.dev)
-* [Vercel AI 文档](https://vercel.com/docs/ai)
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/vertex.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/vertex.md
deleted file mode 100644
index 17d3e84cff8..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/vertex.md
+++ /dev/null
@@ -1,65 +0,0 @@
----
-sidebar_label: GCP Vertex AI
----
-
-# 在 Kilo Code 中使用 GCP Vertex AI
-
-Kilo Code 支持通过 Google Cloud Platform 的 Vertex AI 访问模型,这是一个托管的机器学习平台,提供对多种基础模型的访问,包括 Anthropic 的 Claude 系列。
-
-**网站:** [https://cloud.google.com/vertex-ai](https://cloud.google.com/vertex-ai)
-
-## 先决条件
-
-* **Google Cloud 账户:** 您需要一个活跃的 Google Cloud Platform (GCP) 账户。
-* **项目:** 您需要一个启用了 Vertex AI API 的 GCP 项目。
-* **模型访问权限:** 您必须请求并获准访问您想要使用的特定 Claude 模型。请参阅 [Google Cloud 文档](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude#before_you_begin) 获取说明。
-* **应用程序默认凭据 (ADC):** Kilo Code 使用应用程序默认凭据来与 Vertex AI 进行身份验证。最简单的设置方法是:
- 1. 安装 Google Cloud CLI: [https://cloud.google.com/sdk/docs/install](https://cloud.google.com/sdk/docs/install)
- 2. 使用以下命令进行身份验证:`gcloud auth application-default login`
-* **服务帐户密钥(替代方案):** 或者,您可以使用 Google Cloud 服务帐户密钥文件进行身份验证。您需要在 GCP 项目中生成此密钥。请参阅 [Google Cloud 文档中关于创建服务帐户密钥](https://cloud.google.com/iam/docs/creating-managing-service-account-keys)的部分。
-
-## 支持的模型
-
-Kilo Code 通过 Vertex AI 支持以下模型(基于源代码):
-
-* **Google Gemini 模型:**
- * `gemini-2.5-flash-preview-05-20`
- * `gemini-2.0-flash-001`
- * `gemini-2.5-pro-exp-03-25`
- * `gemini-2.0-pro-exp-02-05`
- * `gemini-2.0-flash-lite-001`
- * `gemini-2.0-flash-thinking-exp-01-21`
- * `gemini-1.5-flash-002`
- * `gemini-1.5-pro-002`
-* **Anthropic Claude 模型:**
- * `claude-opus-4@20250514:thinking`
- * `claude-opus-4@20250514`
- * `claude-sonnet-4@20250514:thinking`
- * `claude-sonnet-4@20250514`
- * `claude-3-7-sonnet@20250219:thinking`
- * `claude-3-7-sonnet@20250219`
- * `claude-3-5-sonnet-v2@20241022`
- * `claude-3-5-sonnet@20240620`
- * `claude-3-5-haiku@20241022`
- * `claude-3-opus@20240229`
- * `claude-3-haiku@20240307`
-
-请参阅 [Google Cloud 关于 Vertex AI 模型的文档](https://cloud.google.com极客/vertex-ai/generative-ai/docs/learn/models) 获取最新可用模型及其 ID 列表。
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()。
-2. **选择提供商:** 从 "API 提供商" 下拉菜单中选择 "GCP Vertex AI"。
-3. **配置身份验证:**
- * **如果使用应用程序默认凭据 (ADC):** 此处无需进一步操作。如果配置正确(请参阅先决条件),ADC 将自动使用。
- * **如果*不*使用 ADC(服务帐户密钥):**
- * **选项 A:粘贴 JSON 内容:** 将您的服务帐户 JSON 密钥文件的全部内容粘贴到 **Google Cloud 凭据**字段中。
- * **选项 B:提供文件路径:** 在 **Google Cloud 密钥文件路径**字段中输入您下载的服务帐户 JSON 密钥文件的绝对路径。
-4. **输入项目 ID:** 输入您的 Google Cloud 项目 ID。
-5. **选择区域:** 选择您的 Vertex AI 资源所在的区域(例如,`us-east5`)。
-6. **选择模型:** 从“模型”下拉菜单中选择您想要的模型。
-
-## 提示和注意事项
-
-* **权限:** 确保您的 Google Cloud 账户具有访问 Vertex AI 和您想要使用的特定模型所需的权限。
-* **定价:** 请参阅 [Vertex AI 定价](https://cloud.google.com/vertex-ai/pricing) 页面了解详情。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/virtual-quota-fallback.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/virtual-quota-fallback.md
deleted file mode 100644
index 1429b9d6f66..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/virtual-quota-fallback.md
+++ /dev/null
@@ -1,78 +0,0 @@
----
-sidebar_label: virtual quota fallback
----
-
-# 使用virtual quota fallback提供商
-
-virtual quota fallback提供商是一个强大的元提供商,允许你配置和管理多个 API 提供商,并根据预定义的使用限制和可用性在它们之间自动切换。这确保你可以最大化利用免费层级服务,并在某个提供商达到配额或遇到错误时无缝回退到其他提供商,从而保持对 AI 模型的持续访问。
-
-对于那些利用多个 LLM 服务并希望智能编排它们的用户来说,这是完美的解决方案——例如,在自动切换到按需付费服务之前,先使用免费提供商直到其限制。
-
-## 工作原理
-
-virtual quota fallback提供商不直接连接到 LLM 服务。相反,它充当你其他已配置提供商档案的管理者。
-
-- **优先级列表:** 你创建一个现有提供商档案的优先级列表。列表顶部的提供商将首先被使用。
-- **使用跟踪:** 你可以根据每分钟、每小时或每天的令牌数或请求数为每个提供商设置自定义限制。Kilo Code 会根据这些限制跟踪每个提供商的使用情况。
-- **自动回退:** 当当前活动的提供商超过其定义的限制之一或返回 API 错误时,系统会自动暂时停用它,并切换到列表中的下一个可用提供商。
-- **通知:** 每当发生自动切换时,你将在 VS Code 中收到一条信息消息,告知你当前活动的提供商。
-
-## 先决条件
-
-在配置此提供商之前,你必须已经在 Kilo Code 中配置了至少一个其他 API 提供商作为单独的档案。只有在有其他档案可供管理时,此提供商才有用。
-
-## 在 Kilo Code 中配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()。
-2. **选择提供商:** 从 "API 提供商" 下拉菜单中选择 "virtual quota fallback"。这将打开其专用配置面板。
-
-
-
-3. **添加提供商档案:**
-
- - 在配置面板中,点击 **"添加档案"** 按钮在列表中创建一个新条目。
- - 点击新条目上的下拉菜单,选择你其他已预配置的提供商档案之一(例如,"OpenAI"、"Chutes AI 免费层级")。
-
-4. **设置使用限制(可选):**
-
- - 添加配置后,你可以指定使用限制。如果将这些字段留空,则不会对该特定指标强制执行任何限制。
- - **每分钟/小时/天的令牌数:** 根据处理的令牌总数(输入 + 输出)限制使用量。
- - **每分钟/小时/天的请求数:** 限制发出的 API 调用总数。
-
-5. **排列你的提供商:**
-
- - 档案的顺序至关重要,因为它定义了回退优先级。顶部的提供商将首先被使用。
- - 使用每个档案旁边的 **上下箭头** 来更改其在列表中的位置。
-
-6. **添加更多提供商:** 重复步骤 3-5 来构建你的完整回退链。你可以添加任意数量的已配置档案。
-
-
-
-## 使用监控
-
-配置屏幕还充当监控列表中每个提供商当前使用情况的仪表板。
-
-- 你可以看到最后一分钟、一小时和一天内使用的令牌数和请求数。
-- 如果需要重置这些计数器,请点击 **"清除使用数据"** 按钮。这将把所有统计数据重置为零,并立即重新启用因超出限制而暂时禁用的任何提供商。
-
-## 使用案例示例
-
-假设你配置了两个档案:
-
-1. **Chutes AI 免费:** 一个免费层级提供商,限制为每小时 5,000 个令牌。
-2. **OpenAI 付费:** 你个人的按需付费 OpenAI 账户。
-
-**配置:**
-
-- 将 "Chutes AI 免费" 放在列表的第一位。
-- 将其 "每小时令牌数" 限制设置为 `5000`。
-- 将 "OpenAI 付费" 放在列表的第二位,不定义任何限制。
-
-**结果:**
-Kilo Code 将把所有请求发送到 Chutes AI。一旦你在一小时内使用的令牌数超过 5,000 个,它将自动切换到你的 OpenAI 账户。当配额窗口在下一小时重置时,系统将切换回 Chutes AI。
-
-## 提示和注意事项
-
-- **优先级是关键:** 始终仔细检查你的档案顺序。预期的主要或免费层级提供商应位于顶部。
-- **基于错误的回退:** 如果你没有为档案设置任何限制,则只有在提供商的 API 返回错误时才会发生回退(例如,服务本身的硬性速率限制、网络问题或无效的 API 密钥)。
-- **无嵌套:** 你不能在此提供商的配置中选择另一个 "virtual quota fallback" 档案,因为这会创建循环依赖。
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/vscode-lm.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/vscode-lm.md
deleted file mode 100644
index b48371a3a8d..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/vscode-lm.md
+++ /dev/null
@@ -1,45 +0,0 @@
----
-sidebar_label: VS Code 语言模型 API
----
-
-# 在 Kilo Code 中使用 VS Code 语言模型 API
-
-Kilo Code 包含对 [VS Code 语言模型 API](https://code.visualstudio.com/api/language-extensions/language-model-access) 的*实验性*支持。该 API 允许扩展直接在 VS Code 中提供对语言模型的访问。这意味着您可以潜在使用以下模型:
-
-* **GitHub Copilot:** 如果您有 Copilot 订阅并安装了该扩展。
-* **其他 VS Code 扩展:** 任何实现语言模型 API 的扩展。
-
-**重要提示:** 此集成是高度实验性的,可能无法按预期工作。它依赖于其他扩展正确实现 VS Code 语言模型 API。
-
-## 先决条件
-
-* **VS Code:** 语言模型 API 通过 VS Code 提供(目前不支持 Cursor)。
-* **语言模型提供者扩展:** 您需要一个提供语言模型的扩展。示例包括:
- * **GitHub Copilot:** 如果您有 Copilot 订阅,GitHub Copilot 和 GitHub Copilot Chat 扩展可以提供模型。
- * **其他扩展:** 在 VS Code 市场搜索提到 "Language Model API" 或 "lm" 的扩展。可能会有其他实验性扩展可用。
-
-## 配置
-
-1. **打开 Kilo Code 设置:** 点击 Kilo Code 面板中的齿轮图标 ()。
-2. **选择提供商:** 从 "API 提供商" 下拉菜单中选择 "VS Code LM API"。
-3. **选择模型:** "语言模型" 下拉菜单将(最终)列出可用模型。格式为 `供应商/系列`。例如,如果您有 Copilot,您可能会看到以下选项:
- * `copilot - claude-3.5-sonnet`
- * `copilot - o3-mini`
- * `copilot - o1-ga`
- * `copilot - gemini-2.0-flash`
-
-## 限制
-
-* **实验性 API:** VS Code 语言模型 API 仍在开发中。预计会有变化和潜在的不稳定性。
-* **依赖扩展:** 此功能完全依赖其他扩展提供模型。Kilo Code 无法直接控制哪些模型可用。
-* **功能有限:** VS Code 语言模型 API 可能不支持其他 API 提供商的所有功能(例如,图像输入、流式传输、详细使用信息)。
-* **无法直接控制成本:** 您将受提供模型的扩展的定价和条款约束。Kilo Code 无法直接跟踪或限制成本。
-* **GitHub Copilot 速率限制:** 使用 VS Code LM API 与 GitHub Copilot 时,请注意 GitHub 可能会对 Copilot 使用施加速率限制。这些限制由 GitHub 控制,而非 Kilo Code。
-
-## 故障排除
-
-* **没有模型出现:**
- * 确保已安装 VS Code。
- * 确保已安装并启用了语言模型提供者扩展(例如,GitHub Copilot, GitHub Copilot Chat)。
- * 如果使用 Copilot,请确保您已使用您想要使用的模型发送了 Copilot Chat 消息。
-* **意外行为:** 如果遇到意外行为,很可能是底层语言模型 API 或提供者扩展的问题。请考虑向提供者扩展的开发人员报告问题。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/xai.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/xai.md
deleted file mode 100644
index a875090a217..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/providers/xai.md
+++ /dev/null
@@ -1,81 +0,0 @@
----
-sidebar_label: xAI (Grok)
----
-
-# 在 Kilo Code 中使用 xAI (Grok)
-
-xAI 是 Grok 背后的公司,Grok 是一种大型语言模型,以其对话能力和大型上下文窗口而闻名。Grok 模型旨在提供有用、信息丰富且与上下文相关的响应。
-
-**网站:** [https://x.ai/](https://x.ai/)
-
-## 获取 API 密钥
-
-1. **注册/登录:** 访问 [xAI 控制台](https://console.x.ai/)。创建帐户或登录。
-2. **导航到 API 密钥:** 转到仪表板中的 API 密钥部分。
-3. **创建密钥:** 单击以创建新的 API 密钥。为您的密钥指定一个描述性名称(例如,“Kilo Code”)。
-4. **复制密钥:** **重要提示:** 立即复制 API 密钥。您将无法再次看到它。请妥善保管。
-
-## 支持的模型
-
-Kilo Code 支持以下 xAI Grok 模型:
-
-### Grok-3 模型
-* `grok-3-beta`(默认)- xAI 的 Grok-3 beta 模型,具有 131K 上下文窗口
-* `grok-3-fast-beta` - xAI 的 Grok-3 快速 beta 模型,具有 131K 上下文窗口
-* `grok-3-mini-beta` - xAI 的 Grok-3 mini beta 模型,具有 131K 上下文窗口
-* `grok-3-mini-fast-beta` - xAI 的 Grok-3 mini 快速 beta 模型,具有 131K 上下文窗口
-
-### Grok-2 模型
-* `grok-2-latest` - xAI 的 Grok-2 模型 - 最新版本,具有 131K 上下文窗口
-* `grok-2` - xAI 的 Grok-2 模型,具有 131K 上下文窗口
-* `grok-2-1212` - xAI 的 Grok-2 模型(版本 1212),具有 131K 上下文窗口
-
-### Grok 视觉模型
-* `grok-2-vision-latest` - xAI 的 Grok-2 视觉模型 - 最新版本,支持图像,具有 32K 上下文窗口
-* `grok-2-vision` - xAI 的 Grok-2 视觉模型,支持图像,具有 32K 上下窗口
-* `grok-2-vision-1212` - xAI 的 Grok-2 视觉模型(版本 1212),支持图像,具有 32K 上下文窗口
-* `grok-vision-beta` - xAI 的 Grok 视觉 Beta 模型,支持图像,具有 8K 上下文窗口
-
-### 遗留模型
-* `grok-beta` - xAI 的 Grok Beta 模型(遗留),具有 131K 上下文窗口
-
-## Kilo Code 中的配置
-
-1. **打开 Kilo Code 设置:** 单击 Kilo Code 面板中的齿轮图标()。
-2. **选择提供商:** 从“API 提供商”下拉菜单中选择“xAI”。
-3. **输入 API 密钥:** 将您的 xAI API 密钥粘贴到“xAI API 密钥”字段中。
-4. **选择模型:** 从“模型”下拉菜单中选择您想要的 Grok 模型。
-
-## 推理能力
-
-Grok 3 Mini 模型具有专业的推理能力,允许它们“在响应前思考”——这对于复杂的解决问题任务特别有用。
-
-### 启用推理的模型
-
-推理仅受以下模型支持:
-* `grok-3-mini-beta`
-* `grok-3-mini-fast-beta`
-
-Grok 3 模型 `grok-3-beta` 和 `grok-3-fast-beta` 不支持推理。
-
-### 控制推理工作量
-
-使用启用推理的模型时,您可以使用 `reasoning_effort` 参数控制模型思考的努力程度:
-
-* `low`:最小思考时间,使用更少的 token 以实现快速响应
-* `high`:最大思考时间,利用更多 token 解决复杂问题
-
-对于应快速完成的简单查询,选择 `low`;对于响应延迟不那么重要的更难问题,选择 `high`。
-
-### 主要功能
-
-* **分步解决问题**:模型在提供答案之前有条不紊地思考问题
-* **数学和定量能力**:擅长数字挑战和逻辑谜题
-* **推理跟踪访问**:模型的思考过程可通过响应完成对象中的 `reasoning_content` 字段获取
-
-## 提示和注意事项
-
-* **上下文窗口:** 大多数 Grok 模型具有大型上下文窗口(高达 131K token),允许您在提示中包含大量代码和上下文。
-* **视觉功能:** 当您需要处理或分析图像时,选择启用视觉的模型(`grok-2-vision-latest`、`grok-2-vision` 等)。
-* **定价:** 定价因模型而异,输入成本从每百万 token 0.3 美元到 5.0 美元不等,输出成本从每百万 token 0.5 美元到 25.0 美元不等。有关最新定价信息,请参阅 xAI 文档。
-* **性能权衡:** “快速”变体通常提供更快的响应时间,但成本可能更高,而“迷你”变体更经济,但功能可能有所降低。
\ No newline at end of file
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/tips-and-tricks.md b/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/tips-and-tricks.md
deleted file mode 100644
index 0e28fa67179..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/tips-and-tricks.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# 技巧与窍门
-
-一些快速提示,帮助你充分利用 Kilo Code。
-
-- 右键点击活动栏中的 Kilo Code 图标,选择 **移动到 → 辅助侧边栏**,将 Kilo Code 移动到[辅助侧边栏](https://code.visualstudio.com/api/ux-guidelines/sidebars#secondary-sidebar),这样你可以同时查看资源管理器、搜索、源代码控制等。
-
- 
-
-- 当 Kilo Code 位于与文件资源管理器分开的侧边栏时,你可以将文件从资源管理器拖到聊天窗口中(甚至可以一次拖多个文件)。只需在开始拖动文件后按住 shift 键。
-- 如果你不使用[MCP](/features/mcp/overview),请在 提示选项卡中关闭它,以显著减少系统提示的大小。
-- 为了保持[自定义模式](/agent-behavior/custom-modes)的正轨,请限制它们可以编辑的文件类型。
-- 如果你遇到`input length and max tokens exceed context limit`错误,可以通过删除消息、回滚到之前的检查点或切换到具有长上下文窗口的模型(如 Gemini)来恢复。
-- 一般来说,对于思考模型的`Max Tokens`设置要深思熟虑。你分配的每个 token 都会占用存储对话历史的空间。考虑仅在 Architect 和 Debug 等模式中使用高`Max Tokens` / `Max Thinking Tokens`设置,并将 Code 模式保持在 16k max tokens 或更少。
-- 如果有一个你希望自定义模式完成的任务的真实职位发布,可以尝试要求 Code 模式`根据@[url]的职位发布创建一个自定义模式`。
-- 如果你想真正加速,可以检出多个代码库副本并在所有副本上并行运行 Kilo Code(使用 git 解决任何冲突,与人类开发人员相同)。
-- 使用 Debug 模式时,要求 Kilo "在 Debug 模式下启动一个新任务,包含解决 X 所需的所有必要上下文",以便调试过程使用其自己的上下文窗口,而不会污染主任务。
-- 点击下方的"编辑此页面"添加你自己的技巧!
-- 为了管理大文件并减少上下文/资源使用,请调整`File read auto-truncate threshold`设置。此设置控制一次读取文件的行数。较低的值可以提高处理非常大文件时的性能,但可能需要更多的读取操作。你可以在 Kilo Code 设置的"高级设置"中找到此设置。
-
-| 浏览器标签页 | 自动批准标签页 | 显示标签页 |
-| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
-| [](https://youtube.com/shorts/VMPKXt8k050?feature=shared) | [](https://youtube.com/shorts/NBccFnYDQ-k?feature=shared) | [](https://youtube.com/shorts/qYrT2pbfS7E?feature=shared) |
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json b/packages/kilo-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json
deleted file mode 100644
index d10b930694d..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "link.title.Community": {
- "message": "社区",
- "description": "The title of the footer links column with title=Community in the footer"
- },
- "link.title.GitHub": {
- "message": "GitHub",
- "description": "The title of the footer links column with title=GitHub in the footer"
- },
- "link.title.Download": {
- "message": "下载",
- "description": "The title of the footer links column with title=Download in the footer"
- },
- "link.title.Company": {
- "message": "公司",
- "description": "The title of the footer links column with title=Company in the footer"
- },
- "link.item.label.Discord": {
- "message": "Discord",
- "description": "The label of footer link with label=Discord linking to https://kilocode.ai/discord"
- },
- "link.item.label.Reddit": {
- "message": "Reddit",
- "description": "The label of footer link with label=Reddit linking to https://www.reddit.com/r/kilocode/"
- },
- "link.item.label.Twitter": {
- "message": "Twitter",
- "description": "The label of footer link with label=Twitter linking to https://x.com/kilocode"
- },
- "link.item.label.Issues": {
- "message": "问题与反馈",
- "description": "The label of footer link with label=Issues linking to https://github.com/Kilo-Org/kilocode/issues"
- },
- "link.item.label.Feature Requests": {
- "message": "功能建议",
- "description": "The label of footer link with label=Feature Requests linking to https://github.com/Kilo-Org/kilocode/discussions/categories/ideas"
- },
- "link.item.label.VS Code Marketplace": {
- "message": "VS Code 扩展市场",
- "description": "The label of footer link with label=VS Code Marketplace linking to https://marketplace.visualstudio.com/items?itemName=kilocode.kilo-code"
- },
- "link.item.label.Open VSX Registry": {
- "message": "Open VSX Registry",
- "description": "The label of footer link with label=Open VSX Registry linking to https://open-vsx.org/extension/kilocode/kilo-code"
- },
- "link.item.label.Contact": {
- "message": "联系我们",
- "description": "The label of footer link with label=Contact linking to mailto:hi@kilocode.ai"
- },
- "link.item.label.Careers": {
- "message": "官网",
- "description": "The label of footer link with label=Careers linking to https://kilocode.ai"
- },
- "link.item.label.Website Privacy Policy": {
- "message": "网站隐私政策",
- "description": "The label of footer link with label=Website Privacy Policy linking to https://kilocode.ai/privacy"
- },
- "link.item.label.Extension Privacy Policy": {
- "message": "扩展隐私政策",
- "description": "The label of footer link with label=Extension Privacy Policy linking to https://github.com/Kilo-Org/kilocode/blob/main/PRIVACY.md"
- }
-}
diff --git a/packages/kilo-docs/i18n/zh-CN/docusaurus-theme-classic/navbar.json b/packages/kilo-docs/i18n/zh-CN/docusaurus-theme-classic/navbar.json
deleted file mode 100644
index 47725fd4f8b..00000000000
--- a/packages/kilo-docs/i18n/zh-CN/docusaurus-theme-classic/navbar.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "title": {
- "message": "Kilo Code",
- "description": "The title in the navbar"
- },
- "logo.alt": {
- "message": "Kilo Code Logo",
- "description": "The alt text of navbar logo"
- },
- "item.label.GitHub": {
- "message": "GitHub",
- "description": "Navbar item with label GitHub"
- },
- "item.label.Install Extension": {
- "message": "安装扩展",
- "description": "Navbar item with label Install Extension"
- }
-}
diff --git a/packages/kilo-docs/lib/nav/ai-providers.ts b/packages/kilo-docs/lib/nav/ai-providers.ts
new file mode 100644
index 00000000000..6899f3c52f8
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/ai-providers.ts
@@ -0,0 +1,85 @@
+import { NavSection } from "../types"
+
+export const AiProvidersNav: NavSection[] = [
+ {
+ title: "AI Providers",
+ links: [
+ { href: "/ai-providers", children: "Overview" },
+ { href: "/ai-providers/kilocode", children: "Kilo Code (Default)" },
+ ],
+ },
+ {
+ title: "AI Labs",
+ links: [
+ { href: "/ai-providers/anthropic", children: "Anthropic" },
+ { href: "/ai-providers/claude-code", children: "Claude Code" },
+ { href: "/ai-providers/openai", children: "OpenAI" },
+ {
+ href: "/ai-providers/openai-chatgpt-plus-pro",
+ children: "ChatGPT Plus/Pro",
+ },
+ { href: "/ai-providers/gemini", children: "Google Gemini" },
+ { href: "/ai-providers/mistral", children: "Mistral AI" },
+ { href: "/ai-providers/deepseek", children: "DeepSeek" },
+ { href: "/ai-providers/xai", children: "xAI (Grok)" },
+ ],
+ },
+ {
+ title: "AI Gateways",
+ links: [
+ { href: "/ai-providers/openrouter", children: "OpenRouter" },
+ { href: "/ai-providers/glama", children: "Glama" },
+ { href: "/ai-providers/requesty", children: "Requesty" },
+ { href: "/ai-providers/unbound", children: "Unbound" },
+ {
+ href: "/ai-providers/vercel-ai-gateway",
+ children: "Vercel AI Gateway",
+ },
+ ],
+ },
+ {
+ title: "Cloud Providers",
+ links: [
+ { href: "/ai-providers/vertex", children: "Google Vertex AI" },
+ { href: "/ai-providers/bedrock", children: "AWS Bedrock" },
+ { href: "/ai-providers/groq", children: "Groq" },
+ { href: "/ai-providers/cerebras", children: "Cerebras" },
+ { href: "/ai-providers/fireworks", children: "Fireworks AI" },
+ ],
+ },
+ {
+ title: "Local & Self-Hosted",
+ links: [
+ { href: "/ai-providers/ollama", children: "Ollama" },
+ { href: "/ai-providers/lmstudio", children: "LM Studio" },
+ { href: "/ai-providers/vscode-lm", children: "VS Code LM API" },
+ {
+ href: "/ai-providers/openai-compatible",
+ children: "OpenAI Compatible",
+ },
+ ],
+ },
+ {
+ title: "Other Providers",
+ links: [
+ { href: "/ai-providers/chutes-ai", children: "Chutes AI" },
+ { href: "/ai-providers/inception", children: "Inception" },
+ { href: "/ai-providers/minimax", children: "MiniMax" },
+ { href: "/ai-providers/moonshot", children: "Moonshot" },
+ { href: "/ai-providers/ovhcloud", children: "OVHcloud" },
+ { href: "/ai-providers/sap-ai-core", children: "SAP AI Core" },
+ ],
+ },
+ {
+ title: "Special Modes",
+ links: [
+ { href: "/ai-providers/v0", children: "v0" },
+ { href: "/ai-providers/human-relay", children: "Human Relay" },
+ { href: "/ai-providers/synthetic", children: "Synthetic Provider" },
+ {
+ href: "/ai-providers/virtual-quota-fallback",
+ children: "Virtual Quota Fallback",
+ },
+ ],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/automate.ts b/packages/kilo-docs/lib/nav/automate.ts
new file mode 100644
index 00000000000..8af350bbef6
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/automate.ts
@@ -0,0 +1,44 @@
+import { NavSection } from "../types"
+
+export const AutomateNav: NavSection[] = [
+ {
+ title: "Agents",
+ links: [
+ { href: "/automate", children: "Overview" },
+ { href: "/automate/integrations", children: "Integrations" },
+ { href: "/automate/code-reviews", children: "Code Reviews" },
+ { href: "/automate/agent-manager", children: "Agent Manager" },
+ ],
+ },
+ {
+ title: "Extending Kilo",
+ links: [
+ { href: "/automate/extending/local-models", children: "Local Models" },
+ {
+ href: "/automate/extending/shell-integration",
+ children: "Shell Integration",
+ },
+ {
+ href: "/automate/extending/auto-launch",
+ children: "Auto-launch Configuration",
+ },
+ ],
+ },
+ {
+ title: "MCP",
+ links: [
+ { href: "/automate/mcp/overview", children: "MCP Overview" },
+ {
+ href: "/automate/mcp/using-in-kilo-code",
+ children: "Using MCP in Kilo Code",
+ },
+ { href: "/automate/mcp/using-in-cli", children: "Using MCP in CLI" },
+ { href: "/automate/mcp/what-is-mcp", children: "What is MCP" },
+ {
+ href: "/automate/mcp/server-transports",
+ children: "Server Transports",
+ },
+ { href: "/automate/mcp/mcp-vs-api", children: "MCP vs API" },
+ ],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/code-with-ai.ts b/packages/kilo-docs/lib/nav/code-with-ai.ts
new file mode 100644
index 00000000000..d052262447e
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/code-with-ai.ts
@@ -0,0 +1,105 @@
+import { NavSection } from "../types"
+
+export const CodeWithAiNav: NavSection[] = [
+ {
+ title: "Platforms",
+ links: [
+ { href: "/code-with-ai", children: "Overview" },
+ { href: "/code-with-ai/platforms/vscode", children: "VS Code Extension" },
+ {
+ href: "/code-with-ai/platforms/jetbrains",
+ children: "JetBrains Extension",
+ },
+ { href: "/code-with-ai/platforms/cli", children: "CLI" },
+ { href: "/code-with-ai/platforms/cloud-agent", children: "Cloud Agent" },
+ { href: "/code-with-ai/platforms/mobile", children: "Mobile Apps" },
+ { href: "/code-with-ai/platforms/slack", children: "Slack" },
+ ],
+ },
+ {
+ title: "Working with Agents",
+ links: [
+ {
+ href: "/code-with-ai/agents/chat-interface",
+ children: "The Chat Interface",
+ },
+ {
+ href: "/code-with-ai/agents/context-mentions",
+ children: "Context & Mentions",
+ },
+ { href: "/code-with-ai/agents/using-modes", children: "Using Modes" },
+ {
+ href: "/code-with-ai/agents/orchestrator-mode",
+ children: "Orchestrator Mode",
+ },
+ {
+ href: "/code-with-ai/agents/model-selection",
+ children: "Model Selection",
+ },
+ ],
+ },
+ {
+ title: "Features",
+ links: [
+ { href: "/code-with-ai/features/autocomplete", children: "Autocomplete" },
+ { href: "/code-with-ai/features/code-actions", children: "Code Actions" },
+ { href: "/code-with-ai/features/browser-use", children: "Browser Use" },
+ {
+ href: "/code-with-ai/features/git-commit-generation",
+ children: "Git Commit Generation",
+ },
+ { href: "/code-with-ai/features/checkpoints", children: "Checkpoints" },
+ {
+ href: "/code-with-ai/features/enhance-prompt",
+ children: "Enhance Prompt",
+ },
+ { href: "/code-with-ai/features/fast-edits", children: "Fast Edits" },
+ {
+ href: "/code-with-ai/features/task-todo-list",
+ children: "Task Todo List",
+ },
+ ],
+ },
+ {
+ title: "Context & Indexing",
+ links: [
+ {
+ href: "/code-with-ai/context/codebase-indexing",
+ children: "Codebase Indexing",
+ },
+ { href: "/code-with-ai/context/memory-bank", children: "Memory Bank" },
+ {
+ href: "/code-with-ai/context/large-projects",
+ children: "Large Projects",
+ },
+ ],
+ },
+ {
+ title: "Customization",
+ links: [
+ {
+ href: "/code-with-ai/customization/custom-modes",
+ children: "Custom Modes",
+ },
+ {
+ href: "/code-with-ai/customization/custom-rules",
+ children: "Custom Rules",
+ },
+ {
+ href: "/code-with-ai/customization/custom-instructions",
+ children: "Custom Instructions",
+ },
+ { href: "/code-with-ai/customization/agents-md", children: "agents.md" },
+ { href: "/code-with-ai/customization/workflows", children: "Workflows" },
+ { href: "/code-with-ai/customization/skills", children: "Skills" },
+ {
+ href: "/code-with-ai/customization/prompt-engineering",
+ children: "Prompt Engineering",
+ },
+ ],
+ },
+ {
+ title: "App Builder",
+ links: [{ href: "/code-with-ai/app-builder", children: "App Builder" }],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/collaborate.ts b/packages/kilo-docs/lib/nav/collaborate.ts
new file mode 100644
index 00000000000..6b5da387d26
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/collaborate.ts
@@ -0,0 +1,65 @@
+import { NavSection } from "../types"
+
+export const CollaborateNav: NavSection[] = [
+ {
+ title: "Sharing",
+ links: [
+ { href: "/collaborate", children: "Overview" },
+ { href: "/collaborate/sessions-sharing", children: "Sessions & Sharing" },
+ ],
+ },
+ {
+ title: "Kilo for Teams",
+ links: [
+ { href: "/collaborate/teams/about-plans", children: "About Plans" },
+ {
+ href: "/collaborate/teams/getting-started",
+ children: "Getting Started with Teams",
+ },
+ { href: "/collaborate/teams/dashboard", children: "Dashboard" },
+ {
+ href: "/collaborate/teams/team-management",
+ children: "Team Management",
+ },
+ {
+ href: "/collaborate/teams/custom-modes-org",
+ children: "Custom Modes (Org)",
+ },
+ { href: "/collaborate/teams/billing", children: "Billing" },
+ { href: "/collaborate/teams/analytics", children: "Analytics" },
+ ],
+ },
+ {
+ title: "AI Adoption Dashboard",
+ links: [
+ {
+ href: "/collaborate/adoption-dashboard/overview",
+ children: "Overview",
+ },
+ {
+ href: "/collaborate/adoption-dashboard/understanding-your-score",
+ children: "Understanding Your Score",
+ },
+ {
+ href: "/collaborate/adoption-dashboard/improving-your-score",
+ children: "Improving Your Score",
+ },
+ {
+ href: "/collaborate/adoption-dashboard/for-team-leads",
+ children: "For Team Leads",
+ },
+ ],
+ },
+ {
+ title: "Enterprise",
+ links: [
+ { href: "/collaborate/enterprise/sso", children: "SSO" },
+ {
+ href: "/collaborate/enterprise/model-access-controls",
+ children: "Model Access Controls",
+ },
+ { href: "/collaborate/enterprise/audit-logs", children: "Audit Logs" },
+ { href: "/collaborate/enterprise/migration", children: "Migration" },
+ ],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/contributing.ts b/packages/kilo-docs/lib/nav/contributing.ts
new file mode 100644
index 00000000000..a9b9694e0dd
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/contributing.ts
@@ -0,0 +1,48 @@
+import { NavSection } from "../types"
+
+export const ContributingNav: NavSection[] = [
+ {
+ title: "Getting Started",
+ links: [
+ { href: "/contributing", children: "Contributing Overview" },
+ {
+ href: "/contributing/development-environment",
+ children: "Development Environment",
+ },
+ ],
+ },
+ {
+ title: "Architecture",
+ links: [
+ { href: "/contributing/architecture", children: "Architecture Overview" },
+ {
+ href: "/contributing/architecture/annual-billing",
+ children: "Annual Billing",
+ },
+ {
+ href: "/contributing/architecture/enterprise-mcp-controls",
+ children: "Enterprise MCP Controls",
+ },
+ {
+ href: "/contributing/architecture/onboarding-improvements",
+ children: "Onboarding Improvements",
+ },
+ {
+ href: "/contributing/architecture/organization-modes-library",
+ children: "Organization Modes Library",
+ },
+ {
+ href: "/contributing/architecture/track-repo-url",
+ children: "Track Repo URL",
+ },
+ {
+ href: "/contributing/architecture/vercel-ai-gateway",
+ children: "Vercel AI Gateway",
+ },
+ {
+ href: "/contributing/architecture/voice-transcription",
+ children: "Voice Transcription",
+ },
+ ],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/deploy-secure.ts b/packages/kilo-docs/lib/nav/deploy-secure.ts
new file mode 100644
index 00000000000..ffe2b335015
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/deploy-secure.ts
@@ -0,0 +1,16 @@
+import { NavSection } from "../types"
+
+export const DeploySecureNav: NavSection[] = [
+ {
+ title: "Deployment",
+ links: [
+ { href: "/deploy-secure", children: "Overview" },
+ { href: "/deploy-secure/deploy", children: "Deploy" },
+ { href: "/deploy-secure/managed-indexing", children: "Managed Indexing" },
+ ],
+ },
+ {
+ title: "Security",
+ links: [{ href: "/deploy-secure/security-reviews", children: "Security Reviews" }],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/getting-started.ts b/packages/kilo-docs/lib/nav/getting-started.ts
new file mode 100644
index 00000000000..9f07b002db0
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/getting-started.ts
@@ -0,0 +1,34 @@
+import { NavSection } from "../types"
+
+export const GettingStartedNav: NavSection[] = [
+ {
+ title: "Introduction",
+ links: [
+ { href: "/getting-started", children: "Overview" },
+ { href: "/getting-started/installing", children: "Installation" },
+ { href: "/getting-started/quickstart", children: "Quickstart" },
+ ],
+ },
+ {
+ title: "Configuration",
+ links: [
+ {
+ href: "/getting-started/setup-authentication",
+ children: "Setup & Authentication",
+ },
+ { href: "/ai-providers", children: "AI Providers" },
+ { href: "/getting-started/settings", children: "Settings" },
+ { href: "/getting-started/adding-credits", children: "Adding Credits" },
+ ],
+ },
+ {
+ title: "Help",
+ links: [
+ { href: "/getting-started/faq", children: "FAQ" },
+ {
+ href: "/getting-started/migrating",
+ children: "Migrating from Cursor/Windsurf",
+ },
+ ],
+ },
+]
diff --git a/packages/kilo-docs/lib/nav/index.ts b/packages/kilo-docs/lib/nav/index.ts
new file mode 100644
index 00000000000..8ab2c0281d9
--- /dev/null
+++ b/packages/kilo-docs/lib/nav/index.ts
@@ -0,0 +1,17 @@
+import { AiProvidersNav } from "./ai-providers"
+import { AutomateNav } from "./automate"
+import { CodeWithAiNav } from "./code-with-ai"
+import { CollaborateNav } from "./collaborate"
+import { ContributingNav } from "./contributing"
+import { DeploySecureNav } from "./deploy-secure"
+import { GettingStartedNav } from "./getting-started"
+
+export const Nav = {
+ GettingStartedNav,
+ CodeWithAiNav,
+ CollaborateNav,
+ AutomateNav,
+ DeploySecureNav,
+ ContributingNav,
+ AiProvidersNav,
+}
diff --git a/packages/kilo-docs/lib/types.ts b/packages/kilo-docs/lib/types.ts
new file mode 100644
index 00000000000..505e26caca8
--- /dev/null
+++ b/packages/kilo-docs/lib/types.ts
@@ -0,0 +1,13 @@
+export interface NavLink {
+ href: string
+ children: string
+}
+
+export interface NavSection {
+ title: string
+ links: NavLink[]
+}
+
+export interface SectionNav {
+ [key: string]: NavSection[]
+}
diff --git a/packages/kilo-docs/mappingplan.md b/packages/kilo-docs/mappingplan.md
new file mode 100644
index 00000000000..75b83bf7398
--- /dev/null
+++ b/packages/kilo-docs/mappingplan.md
@@ -0,0 +1,194 @@
+This is a great exercise. Let me map everything out.
+
+---
+
+## Mapping Existing Pages to New Structure
+
+### Get Started
+
+| New Item | Existing Page(s) |
+| --------------------------------- | ----------------------------------------------------------------------- |
+| ☑️ Introduction / Overview | `index`, `getting-started/concepts` |
+| ☑️ Installation | `getting-started/installing` |
+| ☑️ Quickstart | `getting-started/your-first-task` |
+| ☑️ Setup & Authentication | `getting-started/setting-up`, `getting-started/connecting-api-provider` |
+| ☑️ AI Providers | `basic-usage/connecting-providers`, `providers/*` (all of them) |
+| Settings | `basic-usage/settings-management` |
+| ☑️ Adding Credits | `basic-usage/adding-credits` |
+| ☑️ FAQ | Keep if it exists |
+| ☑️ Migrating from Cursor/Windsurf | `advanced-usage/migrating-from-cursor-windsurf` |
+
+---
+
+### Code with AI
+
+| New Item | Existing Page(s) |
+| ----------------------------------- | -------------------------------------------------------------------------- |
+| **Platforms** (subheader) | |
+| VS Code Extension | Needs new page (or pull from install) |
+| JetBrains Extension | Needs new page |
+| ☑️ CLI | `cli` |
+| ☑️ Cloud Agent | `advanced-usage/cloud-agent` (partial) |
+| ☑️ Mobile Apps | Needs new page |
+| Slack | `slack` |
+| **Working with Agents** (subheader) | |
+| The Chat Interface | `basic-usage/the-chat-interface` |
+| Context & Mentions | `basic-usage/context-mentions` |
+| Using Modes | `basic-usage/using-modes` |
+| Orchestrator Mode | `basic-usage/orchestrator-mode` |
+| Model Selection | `basic-usage/model-selection-guide` |
+| **Features** (subheader) | |
+| Autocomplete | `basic-usage/autocomplete/index`, `basic-usage/autocomplete/mistral-setup` |
+| Code Actions | `features/code-actions` |
+| Browser Use | `features/browser-use` |
+| Git Commit Generation | `basic-usage/git-commit-generation` |
+| Checkpoints | `features/checkpoints` |
+| Enhance Prompt | `features/enhance-prompt` |
+| Fast Edits | `features/fast-edits` |
+| Task Todo List | `basic-usage/task-todo-list` |
+| **Context & Indexing** (subheader) | |
+| Codebase Indexing | `features/codebase-indexing` |
+| Memory Bank | `advanced-usage/memory-bank` |
+| Large Projects | `advanced-usage/large-projects` |
+| **Customization** (subheader) | |
+| Custom Modes | `agent-behavior/custom-modes` |
+| Custom Rules | `agent-behavior/custom-rules` |
+| Custom Instructions | `agent-behavior/custom-instructions` |
+| agents.md | `agent-behavior/agents-md` |
+| Workflows | `agent-behavior/workflows` |
+| Skills | `agent-behavior/skills` |
+| Prompt Engineering | `agent-behavior/prompt-engineering` |
+| **App Builder** (subheader) | |
+| App Builder | `advanced-usage/appbuilder` |
+
+---
+
+### Collaborate
+
+| New Item | Existing Page(s) |
+| ------------------------------------- | --------------------------------------------------- |
+| Sessions & Sharing | `advanced-usage/sessions` |
+| **Kilo for Teams** (subheader) | |
+| About Plans | `plans/about` |
+| Getting Started with Teams | `plans/getting-started` |
+| Dashboard | `plans/dashboard` |
+| Team Management | `plans/team-management` |
+| Custom Modes (Org) | `plans/custom-modes` |
+| Billing | `plans/billing` |
+| Analytics | `plans/analytics` |
+| **AI Adoption Dashboard** (subheader) | |
+| Overview | `plans/adoption-dashboard/overview` |
+| Understanding Your Score | `plans/adoption-dashboard/understanding-your-score` |
+| Improving Your Score | `plans/adoption-dashboard/improving-your-score` |
+| For Team Leads | `plans/adoption-dashboard/for-team-leads` |
+| **Enterprise** (subheader) | |
+| SSO | `plans/enterprise/SSO` |
+| Model Access Controls | `plans/enterprise/model-access` |
+| Audit Logs | `plans/enterprise/audit-logs` |
+| Migration | `plans/migration` |
+
+---
+
+### Automate
+
+| New Item | Existing Page(s) |
+| ------------------------------ | ------------------------------------- |
+| ☑️ Integrations Overview | `advanced-usage/integrations` |
+| ☑️ Code Reviews | `advanced-usage/code-reviews` |
+| ☑️ Agent Manager | `advanced-usage/agent-manager` |
+| **Extending Kilo** (subheader) | |
+| ☑️ Local Models | `advanced-usage/local-models` |
+| ☑️ Shell Integration | `features/shell-integration` |
+| ☑️ Auto-launch Configuration | `features/auto-launch-configuration` |
+| **MCP** (subheader) | |
+| ☑️ MCP Overview | `features/mcp/overview` |
+| ☑️ Using MCP in Kilo Code | `features/mcp/using-mcp-in-kilo-code` |
+| ☑️ Using MCP in CLI | `features/mcp/using-mcp-in-cli` |
+| ☑️ What is MCP | `features/mcp/what-is-mcp` |
+| ☑️ Server Transports | `features/mcp/server-transports` |
+| ☑️ MCP vs API | `features/mcp/mcp-vs-api` |
+
+---
+
+### Deploy & Secure
+
+| New Item | Existing Page(s) |
+| ---------------- | ----------------------------------------------------------------------- |
+| Deploy | `advanced-usage/deploy` |
+| Managed Indexing | `advanced-usage/managed-indexing` |
+| Security Reviews | `contributing/architecture/security-reviews` (move out of contributing) |
+
+---
+
+### Contributing
+
+| New Item | Existing Page(s) |
+| ---------------------------- | -------------------------------------------------------------- |
+| Contributing Overview | `contributing/index` |
+| Development Environment | `contributing/development-environment` |
+| **Architecture** (subheader) | |
+| Architecture Overview | `contributing/architecture/index` |
+| Annual Billing | `contributing/architecture/annual-billing` |
+| Enterprise MCP Controls | `contributing/architecture/enterprise-mcp-controls` |
+| Onboarding Improvements | `contributing/architecture/onboarding-engagement-improvements` |
+| Organization Modes Library | `contributing/architecture/organization-modes-library` |
+| Track Repo URL | `contributing/architecture/track-repo-url` |
+| Vercel AI Gateway | `contributing/architecture/vercel-ai-gateway` |
+| Voice Transcription | `contributing/architecture/voice-transcription` |
+
+---
+
+## Pages to Add (Don't Exist Yet)
+
+| Section | New Page Needed |
+| --------------- | --------------------------------------- |
+| Get Started | "Choosing Your Surface" (decision tree) |
+| Code with AI | VS Code dedicated page |
+| Code with AI | JetBrains dedicated page |
+| Code with AI | Web App dedicated page |
+| Code with AI | Mobile Apps (iOS/Android) |
+| Collaborate | Team Workspaces overview |
+| Collaborate | Permissions & Roles |
+| Automate | Triage Agent |
+| Automate | Auto-fix Agent |
+| Automate | GitHub Actions guide |
+| Automate | Webhooks & Triggers |
+| Deploy & Secure | Security Scanning Agent |
+| Deploy & Secure | Environment Configuration |
+| Deploy & Secure | Secrets Management |
+| Contributing | Roadmap |
+| Contributing | Community / Discord |
+
+---
+
+## Pages to Remove from Nav / Condense
+
+| Page | Recommendation |
+| --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
+| `features/system-notifications` | Fold into Settings or remove |
+| `features/more-features` | This is a red flag - break out or remove |
+| `features/suggested-responses` | Fold into Chat Interface |
+| `basic-usage/how-tools-work` | Fold into Tools Reference intro |
+| `features/auto-approving-actions` | Fold into Settings |
+| `advanced-usage/auto-cleanup` | Fold into Settings |
+| `features/model-temperature` | Fold into Model Selection |
+| `advanced-usage/rate-limits-costs` | Fold into Adding Credits or AI Providers |
+| `advanced-usage/free-and-budget-models` | Fold into Model Selection |
+| `features/footgun-prompting` | This feels like a blog post, not docs - consider removing or moving to tips |
+| `tips-and-tricks` | Could become a blog post or fold relevant bits elsewhere |
+| `features/experimental/experimental-features` | Keep but maybe as a single page, not a section |
+| **Tools Reference (entire section)** | This is 17 pages. Consider: (1) Keep as reference section but not in main nav, (2) Link from relevant pages, (3) Auto-generate from code |
+
+---
+
+## Summary
+
+**Reusable as-is:** ~70% of your content maps cleanly
+
+**Needs new pages:** ~12-15 new pages, mostly for newer cloud/platform features
+
+**Condense/remove:** ~10-12 pages that are either too granular or should be folded into parent pages
+
+**Tools Reference:** Decide if this stays in nav or becomes a "Reference" footer link - it's useful but clutters the IA
+
+Want me to mock up the actual sidebar structure with the subheaders?
diff --git a/packages/kilo-docs/markdoc/functions.ts b/packages/kilo-docs/markdoc/functions.ts
new file mode 100644
index 00000000000..e7992c3bcb6
--- /dev/null
+++ b/packages/kilo-docs/markdoc/functions.ts
@@ -0,0 +1,16 @@
+/* Use this file to export your Markdoc functions */
+
+export const includes = {
+ transform(parameters) {
+ const [array, value] = Object.values(parameters)
+
+ return Array.isArray(array) ? array.includes(value) : false
+ },
+}
+
+export const upper = {
+ transform(parameters) {
+ const string = parameters[0]
+ return typeof string === "string" ? string.toUpperCase() : string
+ },
+}
diff --git a/packages/kilo-docs/markdoc/nodes/fence.markdoc.ts b/packages/kilo-docs/markdoc/nodes/fence.markdoc.ts
new file mode 100644
index 00000000000..a9654db3247
--- /dev/null
+++ b/packages/kilo-docs/markdoc/nodes/fence.markdoc.ts
@@ -0,0 +1,7 @@
+import { nodes } from "@markdoc/markdoc"
+import { CodeBlock } from "../../components"
+
+export const fence = {
+ render: CodeBlock,
+ attributes: nodes.fence.attributes,
+}
diff --git a/packages/kilo-docs/markdoc/nodes/heading.markdoc.ts b/packages/kilo-docs/markdoc/nodes/heading.markdoc.ts
new file mode 100644
index 00000000000..a4bc60f263f
--- /dev/null
+++ b/packages/kilo-docs/markdoc/nodes/heading.markdoc.ts
@@ -0,0 +1,32 @@
+import { Tag } from "@markdoc/markdoc"
+
+import { Heading } from "../../components"
+
+function generateID(children, attributes) {
+ if (attributes.id && typeof attributes.id === "string") {
+ return attributes.id
+ }
+ return children
+ .filter((child) => typeof child === "string")
+ .join(" ")
+ .replace(/[?]/g, "")
+ .replace(/\s+/g, "-")
+ .toLowerCase()
+}
+
+export const heading = {
+ render: Heading,
+ children: ["inline"],
+ attributes: {
+ id: { type: String },
+ level: { type: Number, required: true, default: 1 },
+ className: { type: String },
+ },
+ transform(node, config) {
+ const attributes = node.transformAttributes(config)
+ const children = node.transformChildren(config)
+ const id = generateID(children, attributes)
+
+ return new Tag(this.render, { ...attributes, id }, children)
+ },
+}
diff --git a/packages/kilo-docs/markdoc/nodes/index.ts b/packages/kilo-docs/markdoc/nodes/index.ts
new file mode 100644
index 00000000000..db78566cf1a
--- /dev/null
+++ b/packages/kilo-docs/markdoc/nodes/index.ts
@@ -0,0 +1,4 @@
+/* Use this file to export your markdoc nodes */
+export * from "./fence.markdoc"
+export * from "./heading.markdoc"
+export * from "./table.markdoc"
diff --git a/packages/kilo-docs/markdoc/nodes/table.markdoc.ts b/packages/kilo-docs/markdoc/nodes/table.markdoc.ts
new file mode 100644
index 00000000000..a24048c8acf
--- /dev/null
+++ b/packages/kilo-docs/markdoc/nodes/table.markdoc.ts
@@ -0,0 +1,41 @@
+import { nodes } from "@markdoc/markdoc"
+import { Table, THead, TBody, Tr, Th, Td } from "../../components/Table"
+
+export const table = {
+ ...nodes.table,
+ render: Table,
+}
+
+export const thead = {
+ ...nodes.thead,
+ render: THead,
+}
+
+export const tbody = {
+ ...nodes.tbody,
+ render: TBody,
+}
+
+export const tr = {
+ ...nodes.tr,
+ render: Tr,
+}
+
+export const th = {
+ ...nodes.th,
+ render: Th,
+ attributes: {
+ ...nodes.th.attributes,
+ width: { type: String },
+ },
+}
+
+export const td = {
+ ...nodes.td,
+ render: Td,
+ attributes: {
+ ...nodes.td.attributes,
+ colspan: { type: Number },
+ rowspan: { type: Number },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/partials/install-cli.md b/packages/kilo-docs/markdoc/partials/install-cli.md
new file mode 100644
index 00000000000..873fb0261ad
--- /dev/null
+++ b/packages/kilo-docs/markdoc/partials/install-cli.md
@@ -0,0 +1,13 @@
+Use Kilo Code directly from your terminal for maximum flexibility.
+
+### Install via npm
+
+```bash
+npm install -g @kilocode/cli
+```
+
+### Verify Installation
+
+```bash
+kilo --version
+```
diff --git a/packages/kilo-docs/markdoc/partials/install-jetbrains.md b/packages/kilo-docs/markdoc/partials/install-jetbrains.md
new file mode 100644
index 00000000000..d531e3b5268
--- /dev/null
+++ b/packages/kilo-docs/markdoc/partials/install-jetbrains.md
@@ -0,0 +1,46 @@
+Kilo Code supports all JetBrains IDEs including IntelliJ IDEA, WebStorm, PyCharm, and more.
+
+### Prerequisites
+
+Before installing the Kilo Code plugin, ensure you have:
+
+1. **JetBrains Toolbox (Recommended):**
+
+ - Download from [https://www.jetbrains.com/toolbox-app/](https://www.jetbrains.com/toolbox-app/)
+ - Toolbox is required for authentication callbacks to work properly
+ - Without Toolbox, you'll need to manually configure API keys
+
+2. **Node.js:**
+ - Download LTS version from [https://nodejs.org/](https://nodejs.org/)
+ - Required for the extension's backend services
+
+### Install directly
+
+1. If you don't have a JetBrains IDE installed, download one from [jetbrains.com](https://www.jetbrains.com/)
+2. Then, you can click the button below to install Kilo Code directly from the JetBrains Marketplace:
+
+[](https://plugins.jetbrains.com/plugin/28350-kilo-code)
+
+### Install from JetBrains Marketplace
+
+1. Open your JetBrains IDE
+2. Go to **Settings/Preferences → Plugins**
+3. Click **Marketplace** tab
+4. Search for "Kilo Code"
+5. Click **Install** and restart your IDE
+
+### Supported IDEs
+
+- IntelliJ IDEA
+- WebStorm
+- PyCharm
+- PhpStorm
+- GoLand
+- Rider
+- CLion
+- RubyMine
+- DataGrip
+
+{% callout type="info" %}
+Both Community and Ultimate editions are supported. Some AI features may vary based on your JetBrains license.
+{% /callout %}
diff --git a/packages/kilo-docs/markdoc/partials/install-other-ides.md b/packages/kilo-docs/markdoc/partials/install-other-ides.md
new file mode 100644
index 00000000000..13d7007dc43
--- /dev/null
+++ b/packages/kilo-docs/markdoc/partials/install-other-ides.md
@@ -0,0 +1,41 @@
+## Other IDEs & Editors
+
+Kilo Code supports additional VS Code-based editors. Since these editors share VS Code's extension architecture, installation follows a similar process.
+
+### Cursor
+
+1. Open Cursor
+2. Go to Extensions (`Ctrl+Shift+X` / `Cmd+Shift+X`)
+3. Search for "Kilo Code"
+4. Click **Install**
+
+### VS Code Insiders
+
+[VS Code Insiders](https://code.visualstudio.com/insiders/) is the pre-release version of VS Code with the latest features.
+
+1. Open VS Code Insiders
+2. Go to Extensions (`Ctrl+Shift+X` / `Cmd+Shift+X`)
+3. Search for "Kilo Code"
+4. Click **Install**
+
+{% callout type="note" %}
+Extensions installed in VS Code Insiders are separate from your regular VS Code installation.
+{% /callout %}
+
+### Windsurf
+
+1. Open Windsurf
+2. Go to Extensions (`Ctrl+Shift+X` / `Cmd+Shift+X`)
+3. Search for "Kilo Code"
+4. Click **Install**
+
+### Trae AI
+
+1. Open Trae AI
+2. Go to Extensions (`Ctrl+Shift+X` / `Cmd+Shift+X`)
+3. Search for "Kilo Code"
+4. Click **Install**
+
+{% callout type="info" %}
+All VS Code-based editors support [VSIX installation](#via-vsix) if the extension isn't available directly in their marketplace.
+{% /callout %}
diff --git a/packages/kilo-docs/markdoc/partials/install-slack.md b/packages/kilo-docs/markdoc/partials/install-slack.md
new file mode 100644
index 00000000000..b484a50b18a
--- /dev/null
+++ b/packages/kilo-docs/markdoc/partials/install-slack.md
@@ -0,0 +1,21 @@
+Bring Kilo Code directly into your team's Slack workspace.
+
+### Install the Slack App
+
+1. Click the button below to install Kilo for Slack
+1. Select your workspace
+1. Authorize the required permissions
+
+[](https://app.kilo.ai/get-started/slack)
+
+{% callout type="info" %}
+You'll need app installation permissions to install the Slack app in your workspace.
+{% /callout %}
+
+### Usage
+
+Once installed, mention the bot in a channel or send a direct message:
+
+```
+@Kilo Can you update the documentation for the new API endpoint in the backend repository?
+```
diff --git a/packages/kilo-docs/markdoc/partials/install-vscode.md b/packages/kilo-docs/markdoc/partials/install-vscode.md
new file mode 100644
index 00000000000..54a22e5adbd
--- /dev/null
+++ b/packages/kilo-docs/markdoc/partials/install-vscode.md
@@ -0,0 +1,23 @@
+### Install directly
+
+1. If you don't have VS Code installed, download it from [code.visualstudio.com](https://code.visualstudio.com/)
+2. Then, you can click the button below to install Kilo Code directly from the VS Code Marketplace:
+
+[](vscode:extension/kilocode.kilo-code)
+
+### Install from VS Code Marketplace
+
+1. Open VS Code
+2. Press `Ctrl+Shift+X` (Windows/Linux) or `Cmd+Shift+X` (macOS) to open Extensions
+3. Search for "Kilo Code"
+4. Click **Install**
+
+### Install via Command Line
+
+```bash
+code --install-extension kilocode.kilo-code
+```
+
+### Verify Installation
+
+After installation, you should see the Kilo Code icon ({% kiloCodeIcon /%}) in the Activity Bar on the left side of VS Code. Click it to open the Kilo Code panel.
diff --git a/packages/kilo-docs/markdoc/tags/callout.markdoc.ts b/packages/kilo-docs/markdoc/tags/callout.markdoc.ts
new file mode 100644
index 00000000000..da92e835be5
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/callout.markdoc.ts
@@ -0,0 +1,23 @@
+import { Callout } from "../../components"
+
+export const callout = {
+ render: Callout,
+ children: ["paragraph", "tag", "list"],
+ attributes: {
+ title: {
+ type: String,
+ description: "Optional custom title for the callout",
+ },
+ type: {
+ type: String,
+ default: "note",
+ matches: ["generic", "note", "tip", "info", "warning", "danger"],
+ description: "The type of callout: generic (no icon/title), note, tip, info, warning, or danger",
+ },
+ collapsed: {
+ type: Boolean,
+ default: false,
+ description: "When true, the callout starts collapsed and can be expanded by clicking the header",
+ },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/tags/codicon.markdoc.ts b/packages/kilo-docs/markdoc/tags/codicon.markdoc.ts
new file mode 100644
index 00000000000..875e0aff875
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/codicon.markdoc.ts
@@ -0,0 +1,23 @@
+import { Codicon } from "../../components"
+
+export const codicon = {
+ render: Codicon,
+ selfClosing: true,
+ attributes: {
+ name: {
+ type: String,
+ required: true,
+ description: "The name of the VS Code codicon (e.g., 'send', 'check', 'warning')",
+ },
+ size: {
+ type: String,
+ default: "1em",
+ description: "The size of the icon (CSS font-size value)",
+ },
+ className: {
+ type: String,
+ default: "",
+ description: "Additional CSS classes to apply to the icon",
+ },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/tags/icon.markdoc.ts b/packages/kilo-docs/markdoc/tags/icon.markdoc.ts
new file mode 100644
index 00000000000..ba9a6ce37c4
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/icon.markdoc.ts
@@ -0,0 +1,24 @@
+import { Icon } from "../../components"
+
+export const icon = {
+ render: Icon,
+ selfClosing: true,
+ attributes: {
+ src: {
+ type: String,
+ required: true,
+ },
+ srcDark: {
+ type: String,
+ description: "Optional image source for dark mode. Falls back to src if not provided.",
+ },
+ alt: {
+ type: String,
+ default: "icon",
+ },
+ size: {
+ type: String,
+ default: "1.2em",
+ },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/tags/image.markdoc.ts b/packages/kilo-docs/markdoc/tags/image.markdoc.ts
new file mode 100644
index 00000000000..b2eca99c359
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/image.markdoc.ts
@@ -0,0 +1,30 @@
+import { Image } from "../../components"
+
+export const image = {
+ render: Image,
+ selfClosing: true,
+ attributes: {
+ src: {
+ type: String,
+ required: true,
+ description: "The image source URL",
+ },
+ alt: {
+ type: String,
+ required: true,
+ description: "Alternative text for the image",
+ },
+ width: {
+ type: String,
+ description: "Width of the image (e.g., '500px', '80%')",
+ },
+ height: {
+ type: String,
+ description: "Height of the image (e.g., '300px', 'auto')",
+ },
+ caption: {
+ type: String,
+ description: "Optional caption displayed below the image",
+ },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/tags/index.ts b/packages/kilo-docs/markdoc/tags/index.ts
new file mode 100644
index 00000000000..e45e013c7d1
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/index.ts
@@ -0,0 +1,8 @@
+/* Use this file to export your markdoc tags */
+export * from "./callout.markdoc"
+export * from "./codicon.markdoc"
+export * from "./tabs.markdoc"
+export * from "./icon.markdoc"
+export * from "./image.markdoc"
+export * from "./kilo-code-icon.markdoc"
+export * from "./youtube.markdoc"
diff --git a/packages/kilo-docs/markdoc/tags/kilo-code-icon.markdoc.ts b/packages/kilo-docs/markdoc/tags/kilo-code-icon.markdoc.ts
new file mode 100644
index 00000000000..23ceed0bc43
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/kilo-code-icon.markdoc.ts
@@ -0,0 +1,13 @@
+import { KiloCodeIcon } from "../../components"
+
+export const kiloCodeIcon = {
+ render: KiloCodeIcon,
+ selfClosing: true,
+ attributes: {
+ size: {
+ type: String,
+ default: "1.2em",
+ description: "Size of the icon (CSS height value)",
+ },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/tags/tabs.markdoc.ts b/packages/kilo-docs/markdoc/tags/tabs.markdoc.ts
new file mode 100644
index 00000000000..d807b624b9a
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/tabs.markdoc.ts
@@ -0,0 +1,19 @@
+import { Tabs, Tab } from "../../components"
+
+export const tabs = {
+ render: Tabs,
+ children: ["tab"],
+ attributes: {},
+}
+
+export const tab = {
+ render: Tab,
+ children: ["paragraph", "tag", "list", "fence", "heading"],
+ attributes: {
+ label: {
+ type: String,
+ required: true,
+ description: "The label shown on the tab button",
+ },
+ },
+}
diff --git a/packages/kilo-docs/markdoc/tags/youtube.markdoc.ts b/packages/kilo-docs/markdoc/tags/youtube.markdoc.ts
new file mode 100644
index 00000000000..91b3fdf930f
--- /dev/null
+++ b/packages/kilo-docs/markdoc/tags/youtube.markdoc.ts
@@ -0,0 +1,21 @@
+import { YouTube } from "../../components"
+
+export const youtube = {
+ render: YouTube,
+ selfClosing: true,
+ attributes: {
+ url: {
+ type: String,
+ required: true,
+ description: "The YouTube video URL",
+ },
+ title: {
+ type: String,
+ description: "Accessible title for the video iframe",
+ },
+ caption: {
+ type: String,
+ description: "Optional caption to display below the video",
+ },
+ },
+}
diff --git a/packages/kilo-docs/next-env.d.ts b/packages/kilo-docs/next-env.d.ts
new file mode 100644
index 00000000000..0d0841f57b6
--- /dev/null
+++ b/packages/kilo-docs/next-env.d.ts
@@ -0,0 +1,6 @@
+///
+///
+import "./.next/dev/types/routes.d.ts"
+
+// NOTE: This file should not be edited
+// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
diff --git a/packages/kilo-docs/next.config.js b/packages/kilo-docs/next.config.js
new file mode 100644
index 00000000000..ea2c782b827
--- /dev/null
+++ b/packages/kilo-docs/next.config.js
@@ -0,0 +1,30 @@
+const withMarkdoc = require("@markdoc/next.js")
+const previousDocsRedirects = require("./previous-docs-redirects")
+
+module.exports = withMarkdoc(/* config: https://markdoc.io/docs/nextjs#options */)({
+ pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdoc"],
+ basePath: "/docs",
+ turbopack: {},
+ async redirects() {
+ return [
+ {
+ source: "/",
+ destination: "/docs",
+ basePath: false,
+ permanent: true,
+ },
+ ...previousDocsRedirects,
+ ]
+ },
+ async rewrites() {
+ return {
+ beforeFiles: [
+ {
+ // Rewrite /docs/llms.txt to the API endpoint (internal to basePath)
+ source: "/llms.txt",
+ destination: "/api/llms.txt",
+ },
+ ],
+ }
+ },
+})
diff --git a/packages/kilo-docs/package.json b/packages/kilo-docs/package.json
index 725cf77e92e..30e19f7e7e1 100644
--- a/packages/kilo-docs/package.json
+++ b/packages/kilo-docs/package.json
@@ -1,56 +1,29 @@
{
"name": "kilocode-docs",
- "version": "0.1.1",
+ "version": "1.0.0",
"private": true,
"scripts": {
- "docusaurus": "docusaurus",
- "start": "cross-env NODE_OPTIONS='-r dotenv/config' docusaurus start --host 0.0.0.0",
- "build": "cross-env NODE_OPTIONS='-r dotenv/config' docusaurus build",
- "swizzle": "docusaurus swizzle",
- "deploy": "docusaurus deploy",
- "clear": "docusaurus clear",
- "serve": "docusaurus serve --host 0.0.0.0",
- "write-translations": "docusaurus write-translations",
- "write-heading-ids": "docusaurus write-heading-ids",
- "typecheck": "tsc",
- "prepare": "husky"
+ "dev": "next dev --webpack --port 3002",
+ "build": "next build --webpack",
+ "start": "next start"
},
"dependencies": {
- "@docusaurus/core": "^3.8.1",
- "@docusaurus/plugin-client-redirects": "^3.8.1",
- "@docusaurus/preset-classic": "^3.8.1",
- "@easyops-cn/docusaurus-search-local": "^0.48.5",
- "@mdx-js/react": "^3.0.0",
- "@vscode/codicons": "^0.0.36",
- "clsx": "^2.0.0",
- "docusaurus-plugin-llms": "^0.2.2",
- "posthog-docusaurus": "^2.0.4",
- "prism-react-renderer": "^2.3.0",
- "react": "^19.0.0",
- "react-dom": "^19.0.0"
+ "@markdoc/markdoc": "latest",
+ "@markdoc/next.js": "latest",
+ "@vscode/codicons": "^0.0.44",
+ "next": "latest",
+ "prismjs": "latest",
+ "react": "latest",
+ "react-dom": "latest"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "^3.8.1",
- "@docusaurus/tsconfig": "^3.8.1",
- "@docusaurus/types": "^3.8.1",
- "cross-env": "^10.0.0",
- "dotenv": "^16.4.7",
- "husky": "^9.1.7",
- "typescript": "~5.6.2"
- },
- "browserslist": {
- "production": [
- ">0.5%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 3 chrome version",
- "last 3 firefox version",
- "last 5 safari version"
- ]
- },
- "engines": {
- "node": ">=18.0"
+ "@tailwindcss/postcss": "^4.1.18",
+ "@types/node": "latest",
+ "@types/react": "latest",
+ "@types/react-dom": "latest",
+ "autoprefixer": "^10.4.23",
+ "postcss": "^8.5.6",
+ "tailwindcss": "^4.1.18",
+ "typescript": "latest"
}
}
diff --git a/packages/kilo-docs/pages/404.tsx b/packages/kilo-docs/pages/404.tsx
new file mode 100644
index 00000000000..653bba2f233
--- /dev/null
+++ b/packages/kilo-docs/pages/404.tsx
@@ -0,0 +1,229 @@
+import React from "react"
+import Link from "next/link"
+import Head from "next/head"
+
+export default function Custom404() {
+ return (
+ <>
+
+ 404 - Page Not Found | Kilo Code Documentation
+
+
+
+
+ {/* Terminal Window */}
+
+
+
+
+
+
+
+ terminal
+
+
+
+ $
+ GET /requested-path
+
+
+ Error 404: Page not found
+
+
+
+ 404
+
+
+
+
+ {/* Message */}
+
+
Page not found
+
The page you requested does not exist or has been moved.
+
+
+ {/* Actions */}
+
+
+ Return to Documentation
+
+
+ Getting Started
+
+
+
+
+
+
+ >
+ )
+}
+
+// This tells Next.js to use a different layout approach
+Custom404.is404 = true
diff --git a/packages/kilo-docs/pages/_app.tsx b/packages/kilo-docs/pages/_app.tsx
new file mode 100644
index 00000000000..0f27a122493
--- /dev/null
+++ b/packages/kilo-docs/pages/_app.tsx
@@ -0,0 +1,243 @@
+import React, { useState, useEffect } from "react"
+import Head from "next/head"
+import Link from "next/link"
+import { useRouter } from "next/router"
+
+import { CopyPageButton, SideNav, TableOfContents, TopNav } from "../components"
+
+import "prismjs"
+// Import other Prism themes here
+import "prismjs/components/prism-bash.min"
+import "prismjs/themes/prism.css"
+
+import "../public/globals.css"
+
+import type { AppProps } from "next/app"
+import type { MarkdocNextJsPageProps } from "@markdoc/next.js"
+
+const TITLE = "Kilo Code Documentation"
+const DESCRIPTION = "Build, ship, and iterate faster with the most popular open source coding agent."
+
+function collectHeadings(node, sections = []) {
+ if (node) {
+ // Skip headings inside tabs - they're not always visible
+ if (node.name === "Tabs") {
+ return sections
+ }
+
+ if (node.name === "Heading") {
+ const title = node.children[0]
+
+ if (typeof title === "string") {
+ sections.push({
+ ...node.attributes,
+ title,
+ })
+ }
+ }
+
+ if (node.children) {
+ for (const child of node.children) {
+ collectHeadings(child, sections)
+ }
+ }
+ }
+
+ return sections
+}
+
+export type MyAppProps = MarkdocNextJsPageProps
+
+export default function MyApp({ Component, pageProps }: AppProps) {
+ const { markdoc } = pageProps
+ const router = useRouter()
+ const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false)
+
+ // Check if we're on the homepage or 404 page (full-page layouts)
+ const isHomepage = router.pathname === "/"
+ const is404 = router.pathname === "/404"
+ const isFullPageLayout = isHomepage || is404
+
+ // Close mobile menu on route change
+ useEffect(() => {
+ const handleRouteChange = () => {
+ setIsMobileMenuOpen(false)
+ }
+
+ router.events.on("routeChangeStart", handleRouteChange)
+ return () => {
+ router.events.off("routeChangeStart", handleRouteChange)
+ }
+ }, [router])
+
+ // Prevent body scroll when mobile menu is open
+ useEffect(() => {
+ if (isMobileMenuOpen) {
+ document.body.style.overflow = "hidden"
+ } else {
+ document.body.style.overflow = ""
+ }
+ return () => {
+ document.body.style.overflow = ""
+ }
+ }, [isMobileMenuOpen])
+
+ const handleMobileMenuToggle = () => {
+ setIsMobileMenuOpen(!isMobileMenuOpen)
+ }
+
+ const handleMobileMenuClose = () => {
+ setIsMobileMenuOpen(false)
+ }
+
+ let title = TITLE
+ let description = DESCRIPTION
+ if (markdoc) {
+ if (markdoc.frontmatter.title) {
+ title = markdoc.frontmatter.title
+ }
+ if (markdoc.frontmatter.description) {
+ description = markdoc.frontmatter.description
+ }
+ }
+
+ const toc = pageProps.markdoc?.content ? collectHeadings(pageProps.markdoc.content) : []
+
+ return (
+ <>
+
+ {title}
+
+
+
+
+
+
+ {/* Script to prevent flash of wrong theme */}
+
+
+
+ {isFullPageLayout ? (
+
+
+
+ ) : (
+
+
+
+
+
+
+
+
+ {markdoc && }
+
+
+
+
+
+ )}
+
+ >
+ )
+}
diff --git a/packages/kilo-docs/pages/ai-providers/anthropic.md b/packages/kilo-docs/pages/ai-providers/anthropic.md
new file mode 100644
index 00000000000..dc96d0d4016
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/anthropic.md
@@ -0,0 +1,31 @@
+---
+sidebar_label: Anthropic
+---
+
+# Using Anthropic With Kilo Code
+
+Anthropic is an AI safety and research company that builds reliable, interpretable, and steerable AI systems. Their Claude models are known for their strong reasoning abilities, helpfulness, and honesty.
+
+**Website:** [https://www.anthropic.com/](https://www.anthropic.com/)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [Anthropic Console](https://console.anthropic.com/). Create an account or sign in.
+2. **Navigate to API Keys:** Go to the [API keys](https://console.anthropic.com/settings/keys) section.
+3. **Create a Key:** Click "Create Key". Give your key a descriptive name (e.g., "Kilo Code").
+4. **Copy the Key:** **Important:** Copy the API key _immediately_. You will not be able to see it again. Store it securely.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Anthropic" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your Anthropic API key into the "Anthropic API Key" field.
+4. **Select Model:** Choose your desired Claude model from the "Model" dropdown.
+5. **(Optional) Custom Base URL:** If you need to use a custom base URL for the Anthropic API, check "Use custom base URL" and enter the URL. Most people won't need to adjust this.
+
+## Tips and Notes
+
+- **Prompt Caching:** Claude 3 models support [prompt caching](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching), which can significantly reduce costs and latency for repeated prompts.
+- **Context Window:** Claude models have large context windows (200,000 tokens), allowing you to include a significant amount of code and context in your prompts.
+- **Pricing:** Refer to the [Anthropic Pricing](https://www.anthropic.com/pricing) page for the latest pricing information.
+- **Rate Limits:** Anthropic has strict rate limits based on [usage tiers](https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier). If you're repeatedly hitting rate limits, consider contacting Anthropic sales or accessing Claude through a different provider like [OpenRouter](/providers/openrouter) or [Requesty](/providers/requesty).
diff --git a/packages/kilo-docs/docs/providers/bedrock.md b/packages/kilo-docs/pages/ai-providers/bedrock.md
similarity index 64%
rename from packages/kilo-docs/docs/providers/bedrock.md
rename to packages/kilo-docs/pages/ai-providers/bedrock.md
index bb7eae0730b..f0077fe6cb0 100644
--- a/packages/kilo-docs/docs/providers/bedrock.md
+++ b/packages/kilo-docs/pages/ai-providers/bedrock.md
@@ -32,50 +32,9 @@ You have three options for configuring AWS credentials:
3. **AWS Profile:**
- Configure an AWS profile using the AWS CLI or by manually editing your AWS credentials file. See the [AWS CLI documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) for details.
-## Supported Models
-
-Kilo Code supports the following models through Bedrock (based on source code):
-
-- **Amazon:**
- - `amazon.nova-pro-v1:0`
- - `amazon.nova-pro-latency-optimized-v1:0`
- - `amazon.nova-lite-v1:0`
- - `amazon.nova-micro-v1:0`
- - `amazon.titan-text-lite-v1:0`
- - `amazon.titan-text-express-v1:0`
- - `amazon.titan-text-embeddings-v1:0`
- - `amazon.titan-text-embeddings-v2:0`
-- **Anthropic:**
- - `anthropic.claude-3-7-sonnet-20250219-v1:0`
- - `anthropic.claude-3-5-sonnet-20241022-v2:0`
- - `anthropic.claude-3-5-haiku-20241022-v1:0`
- - `anthropic.claude-3-5-sonnet-20240620-v1:0`
- - `anthropic.claude-3-opus-20240229-v1:0`
- - `anthropic.claude-3-sonnet-20240229-v1:0`
- - `anthropic.claude-3-haiku-20240307-v1:0`
- - `anthropic.claude-2-1-v1:0`
- - `anthropic.claude-2-0-v1:0`
- - `anthropic.claude-instant-v1:0`
-- **DeepSeek:**
- - `deepseek.r1-v1:0`
-- **Meta:**
- - `meta.llama3-3-70b-instruct-v1:0`
- - `meta.llama3-2-90b-instruct-v1:0`
- - `meta.llama3-2-11b-instruct-v1:0`
- - `meta.llama3-2-3b-instruct-v1:0`
- - `meta.llama3-2-1b-instruct-v1:0`
- - `meta.llama3-1-405b-instruct-v1:0`
- - `meta.llama3-1-70b-instruct-v1:0`
- - `meta.llama3-1-70b-instruct-latency-optimized-v1:0`
- - `meta.llama3-1-8b-instruct-v1:0`
- - `meta.llama3-70b-instruct-v1:0`
- - `meta.llama3-8b-instruct-v1:0`
-
-Refer to the [Amazon Bedrock documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html) for the most up-to-date list of available models and their IDs. Make sure to use the _model ID_ when configuring Kilo Code, not the model name.
-
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Bedrock" from the "API Provider" dropdown.
3. **Select Authentication Method:**
- **Bedrock API Key:**
diff --git a/packages/kilo-docs/docs/providers/cerebras.md b/packages/kilo-docs/pages/ai-providers/cerebras.md
similarity index 73%
rename from packages/kilo-docs/docs/providers/cerebras.md
rename to packages/kilo-docs/pages/ai-providers/cerebras.md
index 9af85b0dcb1..7f965ece593 100644
--- a/packages/kilo-docs/docs/providers/cerebras.md
+++ b/packages/kilo-docs/pages/ai-providers/cerebras.md
@@ -15,18 +15,9 @@ Cerebras is known for their ultra-fast AI inference powered by the Cerebras CS-3
3. **Create a Key:** Click to generate a new API key. Give it a descriptive name (e.g., "Kilo Code").
4. **Copy the Key:** **Important:** Copy the API key _immediately_. Store it securely.
-## Supported Models
-
-Kilo Code supports the following Cerebras models:
-
-- `gpt-oss-120b` (Default) – High-performance open-source model optimized for fast inference
-- `zai-glm-4.7` – Highly capable general-purpose model on Cerebras (up to 1,000 tokens/s), competitive with leading proprietary models on coding tasks.
-
-Refer to the [Cerebras documentation](https://docs.cerebras.ai/) for detailed information on model capabilities and performance characteristics.
-
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Cerebras" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Cerebras API key into the "Cerebras API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
diff --git a/packages/kilo-docs/docs/providers/chutes-ai.md b/packages/kilo-docs/pages/ai-providers/chutes-ai.md
similarity index 70%
rename from packages/kilo-docs/docs/providers/chutes-ai.md
rename to packages/kilo-docs/pages/ai-providers/chutes-ai.md
index 28347414dbc..d0a4a14f62f 100644
--- a/packages/kilo-docs/docs/providers/chutes-ai.md
+++ b/packages/kilo-docs/pages/ai-providers/chutes-ai.md
@@ -20,13 +20,13 @@ Always refer to the official Chutes AI documentation or your dashboard for the m
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Chutes AI" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Chutes AI API key into the "Chutes AI API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
## Tips and Notes
-* **Free Access:** Chutes AI provides free API access, making it an excellent option for experimentation and development without immediate costs.
-* **Model Variety:** The platform offers access to both open-source and proprietary models, giving you flexibility in choosing the right model for your needs.
-* **Rate Limits:** As with any free service, be aware of potential rate limits or usage restrictions that may apply to your API key.
\ No newline at end of file
+- **Free Access:** Chutes AI provides free API access, making it an excellent option for experimentation and development without immediate costs.
+- **Model Variety:** The platform offers access to both open-source and proprietary models, giving you flexibility in choosing the right model for your needs.
+- **Rate Limits:** As with any free service, be aware of potential rate limits or usage restrictions that may apply to your API key.
diff --git a/packages/kilo-docs/docs/providers/claude-code.md b/packages/kilo-docs/pages/ai-providers/claude-code.md
similarity index 87%
rename from packages/kilo-docs/docs/providers/claude-code.md
rename to packages/kilo-docs/pages/ai-providers/claude-code.md
index 69debe63408..c08935721b5 100644
--- a/packages/kilo-docs/docs/providers/claude-code.md
+++ b/packages/kilo-docs/pages/ai-providers/claude-code.md
@@ -14,30 +14,21 @@ Claude Code is Anthropic's official CLI that provides direct access to Claude mo
2. **Authenticate:** Run `claude` in your terminal. Claude Code offers multiple authentication options including the Anthropic Console (default), Claude App with Pro/Max plans, and enterprise platforms like Amazon Bedrock or Google Vertex AI. See [Anthropic's authentication documentation](https://docs.anthropic.com/en/docs/claude-code/setup) for complete details.
3. **Verify Installation:** Test that everything works by running `claude --version` in your terminal.
-:::warning Environment Variable Usage
+{% callout type="warning" title="Environment Variable Usage" %}
The `claude` command-line tool, like other Anthropic SDKs, can use the `ANTHROPIC_API_KEY` environment variable for authentication. This is a common method for authorizing CLI tools in non-interactive environments.
If this environment variable is set on your system, the `claude` tool may use it for authentication instead of the interactive `/login` method. When Kilo Code executes the tool, it will accurately reflect that an API key is being used, as this is the underlying behavior of the `claude` CLI itself.
-:::
+{% /callout %}
**Website:** [https://docs.anthropic.com/en/docs/claude-code/setup](https://docs.anthropic.com/en/docs/claude-code/setup)
## Supported Models
-Kilo Code supports the following Claude models through Claude Code:
-
-- **Claude Opus 4.1** (Most capable)
-- **Claude Opus 4**
-- **Claude Sonnet 4** (Latest, recommended)
-- **Claude 3.7 Sonnet**
-- **Claude 3.5 Sonnet**
-- **Claude 3.5 Haiku** (Fast responses)
-
The specific models available depend on your Claude subscription and plan. See [Anthropic's Model Documentation](https://docs.anthropic.com/en/docs/about-claude/models) for more details on each model's capabilities.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Claude Code" from the "API Provider" dropdown.
3. **Select Model:** Choose your desired Claude model from the "Model" dropdown.
4. **(Optional) Custom CLI Path:** If you installed Claude Code to a location other than the default `claude` command, enter the full path to your Claude executable in the "Claude Code Path" field. Most users won't need to change this.
@@ -50,8 +41,8 @@ The specific models available depend on your Claude subscription and plan. See [
- **Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts.
- **Enhance Prompt Feature:** Full compatibility with Kilo Code's Enhance Prompt feature, allowing you to automatically improve and refine your prompts before sending them to Claude.
- **Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples:
- - Windows: `C:\tools\claude\claude.exe`
- - macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude`
+ - Windows: `C:\tools\claude\claude.exe`
+ - macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude`
## Troubleshooting
diff --git a/packages/kilo-docs/docs/providers/deepseek.md b/packages/kilo-docs/pages/ai-providers/deepseek.md
similarity index 55%
rename from packages/kilo-docs/docs/providers/deepseek.md
rename to packages/kilo-docs/pages/ai-providers/deepseek.md
index 0917f73afe9..dea4ad27bf8 100644
--- a/packages/kilo-docs/docs/providers/deepseek.md
+++ b/packages/kilo-docs/pages/ai-providers/deepseek.md
@@ -12,22 +12,16 @@ Kilo Code supports accessing models through the DeepSeek API, including `deepsee
1. **Sign Up/Sign In:** Go to the [DeepSeek Platform](https://platform.deepseek.com/). Create an account or sign in.
2. **Navigate to API Keys:** Find your API keys in the [API keys](https://platform.deepseek.com/api_keys) section of the platform.
-3. **Create a Key:** Click "Create new API key". Give your key a descriptive name (e.g., "Kilo Code").
-4. **Copy the Key:** **Important:** Copy the API key *immediately*. You will not be able to see it again. Store it securely.
-
-## Supported Models
-
-Kilo Code supports the following DeepSeek models:
-
-* `deepseek-chat` (Recommended for coding tasks)
-* `deepseek-reasoner` (Recommended for reasoning tasks)
+3. **Create a Key:** Click "Create new API key". Give your key a descriptive name (e.g., "Kilo Code").
+4. **Copy the Key:** **Important:** Copy the API key _immediately_. You will not be able to see it again. Store it securely.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "DeepSeek" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your DeepSeek API key into the "DeepSeek API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
## Tips and Notes
-* **Pricing:** Refer to the [DeepSeek Pricing](https://api-docs.deepseek.com/quick_start/pricing/) page for details on model costs.
+
+- **Pricing:** Refer to the [DeepSeek Pricing](https://api-docs.deepseek.com/quick_start/pricing/) page for details on model costs.
diff --git a/packages/kilo-docs/docs/providers/fireworks.md b/packages/kilo-docs/pages/ai-providers/fireworks.md
similarity index 58%
rename from packages/kilo-docs/docs/providers/fireworks.md
rename to packages/kilo-docs/pages/ai-providers/fireworks.md
index 74ea4c5b204..d89a0796df6 100644
--- a/packages/kilo-docs/docs/providers/fireworks.md
+++ b/packages/kilo-docs/pages/ai-providers/fireworks.md
@@ -1,5 +1,5 @@
---
-sidebar_label: Fireworks AI
+title: Fireworks AI with Kilo Code
---
# Using Fireworks AI With Kilo Code
@@ -8,40 +8,22 @@ Fireworks AI is a high-performance platform for running AI models that offers fa
**Website:** [https://fireworks.ai/](https://fireworks.ai/)
----
-
## Getting an API Key
1. **Sign Up/Sign In:** Go to [Fireworks AI](https://fireworks.ai/) and create an account or sign in.
2. **Navigate to API Keys:** After logging in, go to the [API Keys page](https://app.fireworks.ai/settings/users/api-keys) in the account settings.
3. **Create a Key:** Click "Create API key" and give your key a descriptive name (e.g., "Kilo Code").
-4. **Copy the Key:** Copy the API key *immediately* and store it securely. You will not be able to see it again.
-
----
-
-## Supported Models
-
-Kilo Code supports the following Fireworks AI models:
-
-* `accounts/fireworks/models/kimi-k2-instruct` - Kimi K2 instruction-tuned model
-* `accounts/fireworks/models/qwen3-235b-a22b-instruct-2507` - Qwen 3 235B instruction-tuned model
-* `accounts/fireworks/models/qwen3-coder-480b-a35b-instruct` - Qwen 3 Coder 480B for code generation
-* `accounts/fireworks/models/deepseek-r1-0528` - DeepSeek R1 reasoning model
-* `accounts/fireworks/models/deepseek-v3` - DeepSeek V3 latest generation model
-
----
+4. **Copy the Key:** Copy the API key _immediately_ and store it securely. You will not be able to see it again.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Fireworks AI" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Fireworks AI API key into the "Fireworks AI API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
----
-
## Tips and Notes
-* **Performance:** Fireworks AI is optimized for speed and offers excellent performance for both chat and completion tasks.
-* **Pricing:** Refer to the [Fireworks AI Pricing](https://fireworks.ai/pricing) page for current pricing information.
-* **Rate Limits:** Fireworks AI has usage-based rate limits. Monitor your usage in the dashboard and consider upgrading your plan if needed.
\ No newline at end of file
+- **Performance:** Fireworks AI is optimized for speed and offers excellent performance for both chat and completion tasks.
+- **Pricing:** Refer to the [Fireworks AI Pricing](https://fireworks.ai/pricing) page for current pricing information.
+- **Rate Limits:** Fireworks AI has usage-based rate limits. Monitor your usage in the dashboard and consider upgrading your plan if needed.
diff --git a/packages/kilo-docs/pages/ai-providers/gemini.md b/packages/kilo-docs/pages/ai-providers/gemini.md
new file mode 100644
index 00000000000..392197fe1cb
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/gemini.md
@@ -0,0 +1,28 @@
+---
+sidebar_label: Google Gemini
+---
+
+# Using Google Gemini With Kilo Code
+
+Kilo Code supports Google's Gemini family of models through the Google AI Gemini API.
+
+**Website:** [https://ai.google.dev/](https://ai.google.dev/)
+
+## Getting an API Key
+
+1. **Go to Google AI Studio:** Navigate to [https://ai.google.dev/](https://ai.google.dev/).
+2. **Sign In:** Sign in with your Google account.
+3. **Create API Key:** Click on "Create API key" in the left-hand menu.
+4. **Copy API Key:** Copy the generated API key.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Google Gemini" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your Gemini API key into the "Gemini API Key" field.
+4. **Select Model:** Choose your desired Gemini model from the "Model" dropdown.
+
+## Tips and Notes
+
+- **Pricing:** Gemini API usage is priced based on input and output tokens. Refer to the [Gemini pricing page](https://ai.google.dev/pricing) for detailed information.
+- **Codebase Indexing:** The `gemini-embedding-001` model is specifically supported for [codebase indexing](/features/codebase-indexing), providing high-quality embeddings for semantic code search.
diff --git a/packages/kilo-docs/docs/providers/glama.md b/packages/kilo-docs/pages/ai-providers/glama.md
similarity index 63%
rename from packages/kilo-docs/docs/providers/glama.md
rename to packages/kilo-docs/pages/ai-providers/glama.md
index b5b80d2f5a3..bc50910b431 100644
--- a/packages/kilo-docs/docs/providers/glama.md
+++ b/packages/kilo-docs/pages/ai-providers/glama.md
@@ -4,7 +4,7 @@ sidebar_label: Glama
# Using Glama With Kilo Code
-Glama provides access to a variety of language models through a unified API, including models from Anthropic, OpenAI, and others. It offers features like prompt caching and cost tracking.
+Glama provides access to a variety of language models through a unified API, including models from Anthropic, OpenAI, and others. It offers features like prompt caching and cost tracking.
**Website:** [https://glama.ai/](https://glama.ai/)
@@ -16,22 +16,22 @@ Glama provides access to a variety of language models through a unified API, inc
## Supported Models
-Kilo Code will automatically try to fetch a list of available models from the Glama API. Some models that are commonly available through Glama include:
+Kilo Code will automatically try to fetch a list of available models from the Glama API. Some models that are commonly available through Glama include:
+
+- **Anthropic Claude models:** (e.g., `anthropic/claude-3-5-sonnet`) These are generally recommended for best performance with Kilo Code.
+- **OpenAI models:** (e.g., `openai/o3-mini-high`)
+- **Other providers and open-source models**
-* **Anthropic Claude models:** (e.g., `anthropic/claude-3-5-sonnet`) These are generally recommended for best performance with Kilo Code.
-* **OpenAI models:** (e.g., `openai/o3-mini-high`)
-* **Other providers and open-source models**
-
Refer to the [Glama documentation](https://glama.ai/models) for the most up-to-date list of supported models.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Glama" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Glama API key into the "Glama API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
## Tips and Notes
-* **Pricing:** Glama operates on a pay-per-use basis. Pricing varies depending on the model you choose.
-* **Prompt Caching:** Glama supports prompt caching, which can significantly reduce costs and improve performance for repeated prompts.
+- **Pricing:** Glama operates on a pay-per-use basis. Pricing varies depending on the model you choose.
+- **Prompt Caching:** Glama supports prompt caching, which can significantly reduce costs and improve performance for repeated prompts.
diff --git a/packages/kilo-docs/docs/providers/groq.md b/packages/kilo-docs/pages/ai-providers/groq.md
similarity index 60%
rename from packages/kilo-docs/docs/providers/groq.md
rename to packages/kilo-docs/pages/ai-providers/groq.md
index 871c9e8b579..0a4788c4937 100644
--- a/packages/kilo-docs/docs/providers/groq.md
+++ b/packages/kilo-docs/pages/ai-providers/groq.md
@@ -14,47 +14,41 @@ To use Groq with Kilo Code, you'll need an API key from the [GroqCloud Console](
## Supported Models
-Kilo Code will attempt to fetch the list of available models from the Groq API. Common models available via Groq include:
-
-* `llama3-8b-8192`
-* `llama3-70b-8192`
-* `mixtral-8x7b-32768`
-* `gemma-7b-it`
-* `moonshotai/kimi-k2-instruct` (Kimi K2 model)
+Kilo Code will attempt to fetch the list of available models from the Groq API.
**Note:** Model availability and specifications may change. Refer to the [Groq Documentation](https://console.groq.com/docs/models) for the most up-to-date list of supported models and their capabilities.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Groq" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Groq API key into the "Groq API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
## Tips and Notes
-* **High-Speed Inference:** Groq's LPUs provide exceptionally fast response times, making it ideal for interactive development workflows.
-* **Token Limits:** Some models have specific `max_tokens` limits that are automatically handled by Kilo Code (e.g., the `moonshotai/kimi-k2-instruct` model).
-* **Cost Efficiency:** Groq often provides competitive pricing for high-speed inference compared to other providers.
-* **Model Selection:** Choose models based on your specific needs - larger models like `llama3-70b-8192` for complex reasoning tasks, or smaller models like `llama3-8b-8192` for faster, simpler operations.
+- **High-Speed Inference:** Groq's LPUs provide exceptionally fast response times, making it ideal for interactive development workflows.
+- **Token Limits:** Some models have specific `max_tokens` limits that are automatically handled by Kilo Code (e.g., the `moonshotai/kimi-k2-instruct` model).
+- **Cost Efficiency:** Groq often provides competitive pricing for high-speed inference compared to other providers.
+- **Model Selection:** Choose models based on your specific needs - larger models like `llama3-70b-8192` for complex reasoning tasks, or smaller models like `llama3-8b-8192` for faster, simpler operations.
## Supported Models
Kilo Code supports the following models through Groq:
-| Model ID | Provider | Context Window | Notes |
-|----------|----------|----------------|-------|
-| `moonshotai/kimi-k2-instruct` | Moonshot AI | 128K tokens | Optimized max_tokens limit configured |
-| `llama-3.3-70b-versatile` | Meta | 128K tokens | High-performance Llama model |
-| `llama-3.1-70b-versatile` | Meta | 128K tokens | Versatile reasoning capabilities |
-| `llama-3.1-8b-instant` | Meta | 128K tokens | Fast inference for quick tasks |
-| `mixtral-8x7b-32768` | Mistral AI | 32K tokens | Mixture of experts architecture |
+| Model ID | Provider | Context Window | Notes |
+| ----------------------------- | ----------- | -------------- | ------------------------------------- |
+| `moonshotai/kimi-k2-instruct` | Moonshot AI | 128K tokens | Optimized max_tokens limit configured |
+| `llama-3.3-70b-versatile` | Meta | 128K tokens | High-performance Llama model |
+| `llama-3.1-70b-versatile` | Meta | 128K tokens | Versatile reasoning capabilities |
+| `llama-3.1-8b-instant` | Meta | 128K tokens | Fast inference for quick tasks |
+| `mixtral-8x7b-32768` | Mistral AI | 32K tokens | Mixture of experts architecture |
**Note:** Model availability may change. Refer to the [Groq documentation](https://console.groq.com/docs/models) for the latest model list and specifications.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Groq" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Groq API key into the "Groq API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
@@ -75,10 +69,10 @@ The `moonshotai/kimi-k2-instruct` model includes optimized configuration:
- **Cost-Effective:** Competitive pricing for high-performance inference
- **Rate Limits:** Be aware of API rate limits based on your Groq plan
- **Model Selection:** Choose models based on your specific use case:
- - **Kimi K2**: Best for complex reasoning and multilingual tasks
- - **Llama 3.3 70B**: Excellent general-purpose performance
- - **Llama 3.1 8B Instant**: Fastest responses for simple tasks
- - **Mixtral**: Good balance of performance and efficiency
+ - **Kimi K2**: Best for complex reasoning and multilingual tasks
+ - **Llama 3.3 70B**: Excellent general-purpose performance
+ - **Llama 3.1 8B Instant**: Fastest responses for simple tasks
+ - **Mixtral**: Good balance of performance and efficiency
## Troubleshooting
diff --git a/packages/kilo-docs/docs/providers/human-relay.md b/packages/kilo-docs/pages/ai-providers/human-relay.md
similarity index 68%
rename from packages/kilo-docs/docs/providers/human-relay.md
rename to packages/kilo-docs/pages/ai-providers/human-relay.md
index 7428a2e166c..f39befdbe9c 100644
--- a/packages/kilo-docs/docs/providers/human-relay.md
+++ b/packages/kilo-docs/pages/ai-providers/human-relay.md
@@ -16,14 +16,14 @@ The Human Relay provider allows you to use Kilo Code with web-based AI models li
This provider is useful if:
-* You want to use models that don't offer direct API access.
-* You prefer not to manage API keys.
-* You need to leverage the specific capabilities or context available only in the web UI of certain AI models.
+- You want to use models that don't offer direct API access.
+- You prefer not to manage API keys.
+- You need to leverage the specific capabilities or context available only in the web UI of certain AI models.
## Limitations
-* **Manual Effort**: Requires constant copy-pasting between VS Code and your browser.
-* **Slower Interaction**: The back-and-forth process is significantly slower than direct API integration.
-* **Potential for Errors**: Manual copying and pasting can introduce errors or omissions.
+- **Manual Effort**: Requires constant copy-pasting between VS Code and your browser.
+- **Slower Interaction**: The back-and-forth process is significantly slower than direct API integration.
+- **Potential for Errors**: Manual copying and pasting can introduce errors or omissions.
-Choose this provider when the benefits of using a specific web AI outweigh the inconvenience of the manual relay process.
\ No newline at end of file
+Choose this provider when the benefits of using a specific web AI outweigh the inconvenience of the manual relay process.
diff --git a/packages/kilo-docs/pages/ai-providers/inception.md b/packages/kilo-docs/pages/ai-providers/inception.md
new file mode 100644
index 00000000000..67a432161c4
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/inception.md
@@ -0,0 +1,35 @@
+---
+sidebar_label: Inception
+---
+
+# Using Inception With Kilo Code
+
+Inception provides access to cutting-edge AI models with a focus on performance and reliability. Their infrastructure is designed for enterprise-grade applications requiring consistent, high-quality outputs.
+
+**Website:** [https://inception.ai](https://inception.ai)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [Inception Platform](https://platform.inception.ai). Create an account or sign in.
+2. **Navigate to API Keys:** Access the API Keys section in your account settings.
+3. **Create a Key:** Click "Create new API key". Give your key a descriptive name (e.g., "Kilo Code").
+4. **Copy the Key:** **Important:** Copy the API key _immediately_. You will not be able to see it again. Store it securely.
+
+## Supported Models
+
+Kilo Code supports Inception's available models. Model selection and capabilities may vary based on your account tier.
+
+Refer to the [Inception documentation](https://docs.inception.ai) for the most up-to-date list of supported models and their specific capabilities.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Inception" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your Inception API key into the "Inception API Key" field.
+4. **Select Model:** Choose your desired model from the "Model" dropdown.
+
+## Tips and Notes
+
+- **Enterprise Focus:** Inception is designed for production-grade AI applications with emphasis on reliability and consistency.
+- **Pricing:** Refer to the Inception platform for current pricing details and available subscription options.
+- **Support:** Enterprise customers have access to dedicated support channels for technical assistance.
diff --git a/packages/kilo-docs/pages/ai-providers/index.md b/packages/kilo-docs/pages/ai-providers/index.md
new file mode 100644
index 00000000000..a087c489533
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/index.md
@@ -0,0 +1,68 @@
+---
+title: "AI Providers"
+description: "Configure and connect different AI model providers to Kilo Code"
+---
+
+# AI Providers
+
+Kilo Code supports a wide variety of AI providers, giving you flexibility in how you power your AI-assisted development workflow. Choose from cloud providers, local models, or AI gateways based on your needs.
+
+## Getting Started
+
+The fastest way to get started is with **Kilo Code's built-in provider**, which requires no configuration. Simply sign in and start coding.
+
+For users who want to use their own API keys or need specific models, we support over 30 providers.
+
+## Provider Categories
+
+### Cloud Providers
+
+Major AI companies offering powerful models via API:
+
+- **[Anthropic](/docs/ai-providers/anthropic)** - Claude models (Claude 4, Claude 3.5 Sonnet, etc.)
+- **[OpenAI](/docs/ai-providers/openai)** - GPT-4, GPT-4o, o1, and more
+- **[Google Gemini](/docs/ai-providers/gemini)** - Gemini Pro, Gemini Ultra
+- **[DeepSeek](/docs/ai-providers/deepseek)** - DeepSeek V3., R1
+- **[Mistral](/docs/ai-providers/mistral)** - Mistral Large, Codestral
+
+### Local & Self-Hosted
+
+Run models on your own hardware for privacy and offline use:
+
+- **[Ollama](/docs/ai-providers/ollama)** - Easy local model management
+- **[LM Studio](/docs/ai-providers/lmstudio)** - Desktop app for local models
+- **[OpenAI Compatible](/docs/ai-providers/openai-compatible)** - Any OpenAI-compatible endpoint
+
+### AI Gateways
+
+Route requests through unified APIs with additional features:
+
+- **[OpenRouter](/docs/ai-providers/openrouter)** - Access multiple providers through one API
+- **[Glama](/docs/ai-providers/glama)** - Enterprise AI gateway
+- **[Requesty](/docs/ai-providers/requesty)** - Smart routing and fallbacks
+
+## Choosing a Provider
+
+| Priority | Recommended Provider |
+| --------------- | --------------------------------------------------- |
+| Ease of use | [Kilo Code (built-in)](/docs/ai-providers/kilocode) |
+| Best value | Zhipu AI or Mistral |
+| Privacy/Offline | Ollama or LM Studio |
+| Enterprise | AWS Bedrock or Google Vertex |
+
+## Why Use Multiple Providers?
+
+- **Cost** - Compare pricing across providers for different tasks
+- **Reliability** - Backup options when a provider has outages
+- **Models** - Access exclusive or specialized models
+- **Regional** - Better latency in certain locations
+
+{% callout type="note" %}
+All API keys use VS Code's Secret Storage—never stored in plain text.
+{% /callout %}
+
+## Next Steps
+
+- **New to Kilo Code?** Start with the [Kilo Code provider](/docs/ai-providers/kilocode) - no setup required
+- **Have an API key?** Jump to your provider's page for configuration instructions
+- **Want to compare?** Check out [Model Selection](/docs/code-with-ai/agents/model-selection) for guidance on choosing models
diff --git a/packages/kilo-docs/docs/providers/kilocode.md b/packages/kilo-docs/pages/ai-providers/kilocode.md
similarity index 100%
rename from packages/kilo-docs/docs/providers/kilocode.md
rename to packages/kilo-docs/pages/ai-providers/kilocode.md
diff --git a/packages/kilo-docs/pages/ai-providers/lmstudio.md b/packages/kilo-docs/pages/ai-providers/lmstudio.md
new file mode 100644
index 00000000000..98c63a3966f
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/lmstudio.md
@@ -0,0 +1,43 @@
+---
+sidebar_label: LM Studio
+---
+
+# Using LM Studio With Kilo Code
+
+Kilo Code supports running models locally using LM Studio. LM Studio provides a user-friendly interface for downloading, configuring, and running local language models. It also includes a built-in local inference server that emulates the OpenAI API, making it easy to integrate with Kilo Code.
+
+**Website:** [https://lmstudio.ai/](https://lmstudio.ai/)
+
+## Setting Up LM Studio
+
+1. **Download and Install LM Studio:** Download LM Studio from the [LM Studio website](https://lmstudio.ai/).
+2. **Download a Model:** Use the LM Studio interface to search for and download a model. Some recommended models include:
+
+ - CodeLlama models (e.g., `codellama:7b-code`, `codellama:13b-code`, `codellama:34b-code`)
+ - Mistral models (e.g., `mistralai/Mistral-7B-Instruct-v0.1`)
+ - DeepSeek Coder models (e.g., `deepseek-coder:6.7b-base`)
+ - Any other model that is supported by Kilo Code, or for which you can set the context window.
+
+ Look for models in the GGUF format. LM Studio provides a search interface to find and download models.
+
+3. **Start the Local Server:**
+ - Open LM Studio.
+ - Click the **"Local Server"** tab (the icon looks like `<->`).
+ - Select the model you downloaded.
+ - Click **"Start Server"**.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "LM Studio" from the "API Provider" dropdown.
+3. **Enter Model ID:** Enter the _file name_ of the model you loaded in LM Studio (e.g., `codellama-7b.Q4_0.gguf`). You can find this in the LM Studio "Local Server" tab.
+4. **(Optional) Base URL:** By default, Kilo Code will connect to LM Studio at `http://localhost:1234`. If you've configured LM Studio to use a different address or port, enter the full URL here.
+5. **(Optional) Timeout:** By default, API requests time out after 10 minutes. Local models can be slow, if you hit this timeout you can consider increasing it here: VS Code Extensions panel > Kilo Code gear menu > Settings > API Request Timeout.
+
+## Tips and Notes
+
+- **Resource Requirements:** Running large language models locally can be resource-intensive. Make sure your computer meets the minimum requirements for the model you choose.
+- **Model Selection:** LM Studio provides a wide range of models. Experiment to find the one that best suits your needs.
+- **Local Server:** The LM Studio local server must be running for Kilo Code to connect to it.
+- **LM Studio Documentation:** Refer to the [LM Studio documentation](https://lmstudio.ai/docs) for more information.
+- **Troubleshooting:** If you see a "Please check the LM Studio developer logs to debug what went wrong" error, you may need to adjust the context length settings in LM Studio.
diff --git a/packages/kilo-docs/docs/providers/minimax.md b/packages/kilo-docs/pages/ai-providers/minimax.md
similarity index 75%
rename from packages/kilo-docs/docs/providers/minimax.md
rename to packages/kilo-docs/pages/ai-providers/minimax.md
index 44da1892e60..bea84bad60a 100644
--- a/packages/kilo-docs/docs/providers/minimax.md
+++ b/packages/kilo-docs/pages/ai-providers/minimax.md
@@ -15,20 +15,9 @@ MiniMax is a global AI foundation model company focused on fast, cost-efficient
3. **Create a Key:** Click to generate a new API key and give it a descriptive name (e.g., "Kilo Code").
4. **Copy the Key:** Copy the key immediately. You may not be able to view it again. Store it securely.
-## Supported Models
-
-Kilo Code supports the following MiniMax models:
-
-### MiniMax Models
-
-- `MiniMax-M2.1` – MiniMax's latest flagship model with strong coding, tool use, long-context reasoning, and high inference speed
-- `MiniMax-M2` – Previous generation model with strong coding, tool use, and long-context reasoning capabilities
-- `MiniMax-01` – General-purpose MiniMax model
-- `MiniMax-M1` – Earlier MiniMax model with broad multimodal capabilities
-
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Navigate to **Providers**. Choose **MiniMax** from the API Provider dropdown.
3. **Enter API Key:** Paste your MiniMax API key into the MiniMax API Key field.
4. **Select Model:** Choose your desired MiniMax model from the Model dropdown.
diff --git a/packages/kilo-docs/pages/ai-providers/mistral.md b/packages/kilo-docs/pages/ai-providers/mistral.md
new file mode 100644
index 00000000000..8a902adb401
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/mistral.md
@@ -0,0 +1,35 @@
+---
+sidebar_label: Mistral AI
+---
+
+# Using Mistral AI With Kilo Code
+
+Kilo Code supports accessing models through the Mistral AI API, including both standard Mistral models and the code-specialized Codestral model.
+
+**Website:** [https://mistral.ai/](https://mistral.ai/)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [Mistral Platform](https://console.mistral.ai/). Create an account or sign in. You may need to go through a verification process.
+2. **Create an API Key:**
+ - [La Plateforme API Key](https://console.mistral.ai/api-keys/) and/or
+ - [Codestral API Key](https://console.mistral.ai/codestral)
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Mistral" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your Mistral API key into the "Mistral API Key" field if you're using a `mistral` model. If you intend to use `codestral-latest`, see the "Codestral" section below.
+4. **Select Model:** Choose your desired model from the "Model" dropdown.
+
+## Using Codestral
+
+[Codestral](https://docs.mistral.ai/capabilities/code_generation/) is a model specifically designed for code generation and interaction.
+Only for Codestral you could use different endpoints (Default: codestral.mistral.ai).
+For the La Platforme API Key change the **Codestral Base Url** to: https://api.mistral.ai
+
+To use Codestral:
+
+1. **Select "Mistral" as the API Provider.**
+2. **Select a Codestral Model**
+3. **Enter your Codestral (codestral.mistral.ai) or La Plateforme (api.mistral.ai) API Key.**
diff --git a/packages/kilo-docs/pages/ai-providers/moonshot.md b/packages/kilo-docs/pages/ai-providers/moonshot.md
new file mode 100644
index 00000000000..44ee85619a1
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/moonshot.md
@@ -0,0 +1,30 @@
+---
+sidebar_label: Moonshot.ai
+---
+
+# Using Moonshot.ai With Kilo Code
+
+Moonshot.ai is a Chinese AI company known for their **Kimi** models featuring ultra-long context windows (up to 200K tokens) and advanced reasoning capabilities. Their K2-Thinking model delivers extended thinking and problem-solving abilities.
+
+**Website:** [https://www.moonshot.cn/](https://www.moonshot.cn/)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [Moonshot.ai Platform](https://platform.moonshot.cn/). Create an account or sign in.
+2. **Navigate to API Keys:** Access the API Keys section in your account dashboard.
+3. **Create a Key:** Click to generate a new API key. Give it a descriptive name (e.g., "Kilo Code").
+4. **Copy the Key:** **Important:** Copy the API key _immediately_. Store it securely.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Moonshot.ai" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your Moonshot.ai API key into the "Moonshot.ai API Key" field.
+4. **Select Model:** Choose your desired model from the "Model" dropdown.
+
+## Tips and Notes
+
+- **Ultra-Long Context:** Kimi models excel at handling large codebases and complex projects with their extended context windows.
+- **Reasoning Capabilities:** The K2-Thinking variant provides enhanced problem-solving through extended reasoning chains.
+- **Language Support:** Kimi models have strong support for both English and Chinese languages.
+- **Pricing:** Refer to the Moonshot.ai platform for current pricing information on different models.
diff --git a/packages/kilo-docs/docs/providers/ollama.md b/packages/kilo-docs/pages/ai-providers/ollama.md
similarity index 84%
rename from packages/kilo-docs/docs/providers/ollama.md
rename to packages/kilo-docs/pages/ai-providers/ollama.md
index caa31f759d4..962e14fbd13 100644
--- a/packages/kilo-docs/docs/providers/ollama.md
+++ b/packages/kilo-docs/pages/ai-providers/ollama.md
@@ -63,33 +63,17 @@ ollama pull qwen3-coder:30b
By default Ollama truncates prompts to a very short length, [as documented here](https://github.com/ollama/ollama/blob/4383a3ab7a075eff78b31f7dc84c747e2fcd22b8/docs/faq.md#how-can-i-specify-the-context-window-size).
You need to have at least 32k to get decent results, but increasing the context size increases memory usage and may decrease performance, depending on your hardware.
-To configure a model, you need to set its parameters and save a copy of it.
-Load the model (we will use `qwen3-coder:30b` as an example):
+To configure the context window, set "Context Window Size (num_ctx)" in the API Provider settings.
-```bash
-ollama run qwen3-coder:30b
-```
+### Configure the Timout
-Change context size parameter:
-
-```bash
-/set parameter num_ctx 32768
-```
-
-Save the model with a new name:
-
-```bash
-/save qwen3-coder-30b-c32k
-```
-
-You can also set the `OLLAMA_CONTEXT_LENGTH` environment variable,
-but this is not recommended as it changes the context for all models and the environment variable needs to be visible to both the Ollama server and the IDE.
+By default, API requests time out after 10 minutes. Local models can be slow, if you hit this timeout you can consider increasing it here: VS Code Extensions panel > Kilo Code gear menu > Settings > API Request Timeout.
### Configure Kilo Code
- Open the Kilo Code sidebar ( icon).
-- Click the Settings gear icon ().
+- Click the Settings gear icon ({% codicon name="gear" /%}).
- Select "Ollama" as the API Provider.
- Select the model configured in the previous step.
- (Optional) You can configure the base URL if you're running Ollama on a different machine. The default is `http://localhost:11434`.
diff --git a/packages/kilo-docs/docs/providers/openai-chatgpt-plus-pro.md b/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md
similarity index 91%
rename from packages/kilo-docs/docs/providers/openai-chatgpt-plus-pro.md
rename to packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md
index 1fb6e7af283..9fdb3e6cec7 100644
--- a/packages/kilo-docs/docs/providers/openai-chatgpt-plus-pro.md
+++ b/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md
@@ -4,7 +4,7 @@ sidebar_label: ChatGPT Plus/Pro
# Using ChatGPT Subscriptions With Kilo Code
-1. Open Kilo Code settings (click the gear icon in the Kilo Code panel).
+1. Open Kilo Code settings (click the gear icon {% codicon name="gear" /%} in the Kilo Code panel).
2. In **API Provider**, select **OpenAI – ChatGPT Plus/Pro**.
3. Click **Sign in to OpenAI Codex**.
4. Finish the sign-in flow in your browser.
diff --git a/packages/kilo-docs/pages/ai-providers/openai-compatible.md b/packages/kilo-docs/pages/ai-providers/openai-compatible.md
new file mode 100644
index 00000000000..2a291d4284e
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/openai-compatible.md
@@ -0,0 +1,70 @@
+---
+sidebar_label: OpenAI Compatible
+---
+
+# Using OpenAI Compatible Providers With Kilo Code
+
+Kilo Code supports a wide range of AI model providers that offer APIs compatible with the OpenAI API standard. This means you can use models from providers _other than_ OpenAI, while still using a familiar API interface. This includes providers like:
+
+- **Local models** running through tools like Ollama and LM Studio (covered in separate sections).
+- **Cloud providers** like Perplexity, Together AI, Anyscale, and others.
+- **Any other provider** offering an OpenAI-compatible API endpoint.
+
+This document focuses on setting up providers _other than_ the official OpenAI API (which has its own [dedicated configuration page](/providers/openai)).
+
+## General Configuration
+
+The key to using an OpenAI-compatible provider is to configure two main settings:
+
+1. **Base URL:** This is the API endpoint for the provider. It will _not_ be `https://api.openai.com/v1` (that's for the official OpenAI API).
+2. **API Key:** This is the secret key you obtain from the provider.
+3. **Model ID:** This is the model name of the specific model.
+
+You'll find these settings in the Kilo Code settings panel (click the {% codicon name="gear" /%} icon):
+
+- **API Provider:** Select "OpenAI Compatible".
+- **Base URL:** Enter the base URL provided by your chosen provider. **This is crucial.**
+- **API Key:** Enter your API key.
+- **Model:** Choose a model.
+- **Model Configuration:** This lets you customize advanced configuration for the model
+ - Max Output Tokens
+ - Context Window
+ - Image Support
+ - Computer Use
+ - Input Price
+ - Output Price
+
+### Full Endpoint URL Support
+
+Kilo Code supports full endpoint URLs in the Base URL field, providing greater flexibility for provider configuration:
+
+**Standard Base URL Format:**
+
+```
+https://api.provider.com/v1
+```
+
+**Full Endpoint URL Format:**
+
+```
+https://api.provider.com/v1/chat/completions
+https://custom-endpoint.provider.com/api/v2/models/chat
+```
+
+This enhancement allows you to:
+
+- Connect to providers with non-standard endpoint structures
+- Use custom API gateways or proxy services
+- Work with providers that require specific endpoint paths
+- Integrate with enterprise or self-hosted API deployments
+
+**Note:** When using full endpoint URLs, ensure the URL points to the correct chat completions endpoint for your provider.
+
+## Troubleshooting
+
+- **"Invalid API Key":** Double-check that you've entered the API key correctly.
+- **"Model Not Found":** Make sure you're using a valid model ID for your chosen provider.
+- **Connection Errors:** Verify the Base URL is correct and that your provider's API is accessible.
+- **Unexpected Results:** If you're getting unexpected results, try a different model.
+
+By using an OpenAI-compatible provider, you can leverage the flexibility of Kilo Code with a wider range of AI models. Remember to always consult your provider's documentation for the most accurate and up-to-date information.
diff --git a/packages/kilo-docs/pages/ai-providers/openai.md b/packages/kilo-docs/pages/ai-providers/openai.md
new file mode 100644
index 00000000000..f2764d44d27
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/openai.md
@@ -0,0 +1,28 @@
+---
+sidebar_label: OpenAI
+---
+
+# Using OpenAI With Kilo Code
+
+Kilo Code supports accessing models directly through the official OpenAI API.
+
+**Website:** [https://openai.com/](https://openai.com/)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [OpenAI Platform](https://platform.openai.com/). Create an account or sign in.
+2. **Navigate to API Keys:** Go to the [API keys](https://platform.openai.com/api-keys) page.
+3. **Create a Key:** Click "Create new secret key". Give your key a descriptive name (e.g., "Kilo Code").
+4. **Copy the Key:** **Important:** Copy the API key _immediately_. You will not be able to see it again. Store it securely.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "OpenAI" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your OpenAI API key into the "OpenAI API Key" field.
+4. **Select Model:** Choose your desired model from the "Model" dropdown.
+
+## Tips and Notes
+
+- **Pricing:** Refer to the [OpenAI Pricing](https://openai.com/pricing) page for details on model costs.
+- **Azure OpenAI Service:** If you'd like to use the Azure OpenAI service, please see our section on [OpenAI-compatible](/providers/openai-compatible) providers.
diff --git a/packages/kilo-docs/docs/providers/openrouter.md b/packages/kilo-docs/pages/ai-providers/openrouter.md
similarity index 89%
rename from packages/kilo-docs/docs/providers/openrouter.md
rename to packages/kilo-docs/pages/ai-providers/openrouter.md
index 3ca4f8eea30..84019fa69e9 100644
--- a/packages/kilo-docs/docs/providers/openrouter.md
+++ b/packages/kilo-docs/pages/ai-providers/openrouter.md
@@ -14,13 +14,9 @@ OpenRouter is an AI platform that provides access to a wide variety of language
2. **Get an API Key:** Go to the [keys page](https://openrouter.ai/keys). You should see an API key listed. If not, create a new key.
3. **Copy the Key:** Copy the API key.
-## Supported Models
-
-OpenRouter supports a large and growing number of models. Kilo Code automatically fetches the list of available models. Refer to the [OpenRouter Models page](https://openrouter.ai/models) for the complete and up-to-date list.
-
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "OpenRouter" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your OpenRouter API key into the "OpenRouter API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
diff --git a/packages/kilo-docs/pages/ai-providers/ovhcloud.md b/packages/kilo-docs/pages/ai-providers/ovhcloud.md
new file mode 100644
index 00000000000..344cb130e9b
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/ovhcloud.md
@@ -0,0 +1,30 @@
+---
+sidebar_label: OVHcloud AI Endpoints
+---
+
+# Using OVHcloud AI Endpoints with Kilo Code
+
+OVHcloud is a French leading Cloud provider in Europe with data sovereignty and privacy.
+
+Access world-renowned pre-trained AI models with ease. Innovate using straightforward, secure APIs on OVHcloud's robust and privacy-first infrastructure. Enhance your applications with scalable AI capabilities, eliminating the need for extensive expertise. Achieve more with powerful AI endpoints designed for simplicity et reliability.
+
+**Website:** [https://endpoints.ai.cloud.ovh.net](https://endpoints.ai.cloud.ovh.net)
+
+{% callout type="info" %}
+
+You can report any bugs or feedbacks by chatting with us in our [Discord server](https://discord.gg/ovhcloud), in the AI Endpoints channel.
+
+{% /callout %}
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [OVHcloud manager](https://www.ovh.com/manager). Create an account or sign in.
+2. **Navigate to Public Cloud:** Go to the Public Cloud section, and create a new project. Navigate to AI Endpoints in the _AI & Machine Learning_ section.
+3. **Create a Key:** Click to _API keys_ and create a new key.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "OVHcloud AI Endpoints" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your AI Endpoints API key into the "OVHcloud AI Endpoints API Key" field.
+4. **Select Model:** Choose your desired model from the "Model" dropdown.
diff --git a/packages/kilo-docs/docs/providers/requesty.md b/packages/kilo-docs/pages/ai-providers/requesty.md
similarity index 78%
rename from packages/kilo-docs/docs/providers/requesty.md
rename to packages/kilo-docs/pages/ai-providers/requesty.md
index 1c9630683e5..6fc4a656d9a 100644
--- a/packages/kilo-docs/docs/providers/requesty.md
+++ b/packages/kilo-docs/pages/ai-providers/requesty.md
@@ -11,15 +11,11 @@ Kilo Code supports accessing models through the [Requesty](https://www.requesty.
## Getting an API Key
1. **Sign Up/Sign In:** Go to the [Requesty website](https://www.requesty.ai/) and create an account or sign in.
-2. **Get API Key:** You can get an API key from the [API Management](https://app.requesty.ai/manage-api) section of your Requesty dashboard.
-
-## Supported Models
-
-Requesty provides access to a wide range of models. Kilo Code will automatically fetch the latest list of available models. You can see the full list of available models on the [Model List](https://app.requesty.ai/router/list) page.
+2. **Get API Key:** You can get an API key from the [API Management](https://app.requesty.ai/manage-api) section of your Requesty dashboard.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Requesty" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Requesty API key into the "Requesty API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
@@ -31,6 +27,7 @@ Requesty provides access to a wide range of models. Kilo Code will automaticall
- **Cost tracking**: Track cost per model, coding language, changed file, and more via the [Cost dashboard](https://app.requesty.ai/cost-management) or the [Requesty VS.code extension](https://marketplace.visualstudio.com/items?itemName=Requesty.requesty).
- **Stats and logs**: See your [coding stats dashboard](https://app.requesty.ai/usage-stats) or go through your [LLM interaction logs](https://app.requesty.ai/logs).
- **Fallback policies**: Keep your LLM working for you with fallback policies when providers are down.
+
* **Prompt Caching:** Some providers support prompt caching. [Search models with caching](https://app.requesty.ai/router/list).
## Relevant resources
diff --git a/packages/kilo-docs/pages/ai-providers/sap-ai-core.md b/packages/kilo-docs/pages/ai-providers/sap-ai-core.md
new file mode 100644
index 00000000000..1b786192d11
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/sap-ai-core.md
@@ -0,0 +1,150 @@
+---
+sidebar_label: SAP AI Core
+---
+
+# Using SAP AI Core With Kilo Code
+
+Kilo Code supports accessing models through SAP AI Core, a service in the SAP Business Technology Platform that lets you efficiently run AI scenarios in a standardized, scalable, and hyperscaler-agnostic manner.
+
+**Website:** [https://help.sap.com/docs/sap-ai-core](https://help.sap.com/docs/sap-ai-core)
+
+## Prerequisites
+
+- **SAP BTP Account:** You need an active SAP Business Technology Platform account.
+- **SAP AI Core Service:** You must have access to the SAP AI Core service in your BTP subaccount.
+- **Service Instance:** Create a service instance of SAP AI Core with appropriate service plan.
+- **Service Key:** Generate a service key for your SAP AI Core service instance to obtain the required credentials.
+
+## Getting Credentials
+
+To use SAP AI Core with Kilo Code, you'll need to create a service key for your SAP AI Core service instance:
+
+1. **In SAP BTP Cockpit:**
+
+ - Navigate to your subaccount
+ - Go to "Services" → "Instances and Subscriptions"
+ - Find your SAP AI Core service instance
+ - Create a new service key
+
+2. **Service Key Information:**
+ The service key will contain the following information you'll need:
+ - **Client ID:** OAuth2 client identifier
+ - **Client Secret:** OAuth2 client secret
+ - **Auth URL:** OAuth2 authentication endpoint
+ - **Base URL:** SAP AI Core API base URL
+ - **Resource Group:** (Optional) Specify a resource group, defaults to "default"
+
+## Operating Modes
+
+SAP AI Core provider supports two operating modes:
+
+### Foundation Models Mode (Default)
+
+- Uses foundation models that require active deployments
+- Currently, supports **OpenAI models only** due to SAP AI Core SDK limitations
+- Requires you to have running deployments for the models you want to use
+- Models must have deployments in "RUNNING" status to be selectable
+
+### Orchestration Mode
+
+- Uses SAP AI Core's orchestration capabilities
+- Supports models from multiple providers: **Amazon, Anthropic, Google, OpenAI, and Mistral AI**
+- Does not require separate deployments
+- Provides access to a broader range of models
+
+## Model Requirements
+
+Kilo Code applies the following filters when fetching models:
+
+- **Streaming:** Models must support streaming
+- **Capabilities:** Models must support text generation
+- **Context Window:** Models must have a context window of at least 32,000 tokens
+
+## Supported Providers
+
+### Foundation Models Mode
+
+- **OpenAI:** All OpenAI models with active deployments
+
+### Orchestration Mode
+
+- **Amazon:** Amazon foundation models
+- **Anthropic:** Claude models
+- **Google:** Gemini models
+- **OpenAI:** ChatGPT and GPT models
+- **Mistral AI:** Mistral AI models
+
+The exact list of available models depends on your SAP AI Core configuration and active model offerings.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "SAP AI Core" from the "API Provider" dropdown.
+3. **Enter Credentials:**
+ - **Client ID:** Enter your SAP AI Core OAuth2 client ID
+ - **Client Secret:** Enter your SAP AI Core OAuth2 client secret
+ - **Base URL:** Enter your SAP AI Core API base URL (e.g., `https://api.ai.ml.hana.ondemand.com`)
+ - **Auth URL:** Enter your SAP AI Core OAuth2 auth URL (e.g., `https://your-subdomain.authentication.sap.hana.ondemand.com`)
+ - **Resource Group:** (Optional) Enter your resource group name, defaults to "default"
+4. **Choose Operating Mode:**
+ - **Orchestration Mode:** Check the "Use Orchestration" checkbox for broader model access
+ - **Foundation Models Mode:** Leave unchecked to use foundation models with deployments
+5. **Select Model:** Choose your desired model from the dropdown
+6. **Select Deployment:** (Foundation Models Mode only) Choose an active deployment for your selected model
+
+## Deployments (Foundation Models Mode)
+
+When using Foundation Models mode:
+
+- You must have active deployments for the models you want to use
+- Only deployments with "RUNNING" status are available for selection
+- Deployments in other states (PENDING, STOPPED, etc.) are shown but disabled
+- The interface displays the number of available deployments for each model
+
+## Tips and Notes
+
+- **Authentication:** SAP AI Core uses OAuth2 client credentials flow for authentication
+- **Caching:** Model and deployment information is cached for 15 and 5 minutes respectively to improve performance
+- **Resource Groups:** If you use multiple resource groups, specify the appropriate one in the configuration
+- **Permissions:** Ensure your service key has the necessary permissions to access models and deployments
+- **Orchestration Benefits:** Use Orchestration mode for access to a wider variety of models without managing deployments
+- **Foundation Models Benefits:** Use Foundation Models mode when you need more control over specific model deployments
+
+## Troubleshooting
+
+### Common Issues
+
+1. **Authentication Failures:**
+
+ - Verify your Client ID and Client Secret are correct
+ - Check that your Auth URL is properly formatted
+ - Ensure your service key hasn't expired
+
+2. **No Models Available:**
+
+ - Check that you have the necessary permissions in your resource group
+ - Verify your Base URL is correct
+ - In Foundation Models mode, ensure you have running deployments
+
+3. **Deployment Issues:**
+
+ - Check that your deployments are in "RUNNING" status
+ - Verify you're using the correct resource group
+ - Review your SAP AI Core service configuration
+
+4. **Model Access:**
+ - In Foundation Models mode, **only OpenAI models** are currently supported
+ - Switch to Orchestration mode for access to other providers
+ - Ensure models meet the minimum requirements (32k context window, streaming support)
+
+## Getting Started
+
+To get started with SAP AI Core:
+
+1. Set up your SAP BTP account and access SAP AI Core service
+2. Create a service instance and generate a service key
+3. Configure Kilo Code with your credentials
+4. Choose between Foundation Models or Orchestration mode based on your needs
+5. Select an appropriate model and start coding
+
+For detailed setup instructions and service configuration, visit the [SAP AI Core documentation](https://help.sap.com/docs/sap-ai-core).
diff --git a/packages/kilo-docs/pages/ai-providers/synthetic.md b/packages/kilo-docs/pages/ai-providers/synthetic.md
new file mode 100644
index 00000000000..853f3a68b63
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/synthetic.md
@@ -0,0 +1,34 @@
+---
+sidebar_label: Synthetic
+---
+
+# Using Synthetic With Kilo Code
+
+Synthetic provides access to several open-source AI models running on secure infrastructure within the US and EU. They offer both subscription-based and usage-based pricing options, with strong privacy guarantees - they never train on your data and auto-delete API data within 14 days.
+
+**Website:** [https://synthetic.new](https://synthetic.new)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to [Synthetic](https://synthetic.new) and create an account or sign in.
+2. **Navigate to API Keys:** After logging in, go to the [API Keys page](https://synthetic.new/user-settings/api) in your account settings.
+3. **Copy your Key:** Click the Copy icon next to your key to copy it to your clipboard.
+
+## Supported Models
+
+Kilo Code supports all "always on" Synthetic AI models. The available models include various open-source options optimized for different use cases.
+
+**Note:** Model availability may change. Refer to the [Synthetic documentation](https://synthetic.new) for the most up-to-date list of supported models and their capabilities.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Synthetic" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your Synthetic API key into the "Synthetic API Key" field.
+4. **Select Model:** Choose your desired model from the "Model" dropdown.
+
+## Tips and Notes
+
+- **Pricing Options:** Synthetic offers both subscriptions and pay-as-you-go usage-based [pricing](https://synthetic.new/pricing).
+- **Privacy:** Strong privacy policy with no training on user data and automatic deletion of API data within 14 days.
+- **OpenAI Compatibility:** Synthetic models work with any OpenAI-compatible tools and applications.
diff --git a/packages/kilo-docs/docs/providers/unbound.md b/packages/kilo-docs/pages/ai-providers/unbound.md
similarity index 80%
rename from packages/kilo-docs/docs/providers/unbound.md
rename to packages/kilo-docs/pages/ai-providers/unbound.md
index 8332d2be45f..064538799b7 100644
--- a/packages/kilo-docs/docs/providers/unbound.md
+++ b/packages/kilo-docs/pages/ai-providers/unbound.md
@@ -4,13 +4,13 @@ sidebar_label: Unbound
# Using Unbound With Kilo Code
-Kilo Code supports accessing models through [Unbound](https://getunbound.ai/), a platform that focuses on providing secure and reliable access to a variety of large language models (LLMs). Unbound acts as a gateway, allowing you to use models from providers like Anthropic and OpenAI without needing to manage multiple API keys and configurations directly. They emphasize security and compliance features for enterprise use.
+Kilo Code supports accessing models through [Unbound](https://getunbound.ai/), a platform that focuses on providing secure and reliable access to a variety of large language models (LLMs). Unbound acts as a gateway, allowing you to use models from providers like Anthropic and OpenAI without needing to manage multiple API keys and configurations directly. They emphasize security and compliance features for enterprise use.
**Website:** [https://getunbound.ai/](https://getunbound.ai/)
## Creating an Account
-1. **Sign Up/Sign In:** Go to the [Unbound gateway](https://gateway.getunbound.ai). Create an account or sign in.
+1. **Sign Up/Sign In:** Go to the [Unbound gateway](https://gateway.getunbound.ai). Create an account or sign in.
2. **Create an Application:** Go to the [Applications](https://gateway.getunbound.ai/ai-gateway-applications) page and hit the "Create Application" button.
3. **Copy the API Key:** Copy the API key to your clipboard.
@@ -20,11 +20,11 @@ Unbound allows you configure a list of supported models in your application, and
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Unbound" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Unbound API key into the "Unbound API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
## Tips and Notes
-* **Security Focus:** Unbound emphasizes security features for enterprise use. If your organization has strict security requirements for AI usage, Unbound might be a good option.
+- **Security Focus:** Unbound emphasizes security features for enterprise use. If your organization has strict security requirements for AI usage, Unbound might be a good option.
diff --git a/packages/kilo-docs/pages/ai-providers/v0.md b/packages/kilo-docs/pages/ai-providers/v0.md
new file mode 100644
index 00000000000..c7e971d8030
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/v0.md
@@ -0,0 +1,39 @@
+---
+sidebar_label: v0
+---
+
+# Using v0 With Kilo Code
+
+Kilo Code supports v0, Vercel's AI model provider that offers an OpenAI-compatible API. This allows you to use v0's models with Kilo Code through the familiar OpenAI API interface.
+
+## Prerequisites
+
+To use v0 with Kilo Code, you'll need:
+
+- A team account with Vercel v0
+- A v0 API key
+
+## Configuration
+
+Setting up v0 in Kilo Code is straightforward:
+
+1. In Kilo Code settings (click the {% codicon name="gear" /%} icon):
+ - Under **API Provider**, select: **OpenAI Compatible**
+ - Set the **Base URL**: `https://api.v0.dev/v1`
+ - Paste in your v0 API key
+ - Set the **Model ID**: `v0-1.0-md`
+ - Click **Verify** to confirm the connection
+
+
+
+## Troubleshooting
+
+- **"Invalid API Key":** Double-check that you've entered the API key correctly.
+- **"Model Not Found":** Make sure you're using the correct model ID (`v0-1.0-md`).
+- **Connection Errors:** Verify the Base URL is correct (`https://api.v0.dev/v1`).
+- **Access Issues:** Confirm that your Vercel v0 team account is active and properly set up.
+
+## Additional Resources
+
+- [v0 Official Documentation](https://v0.dev)
+- [Vercel AI Documentation](https://vercel.com/docs/ai)
diff --git a/packages/kilo-docs/docs/providers/vercel-ai-gateway.md b/packages/kilo-docs/pages/ai-providers/vercel-ai-gateway.md
similarity index 96%
rename from packages/kilo-docs/docs/providers/vercel-ai-gateway.md
rename to packages/kilo-docs/pages/ai-providers/vercel-ai-gateway.md
index 5b255e1753b..1eeb750adb7 100644
--- a/packages/kilo-docs/docs/providers/vercel-ai-gateway.md
+++ b/packages/kilo-docs/pages/ai-providers/vercel-ai-gateway.md
@@ -54,7 +54,7 @@ Check the model description in the dropdown for specific capabilities.
## Configuration in Kilo Code
-1. **Open Kilo Code Settings:** Click the gear icon () in the Kilo Code panel.
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
2. **Select Provider:** Choose "Vercel AI Gateway" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Vercel AI Gateway API key into the "Vercel AI Gateway API Key" field.
4. **Select Model:** Choose your desired model from the "Model" dropdown.
diff --git a/packages/kilo-docs/pages/ai-providers/vertex.md b/packages/kilo-docs/pages/ai-providers/vertex.md
new file mode 100644
index 00000000000..8a3074bb0b0
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/vertex.md
@@ -0,0 +1,37 @@
+---
+sidebar_label: GCP Vertex AI
+---
+
+# Using GCP Vertex AI With Kilo Code
+
+Kilo Code supports accessing models through Google Cloud Platform's Vertex AI, a managed machine learning platform that provides access to various foundation models, including Anthropic's Claude family.
+
+**Website:** [https://cloud.google.com/vertex-ai](https://cloud.google.com/vertex-ai)
+
+## Prerequisites
+
+- **Google Cloud Account:** You need an active Google Cloud Platform (GCP) account.
+- **Project:** You need a GCP project with the Vertex AI API enabled.
+- **Model Access:** You must request and be granted access to the specific Claude models on Vertex AI you want to use. See the [Google Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude#before_you_begin) for instructions.
+- **Application Default Credentials (ADC):** Kilo Code uses Application Default Credentials to authenticate with Vertex AI. The easiest way to set this up is to:
+ 1. Install the Google Cloud CLI: [https://cloud.google.com/sdk/docs/install](https://cloud.google.com/sdk/docs/install)
+ 2. Authenticate using: `gcloud auth application-default login`
+- **Service Account Key (Alternative):** Alternatively, you can authenticate using a Google Cloud Service Account key file. You'll need to generate this key in your GCP project. See the [Google Cloud documentation on creating service account keys](https://cloud.google.com/iam/docs/creating-managing-service-account-keys).
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "GCP Vertex AI" from the "API Provider" dropdown.
+3. **Configure Authentication:**
+ - **If using Application Default Credentials (ADC):** No further action is needed here. ADC will be used automatically if configured correctly (see Prerequisites).
+ - **If _not_ using ADC (Service Account Key):**
+ - **Option A: Paste JSON Content:** Paste the entire content of your Service Account JSON key file into the **Google Cloud Credentials** field.
+ - **Option B: Provide File Path:** Enter the absolute path to your downloaded Service Account JSON key file in the **Google Cloud Key File Path** field.
+4. **Enter Project ID:** Enter your Google Cloud Project ID.
+5. **Select Region:** Choose the region where your Vertex AI resources are located (e.g., `us-east5`).
+6. **Select Model:** Choose your desired model from the "Model" dropdown.
+
+## Tips and Notes
+
+- **Permissions:** Ensure your Google Cloud account has the necessary permissions to access Vertex AI and the specific models you want to use.
+- **Pricing:** Refer to the [Vertex AI pricing](https://cloud.google.com/vertex-ai/pricing) page for details.
diff --git a/packages/kilo-docs/pages/ai-providers/virtual-quota-fallback.md b/packages/kilo-docs/pages/ai-providers/virtual-quota-fallback.md
new file mode 100644
index 00000000000..95e721754bb
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/virtual-quota-fallback.md
@@ -0,0 +1,78 @@
+---
+sidebar_label: Virtual Quota Fallback
+---
+
+# Using the Virtual Quota Fallback Provider
+
+The Virtual Quota Fallback provider is a powerful meta-provider that allows you to configure and manage multiple API providers, automatically switching between them based on predefined usage limits and availability. This ensures you can maximize your usage of free-tier services and maintain continuous access to AI models by seamlessly falling back to other providers when one reaches its quota or encounters an error.
+
+It's the perfect solution for users who leverage multiple LLM services and want to orchestrate them intelligently—for example, using a free provider up to its limit before automatically switching to a pay-as-you-go service.
+
+## How It Works
+
+The Virtual Quota Fallback provider does not connect to an LLM service directly. Instead, it acts as a manager for your other configured provider profiles.
+
+- **Prioritized List:** You create a prioritized list of your existing provider profiles. The provider at the top of the list is used first.
+- **Usage Tracking:** You can set custom limits for each provider based on the number of tokens or requests per minute, hour, or day. Kilo Code tracks the usage for each provider against these limits.
+- **Automatic Fallback:** When the currently active provider exceeds one of its defined limits or returns an API error, the system automatically deactivates it temporarily and switches to the next available provider in your list.
+- **Notifications:** You will receive an information message in VS Code whenever an automatic switch occurs, keeping you informed of which provider is currently active.
+
+## Prerequisites
+
+Before configuring this provider, you must have at least one other API provider already configured as a separate profile in Kilo Code. This provider is only useful if there are other profiles for it to manage.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "Virtual Quota Fallback" from the "API Provider" dropdown. This will open its dedicated configuration panel.
+
+
+
+3. **Add a Provider Profile:**
+
+ - In the configuration panel, click the **"Add Profile"** button to create a new entry in the list.
+ - Click the dropdown menu on the new entry to select one of your other pre-configured provider profiles (e.g., "OpenAI", "Chutes AI Free Tier").
+
+4. **Set Usage Limits (Optional):**
+
+ - Once a profile is added, you can specify usage limits. If you leave these fields blank, no limit will be enforced for that specific metric.
+ - **Tokens per minute/hour/day:** Limits usage based on the total number of tokens processed (input + output).
+ - **Requests per minute/hour/day:** Limits the total number of API calls made.
+
+5. **Order Your Providers:**
+
+ - The order of the profiles is crucial, as it defines the fallback priority. The provider at the top is used first.
+ - Use the **up and down arrows** next to each profile to change its position in the list.
+
+6. **Add More Providers:** Repeat steps 3-5 to build your complete fallback chain. You can add as many profiles as you have configured.
+
+
+
+## Usage Monitoring
+
+The configuration screen also serves as a dashboard for monitoring the current usage of each provider in your list.
+
+- You can see the tokens and requests used within the last minute, hour, and day.
+- If you need to reset these counters, click the **"Clear Usage Data"** button. This will reset all statistics to zero and immediately re-enable any providers that were temporarily disabled due to exceeding their limits.
+
+## Example Use Case
+
+Imagine you have two profiles configured:
+
+1. **Chutes AI Free:** A free-tier provider with a limit of 5,000 tokens per hour.
+2. **OpenAI Paid:** Your personal pay-as-you-go OpenAI account.
+
+**Configuration:**
+
+- Place "Chutes AI Free" first in the list.
+- Set its "Tokens per hour" limit to `5000`.
+- Place "OpenAI Paid" second in the list, with no limits defined.
+
+**Result:**
+Kilo Code will send all requests to Chutes AI. Once your usage exceeds 5,000 tokens within an hour, it will automatically switch to your OpenAI account. The system will switch back to Chutes AI in the next hour when its quota window has reset.
+
+## Tips and Notes
+
+- **Priority is Key:** Always double-check the order of your profiles. The intended primary or free-tier providers should be at the top.
+- **Error-Based Fallback:** If you don't set any limits for a profile, fallback will only occur if the provider's API returns an error (e.g., a hard rate limit from the service itself, a network issue, or an invalid API key).
+- **No Nesting:** You cannot select another "Virtual Quota Fallback" profile within this provider's configuration, as this would create a circular dependency.
diff --git a/packages/kilo-docs/pages/ai-providers/vscode-lm.md b/packages/kilo-docs/pages/ai-providers/vscode-lm.md
new file mode 100644
index 00000000000..4e0a0ff1783
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/vscode-lm.md
@@ -0,0 +1,45 @@
+---
+sidebar_label: VS Code Language Model API
+---
+
+# Using VS Code Language Model API With Kilo Code
+
+Kilo Code includes _experimental_ support for the [VS Code Language Model API](https://code.visualstudio.com/api/language-extensions/language-model-access). This API allows extensions to provide access to language models directly within VS Code. This means you can potentially use models from:
+
+- **GitHub Copilot:** If you have a Copilot subscription and the extension installed.
+- **Other VS Code Extensions:** Any extension that implements the Language Model API.
+
+**Important:** This integration is highly experimental and may not work as expected. It is dependent on other extensions correctly implementing the VS Code Language Model API.
+
+## Prerequisites
+
+- **VS Code:** The Language Model API is available through VS Code (and is not currently supported by Cursor).
+- **A Language Model Provider Extension:** You need an extension that provides a language model. Examples include:
+ - **GitHub Copilot:** If you have a Copilot subscription, the GitHub Copilot and GitHub Copilot Chat extensions can provide models.
+ - **Other Extensions:** Search the VS Code Marketplace for extensions that mention "Language Model API" or "lm". There may be other experimental extensions available.
+
+## Configuration
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "VS Code LM API" from the "API Provider" dropdown.
+3. **Select Model:** The "Language Model" dropdown will (eventually) list available models. The format is `vendor/family`. For example, if you have Copilot, you might see options like:
+ - `copilot - claude-3.5-sonnet`
+ - `copilot - o3-mini`
+ - `copilot - o1-ga`
+ - `copilot - gemini-2.0-flash`
+
+## Limitations
+
+- **Experimental API:** The VS Code Language Model API is still under development. Expect changes and potential instability.
+- **Extension Dependent:** This feature relies entirely on other extensions providing models. Kilo Code cannot directly control which models are available.
+- **Limited Functionality:** The VS Code Language Model API may not support all the features of other API providers (e.g., image input, streaming, detailed usage information).
+- **No Direct Cost Control:** You are subject to the pricing and terms of the extension providing the model. Kilo Code cannot directly track or limit costs.
+- **GitHub Copilot Rate Limits:** When using the VS Code LM API with GitHub Copilot, be aware that GitHub may impose rate limits on Copilot usage. These limits are controlled by GitHub, not Kilo Code.
+
+## Troubleshooting
+
+- **No Models Appear:**
+ - Ensure you have VS Code installed.
+ - Ensure you have a language model provider extension installed and enabled (e.g., GitHub Copilot, GitHub Copilot Chat).
+ - If using Copilot, make sure that you have sent a Copilot Chat message using the model you would like to use.
+- **Unexpected Behavior:** If you encounter unexpected behavior, it's likely an issue with the underlying Language Model API or the provider extension. Consider reporting the issue to the provider extension's developers.
diff --git a/packages/kilo-docs/pages/ai-providers/xai.md b/packages/kilo-docs/pages/ai-providers/xai.md
new file mode 100644
index 00000000000..309bd4f0c35
--- /dev/null
+++ b/packages/kilo-docs/pages/ai-providers/xai.md
@@ -0,0 +1,49 @@
+---
+sidebar_label: xAI (Grok)
+---
+
+# Using xAI (Grok) With Kilo Code
+
+xAI is the company behind Grok, a large language model known for its conversational abilities and large context window. Grok models are designed to provide helpful, informative, and contextually relevant responses.
+
+**Website:** [https://x.ai/](https://x.ai/)
+
+## Getting an API Key
+
+1. **Sign Up/Sign In:** Go to the [xAI Console](https://console.x.ai/). Create an account or sign in.
+2. **Navigate to API Keys:** Go to the API keys section in your dashboard.
+3. **Create a Key:** Click to create a new API key. Give your key a descriptive name (e.g., "Kilo Code").
+4. **Copy the Key:** **Important:** Copy the API key _immediately_. You will not be able to see it again. Store it securely.
+
+## Configuration in Kilo Code
+
+1. **Open Kilo Code Settings:** Click the gear icon ({% codicon name="gear" /%}) in the Kilo Code panel.
+2. **Select Provider:** Choose "xAI" from the "API Provider" dropdown.
+3. **Enter API Key:** Paste your xAI API key into the "xAI API Key" field.
+4. **Select Model:** Choose your desired Grok model from the "Model" dropdown.
+
+## Reasoning Capabilities
+
+Some models feature specialized reasoning capabilities, allowing them to "think before responding" - particularly useful for complex problem-solving tasks.
+
+### Controlling Reasoning Effort
+
+When using reasoning-enabled models, you can control how hard the model thinks with the `reasoning_effort` parameter:
+
+- `low`: Minimal thinking time, using fewer tokens for quick responses
+- `high`: Maximum thinking time, leveraging more tokens for complex problems
+
+Choose `low` for simple queries that should complete quickly, and `high` for harder problems where response latency is less important.
+
+### Key Features
+
+- **Step-by-Step Problem Solving**: The model thinks through problems methodically before delivering an answer
+- **Math & Quantitative Strength**: Excels at numerical challenges and logic puzzles
+- **Reasoning Trace Access**: The model's thinking process is available via the `reasoning_content` field in the response completion object
+
+## Tips and Notes
+
+- **Context Window:** Most Grok models feature large context windows (up to 131K tokens), allowing you to include substantial amounts of code and context in your prompts.
+- **Vision Capabilities:** Select vision-enabled models (`grok-2-vision-latest`, `grok-2-vision`, etc.) when you need to process or analyze images.
+- **Pricing:** Pricing varies by model, with input costs ranging from $0.3 to $5.0 per million tokens and output costs from $0.5 to $25.0 per million tokens. Refer to the xAI documentation for the most current pricing information.
+- **Performance Tradeoffs:** "Fast" variants typically offer quicker response times but may have higher costs, while "mini" variants are more economical but may have reduced capabilities.
diff --git a/packages/kilo-docs/pages/api/llms.txt.ts b/packages/kilo-docs/pages/api/llms.txt.ts
new file mode 100644
index 00000000000..d3ca9ac8647
--- /dev/null
+++ b/packages/kilo-docs/pages/api/llms.txt.ts
@@ -0,0 +1,85 @@
+import type { NextApiRequest, NextApiResponse } from "next"
+import fs from "fs"
+import path from "path"
+
+/**
+ * Recursively finds all markdown files in a directory
+ */
+function findMarkdownFiles(dir: string, baseDir: string = dir): string[] {
+ const files: string[] = []
+ const entries = fs.readdirSync(dir, { withFileTypes: true })
+
+ for (const entry of entries) {
+ const fullPath = path.join(dir, entry.name)
+
+ if (entry.isDirectory()) {
+ // Skip api directory
+ if (entry.name === "api") continue
+ files.push(...findMarkdownFiles(fullPath, baseDir))
+ } else if (entry.name.endsWith(".md")) {
+ files.push(fullPath)
+ }
+ }
+
+ return files
+}
+
+/**
+ * Converts a file path to a URL path
+ */
+function filePathToUrlPath(filePath: string, pagesDir: string): string {
+ let relativePath = path.relative(pagesDir, filePath)
+ // Remove .md extension
+ relativePath = relativePath.replace(/\.md$/, "")
+ // Handle index files
+ relativePath = relativePath.replace(/\/index$/, "")
+ // Convert to URL path
+ return "/" + relativePath
+}
+
+export default async function handler(req: NextApiRequest, res: NextApiResponse) {
+ if (req.method !== "GET") {
+ return res.status(405).json({ error: "Method not allowed" })
+ }
+
+ try {
+ const pagesDir = path.join(process.cwd(), "pages")
+ const markdownFiles = findMarkdownFiles(pagesDir)
+
+ // Sort files for consistent output
+ markdownFiles.sort()
+
+ const sections: string[] = []
+
+ // Add header
+ sections.push("# Kilo Code Documentation")
+ sections.push("")
+ sections.push(
+ "This file contains the complete documentation for Kilo Code, the leading open source agentic engineering platform.",
+ )
+ sections.push("")
+ sections.push("---")
+ sections.push("")
+
+ for (const filePath of markdownFiles) {
+ const urlPath = filePathToUrlPath(filePath, pagesDir)
+ const content = fs.readFileSync(filePath, "utf-8")
+
+ sections.push(`## Source: ${urlPath}`)
+ sections.push("")
+ sections.push(content)
+ sections.push("")
+ sections.push("---")
+ sections.push("")
+ }
+
+ const output = sections.join("\n")
+
+ res.setHeader("Content-Type", "text/plain; charset=utf-8")
+ res.setHeader("Cache-Control", "public, max-age=3600") // Cache for 1 hour
+ res.status(200).send(output)
+ } catch (error) {
+ console.error("Error generating llms.txt:", error)
+ res.status(500).json({ error: "Internal server error" })
+ }
+}
diff --git a/packages/kilo-docs/pages/api/raw-markdown.ts b/packages/kilo-docs/pages/api/raw-markdown.ts
new file mode 100644
index 00000000000..66dca9424e2
--- /dev/null
+++ b/packages/kilo-docs/pages/api/raw-markdown.ts
@@ -0,0 +1,47 @@
+import type { NextApiRequest, NextApiResponse } from "next"
+import fs from "fs"
+import path from "path"
+
+export default async function handler(req: NextApiRequest, res: NextApiResponse) {
+ if (req.method !== "GET") {
+ return res.status(405).json({ error: "Method not allowed" })
+ }
+
+ const { path: mdPath } = req.query
+
+ if (!mdPath || typeof mdPath !== "string") {
+ return res.status(400).json({ error: "Missing path parameter" })
+ }
+
+ try {
+ // Sanitize the path to prevent directory traversal
+ const sanitizedPath = mdPath.replace(/\.\./g, "").replace(/^\/+/, "")
+
+ // Construct the file path - try .md extension
+ const pagesDir = path.join(process.cwd(), "pages")
+ let filePath = path.join(pagesDir, `${sanitizedPath}.md`)
+
+ // Check if it's an index file
+ if (!fs.existsSync(filePath)) {
+ filePath = path.join(pagesDir, sanitizedPath, "index.md")
+ }
+
+ // Verify the path is within the pages directory
+ const resolvedPath = path.resolve(filePath)
+ if (!resolvedPath.startsWith(path.resolve(pagesDir))) {
+ return res.status(403).json({ error: "Access denied" })
+ }
+
+ if (!fs.existsSync(resolvedPath)) {
+ return res.status(404).json({ error: "File not found" })
+ }
+
+ const content = fs.readFileSync(resolvedPath, "utf-8")
+
+ res.setHeader("Content-Type", "text/plain; charset=utf-8")
+ res.status(200).send(content)
+ } catch (error) {
+ console.error("Error reading markdown file:", error)
+ res.status(500).json({ error: "Internal server error" })
+ }
+}
diff --git a/packages/kilo-docs/docs/advanced-usage/agent-manager.md b/packages/kilo-docs/pages/automate/agent-manager.md
similarity index 98%
rename from packages/kilo-docs/docs/advanced-usage/agent-manager.md
rename to packages/kilo-docs/pages/automate/agent-manager.md
index a2f71224288..bf1497d4958 100644
--- a/packages/kilo-docs/docs/advanced-usage/agent-manager.md
+++ b/packages/kilo-docs/pages/automate/agent-manager.md
@@ -1,3 +1,8 @@
+---
+title: "Agent Manager"
+description: "Manage and orchestrate multiple AI agents"
+---
+
# Agent Manager
The Agent Manager is a dedicated control panel for running and supervising Kilo Code agents as interactive CLI processes. It supports:
diff --git a/packages/kilo-docs/docs/advanced-usage/code-reviews.md b/packages/kilo-docs/pages/automate/code-reviews.md
similarity index 95%
rename from packages/kilo-docs/docs/advanced-usage/code-reviews.md
rename to packages/kilo-docs/pages/automate/code-reviews.md
index de8621bca86..01a334189c6 100644
--- a/packages/kilo-docs/docs/advanced-usage/code-reviews.md
+++ b/packages/kilo-docs/pages/automate/code-reviews.md
@@ -1,12 +1,12 @@
---
-title: Code Reviews
-sidebar_label: Code Reviews
+title: "Code Reviews"
+description: "Automate code reviews with AI assistance"
---
+# Code Reviews
+
Kilo's **Code Reviews** feature automatically analyzes your pull requests using an AI model of your choice. It can review code the moment a PR is opened or updated, surface issues, and provide structured feedback across performance, security, style, and test coverage.
----
-
## What Code Reviews Enable
- Automated AI review on every pull request
@@ -15,8 +15,6 @@ Kilo's **Code Reviews** feature automatically analyzes your pull requests using
- Deep reasoning over changed files, diffs, and repo context
- Customizable review strictness and focus areas
----
-
## Prerequisites
Before enabling Code Reviews:
@@ -24,8 +22,6 @@ Before enabling Code Reviews:
- **GitHub Integration must be configured**
Connect your account via the [Integrations tab](https://app.kilo.ai/integrations) so that the Review Agent can access your repositories.
----
-
## Cost
- **Compute and review time are free during limited beta**
@@ -33,8 +29,6 @@ Before enabling Code Reviews:
- [Kilo Discord](https://discord.gg/hZnd57qN)
- **Kilo Code credits are still used** when the agent performs model reasoning during a review.
----
-
## How to Use
1. Go to the **Review Agent** section in your Kilo Code [personal](https://app.kilo.ai/profile) or [Organization](https://app.kilo.ai/organizations) dashboard.
@@ -57,8 +51,6 @@ Before enabling Code Reviews:
Once configured, the Review Agent will run automatically on PR events.
----
-
## How Code Reviews Work
- When a pull request is opened or updated:
@@ -75,8 +67,6 @@ Once configured, the Review Agent will run automatically on PR events.
Reviews are posted directly in GitHub as if coming from a team reviewer.
----
-
## Review Styles
### Strict
@@ -97,8 +87,6 @@ Reviews are posted directly in GitHub as if coming from a team reviewer.
- Encouraging and lightweight
- Ideal for exploratory PRs, prototypes, or early WIP reviews
----
-
## Focus Areas
You can tailor what the Review Agent pays attention to:
@@ -138,8 +126,6 @@ You can tailor what the Review Agent pays attention to:
- Missing comments
- Unclear APIs
----
-
## Perfect For
The Review Agent is ideal for:
@@ -151,13 +137,10 @@ The Review Agent is ideal for:
- **Security-focused environments requiring strict gates**
- **Educating junior developers with rich explanations**
----
-
## Limitations and Guidance
- Reviews can run for **up to 30 minutes** depending on your setting.
- The agent reviews **only the changed files**, not the entire repository.
- Some highly dynamic or domain-specific code may require additional context in custom instructions.
- The agent will only run on **selected repositories**.
-- **PRs from forks are not supported**. Only pull requests from branches within the same repository can be automatically reviewed.
- During beta, review capacity may be throttled for extremely large PRs.
diff --git a/packages/kilo-docs/docs/features/auto-launch-configuration.md b/packages/kilo-docs/pages/automate/extending/auto-launch.md
similarity index 95%
rename from packages/kilo-docs/docs/features/auto-launch-configuration.md
rename to packages/kilo-docs/pages/automate/extending/auto-launch.md
index 02b860e1fa6..77cd7e046b9 100644
--- a/packages/kilo-docs/docs/features/auto-launch-configuration.md
+++ b/packages/kilo-docs/pages/automate/extending/auto-launch.md
@@ -1,10 +1,15 @@
+---
+title: "Auto-launch Configuration"
+description: "Configure automatic agent launching"
+---
+
# Auto-Launch Configuration
Auto-Launch Configuration allows you to automatically start a Kilo Code task when opening a workspace, with support for specific profiles and modes. This was originally developed as an internal test feature, but we decided to expose it to users in case anyone finds it useful!
-:::info
+{% callout type="info" %}
Auto-Launch Configuration is particularly useful for testing the same prompt against multiple models or project directories.
-:::
+{% /callout %}
## How It Works
@@ -48,7 +53,7 @@ This happens seamlessly in the background, requiring no manual intervention.
- `"ask"` - Questions and explanations
- `"debug"` - Problem diagnosis and troubleshooting
- `"test"` - Testing-focused workflows
- - Custom mode slugs (if you have [custom modes](/features/custom-modes))
+ - Custom mode slugs (if you have [custom modes](/agent-behavior/custom-modes))
## Example Configurations
diff --git a/packages/kilo-docs/pages/automate/extending/local-models.md b/packages/kilo-docs/pages/automate/extending/local-models.md
new file mode 100644
index 00000000000..67919082a67
--- /dev/null
+++ b/packages/kilo-docs/pages/automate/extending/local-models.md
@@ -0,0 +1,44 @@
+---
+title: "Local Models"
+description: "Run AI models locally with Kilo Code"
+---
+
+# Using Local Models
+
+Kilo Code supports running language models locally on your own machine using [Ollama](https://ollama.com/) and [LM Studio](https://lmstudio.ai/). This offers several advantages:
+
+- **Privacy:** Your code and data never leave your computer.
+- **Offline Access:** You can use Kilo Code even without an internet connection.
+- **Cost Savings:** Avoid API usage fees associated with cloud-based models.
+- **Customization:** Experiment with different models and configurations.
+
+**However, using local models also has some drawbacks:**
+
+- **Resource Requirements:** Local models can be resource-intensive, requiring a powerful computer with a good CPU and, ideally, a dedicated GPU.
+- **Setup Complexity:** Setting up local models can be more complex than using cloud-based APIs.
+- **Model Performance:** The performance of local models can vary significantly. While some are excellent, they may not always match the capabilities of the largest, most advanced cloud models.
+- **Limited Features**: Local models (and many online models) often do not support advanced features such as prompt caching, computer use, and others.
+
+## Supported Local Model Providers
+
+Kilo Code currently supports two main local model providers:
+
+1. **Ollama:** A popular open-source tool for running large language models locally. It supports a wide range of models.
+2. **LM Studio:** A user-friendly desktop application that simplifies the process of downloading, configuring, and running local models. It also provides a local server that emulates the OpenAI API.
+
+## Setting Up Local Models
+
+For detailed setup instructions, see:
+
+- [Setting up Ollama](/providers/ollama)
+- [Setting up LM Studio](/providers/lmstudio)
+
+Both providers offer similar capabilities but with different user interfaces and workflows. Ollama provides more control through its command-line interface, while LM Studio offers a more user-friendly graphical interface.
+
+## Troubleshooting
+
+- **"No connection could be made because the target machine actively refused it":** This usually means that the Ollama or LM Studio server isn't running, or is running on a different port/address than Kilo Code is configured to use. Double-check the Base URL setting.
+
+- **Slow Response Times:** Local models can be slower than cloud-based models, especially on less powerful hardware. If performance is an issue, try using a smaller model.
+
+- **Model Not Found:** Ensure you have typed in the name of the model correctly. If you're using Ollama, use the same name that you provide in the `ollama run` command.
diff --git a/packages/kilo-docs/docs/features/shell-integration.md b/packages/kilo-docs/pages/automate/extending/shell-integration.md
similarity index 76%
rename from packages/kilo-docs/docs/features/shell-integration.md
rename to packages/kilo-docs/pages/automate/extending/shell-integration.md
index 059761a98ac..1a3d6ab6599 100644
--- a/packages/kilo-docs/docs/features/shell-integration.md
+++ b/packages/kilo-docs/pages/automate/extending/shell-integration.md
@@ -1,3 +1,8 @@
+---
+title: "Shell Integration"
+description: "Integrate Kilo Code with your shell environment"
+---
+
# Terminal Shell Integration
Terminal Shell Integration is a key feature that enables Kilo Code to execute commands in your terminal and intelligently process their output. This bidirectional communication between the AI and your development environment unlocks powerful automation capabilities.
@@ -31,33 +36,36 @@ Kilo Code provides several settings to fine-tune shell integration. Access these
### Basic Settings
#### Terminal Output Limit
-
+
+{% image src="/docs/img/shell-integration/terminal-output-limit.png" alt="Terminal output limit slider set to 500" width="500" caption="Terminal output limit slider set to 500" /%}
Controls the maximum number of lines captured from terminal output. When exceeded, it keeps 20% of the beginning and 80% of the end with a truncation message in between. This prevents excessive token usage while maintaining context. Default: 500 lines.
Controls the maximum number of lines captured from terminal output. When exceeded, lines are removed from the middle to save tokens. Default: 500 lines.
#### Terminal Shell Integration Timeout
-
+
+{% image src="/docs/img/shell-integration/shell-integration-timeout.png" alt="Terminal shell integration timeout slider set to 15s" width="500" caption="Terminal shell integration timeout slider set to 15s" /%}
Maximum time to wait for shell integration to initialize before executing commands. Increase this value if you experience "Shell Integration Unavailable" errors. Default: 15 seconds.
#### Terminal Command Delay
-
+
+{% image src="/docs/img/shell-integration/terminal-command-delay.png" alt="Terminal command delay slider set to 0ms" width="500" caption="Terminal command delay slider set to 0ms" /%}
Adds a small pause after running commands to help Kilo Code capture all output correctly. This setting can significantly impact shell integration reliability due to VSCode's implementation of terminal integration across different operating systems and shell configurations:
- **Default**: 0ms
- **Common Values**:
- * 0ms: Works best for some users with newer VSCode versions
- * 50ms: Historical default, still effective for many users
- * 150ms: Recommended for PowerShell users
+ - 0ms: Works best for some users with newer VSCode versions
+ - 50ms: Historical default, still effective for many users
+ - 150ms: Recommended for PowerShell users
- **Note**: Different values may work better depending on your:
- * VSCode version
- * Shell customizations (oh-my-zsh, powerlevel10k, etc.)
- * Operating system and environment
+ - VSCode version
+ - Shell customizations (oh-my-zsh, powerlevel10k, etc.)
+ - Operating system and environment
### Advanced Settings
-:::info Important
+{% callout type="info" title="Important" %}
**Terminal restart required for these settings**
Changes to advanced terminal settings only take effect after restarting your terminals. To restart a terminal:
@@ -66,30 +74,35 @@ Changes to advanced terminal settings only take effect after restarting your ter
2. Open a new terminal with Terminal → New Terminal or Ctrl+` (backtick)
Always restart all open terminals after changing any of these settings.
-:::
+{% /callout %}
#### PowerShell Counter Workaround
-
+
+{% image src="/docs/img/shell-integration/power-shell-workaround.png" alt="PowerShell counter workaround checkbox" width="600" caption="PowerShell counter workaround checkbox" /%}
Helps PowerShell run the same command multiple times in a row. Enable this if you notice Kilo Code can't run identical commands consecutively in PowerShell.
#### Clear ZSH EOL Mark
-
+
+{% image src="/docs/img/shell-integration/clear-zsh-eol-mark.png" alt="Clear ZSH EOL mark checkbox" width="600" caption="Clear ZSH EOL mark checkbox" /%}
Prevents ZSH from adding special characters at the end of output lines that can confuse Kilo Code when reading terminal results.
#### Oh My Zsh Integration
-
+
+{% image src="/docs/img/shell-integration/oh-my-zsh.png" alt="Enable Oh My Zsh integration checkbox" width="600" caption="Enable Oh My Zsh integration checkbox" /%}
Makes Kilo Code work better with the popular [Oh My Zsh](https://ohmyz.sh/) shell customization framework. Turn this on if you use Oh My Zsh and experience terminal issues.
#### Powerlevel10k Integration
-
+
+{% image src="/docs/img/shell-integration/power10k.png" alt="Enable Powerlevel10k integration checkbox" width="600" caption="Enable Powerlevel10k integration checkbox" /%}
Improves compatibility if you use the Powerlevel10k theme for ZSH. Turn this on if your fancy terminal prompt causes issues with Kilo Code.
#### ZDOTDIR Handling
-
+
+{% image src="/docs/img/shell-integration/zdotdir.png" alt="Enable ZDOTDIR handling checkbox" width="600" caption="Enable ZDOTDIR handling checkbox" /%}
Helps Kilo Code work with custom ZSH configurations without interfering with your personal shell settings and customizations.
@@ -104,6 +117,7 @@ PowerShell restricts script execution by default. To configure:
3. Set appropriate policy: `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser`
Common policies:
+
- `Restricted`: No scripts allowed (default)
- `RemoteSigned`: Local scripts can run; downloaded scripts need signing
- `Unrestricted`: All scripts run with warnings
@@ -114,21 +128,25 @@ Common policies:
If automatic integration fails, add the appropriate line to your shell configuration:
**Bash** (`~/.bashrc`):
+
```bash
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path bash)"
```
**Zsh** (`~/.zshrc`):
+
```bash
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
```
**PowerShell** (`$Profile`):
+
```powershell
if ($env:TERM_PROGRAM -eq "vscode") { . "$(code --locate-shell-integration-path pwsh)" }
```
**Fish** (`~/.config/fish/config.fish`):
+
```fish
string match -q "$TERM_PROGRAM" "vscode"; and . (code --locate-shell-integration-path fish)
```
@@ -138,6 +156,7 @@ string match -q "$TERM_PROGRAM" "vscode"; and . (code --locate-shell-integration
If you use terminal customization tools:
**Powerlevel10k**:
+
```bash
# Add before sourcing powerlevel10k in ~/.zshrc
typeset -g POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
@@ -150,6 +169,7 @@ typeset -g POWERLEVEL9K_TERM_SHELL_INTEGRATION=true
Confirm shell integration is active with these commands:
**Bash**:
+
```bash
set | grep -i '[16]33;'
echo "$PROMPT_COMMAND" | grep vsc
@@ -157,24 +177,28 @@ trap -p DEBUG | grep vsc
```
**Zsh**:
+
```zsh
functions | grep -i vsc
typeset -p precmd_functions preexec_functions
```
**PowerShell**:
+
```powershell
Get-Command -Name "*VSC*" -CommandType Function
Get-Content Function:\Prompt | Select-String "VSCode"
```
**Fish**:
+
```fish
functions | grep -i vsc
functions fish_prompt | grep -i vsc
```
Visual indicators of active shell integration:
+
1. Shell integration indicator in terminal title bar
2. Command detection highlighting
3. Working directory updates in terminal title
@@ -187,6 +211,7 @@ When using Windows Subsystem for Linux (WSL), there are two distinct ways to use
### Method 1: VSCode Windows with WSL Terminal
In this setup:
+
- VSCode runs natively in Windows
- You use the WSL terminal integration feature in VSCode
- Shell commands are executed through the WSL bridge
@@ -196,6 +221,7 @@ In this setup:
### Method 2: VSCode Running Within WSL
In this setup:
+
- You launch VSCode directly from within WSL using `code .`
- VSCode server runs natively in the Linux environment
- Direct access to Linux filesystem and tools
@@ -204,6 +230,7 @@ In this setup:
- Recommended approach for WSL development
For optimal shell integration with WSL, we recommend:
+
1. Open your WSL distribution
2. Navigate to your project directory
3. Launch VSCode using `code .`
@@ -216,10 +243,12 @@ For optimal shell integration with WSL, we recommend:
For fellow Windows users running Fish terminal within a Cygwin environment, here's how VS Code's shell integration works:
1. **(Optional) Locate the Shell Integration Script:**
- Open your Fish terminal *within VS Code* and run the following command:
+ Open your Fish terminal _within VS Code_ and run the following command:
+
```bash
code --locate-shell-integration-path fish
```
+
This will output the path to the `shellIntegration.fish` script. Note down this path.
2. **Update Your Fish Configuration:**
@@ -239,7 +268,8 @@ For fellow Windows users running Fish terminal within a Cygwin environment, here
# source "/cygdrive/c/Users/YourUser/.vscode/extensions/..../shellIntegration.fish"
end
```
- *Remember to replace the example path with the actual path from Step 1, correctly formatted for Cygwin.*
+
+ _Remember to replace the example path with the actual path from Step 1, correctly formatted for Cygwin._
3. **Configure VS Code Terminal Profile:**
Open your VS Code `settings.json` file (Ctrl+Shift+P -> "Preferences: Open User Settings (JSON)"). Update or add the Fish profile under `terminal.integrated.profiles.windows` like this:
@@ -277,38 +307,42 @@ For fellow Windows users running Fish terminal within a Cygwin environment, here
// ... other settings ...
}
```
- *Note: Using `bash.exe --login -i -c "exec fish"` is often more reliable in Cygwin environments for ensuring the correct environment setup before `fish` starts. However, if that approach doesn't work, try the `fish-direct` profile configuration.*
+
+ _Note: Using `bash.exe --login -i -c "exec fish"` is often more reliable in Cygwin environments for ensuring the correct environment setup before `fish` starts. However, if that approach doesn't work, try the `fish-direct` profile configuration._
4. **Restart VS Code:**
Close and reopen Visual Studio Code completely to apply the changes.
5. **Verify:**
- Open a new Fish terminal in VS Code. The shell integration features (like command decorations, better command history navigation, etc.) should now be active. You can test basic functionality by running simple commands like `echo "Hello from integrated Fish!"`.
+ Open a new Fish terminal in VS Code. The shell integration features (like command decorations, better command history navigation, etc.) should now be active. You can test basic functionality by running simple commands like `echo "Hello from integrated Fish!"`. {% image src="/docs/img/shell-integration/shell-integration-8.png" alt="Fish Cygwin Integration Example" width="600" caption="Fish Cygwin Integration Example" /%}
This setup works reliably on Windows systems using Cygwin, Fish, and the Starship prompt, and should assist users with similar configurations.
-
### Shell Integration Failures After VSCode 1.98
**Issue**: After VSCode updates beyond version 1.98, shell integration may fail with the error "VSCE output start escape sequence (]633;C or ]133;C) not received".
**Solutions**:
+
1. **Set Terminal Command Delay**:
- - Set the Terminal Command Delay to 50ms in Kilo Code settings
- - Restart all terminals after changing this setting
- - This matches older default behavior and may resolve the issue, however some users have reported that a value of 0ms works better. This is a workaround for upstream VSCode problems.
+
+ - Set the Terminal Command Delay to 50ms in Kilo Code settings
+ - Restart all terminals after changing this setting
+ - This matches older default behavior and may resolve the issue, however some users have reported that a value of 0ms works better. This is a workaround for upstream VSCode problems.
2. **Roll Back VSCode Version**:
- - Download VSCode v1.98 from [VSCode Updates](https://code.visualstudio.com/updates/v1_98)
- - Replace your current VSCode installation
- - No backup of Kilo settings needed
+
+ - Download VSCode v1.98 from [VSCode Updates](https://code.visualstudio.com/updates/v1_98)
+ - Replace your current VSCode installation
+ - No backup of Kilo settings needed
3. **WSL-Specific Workaround**:
- - If using WSL, ensure you launch VSCode from within WSL using `code .`
+
+ - If using WSL, ensure you launch VSCode from within WSL using `code .`
4. **ZSH Users**:
- - Try enabling some or all ZSH-related workarounds in Kilo Code settings
- - These settings can help regardless of your operating system
+ - Try enabling some or all ZSH-related workarounds in Kilo Code settings
+ - These settings can help regardless of your operating system
## Known Issues and Workarounds
@@ -340,37 +374,41 @@ This setup works reliably on Windows systems using Cygwin, Fish, and the Starshi
## Troubleshooting Resources
### Checking Debug Logs
+
When shell integration issues occur, check the debug logs:
+
1. Open Help → Toggle Developer Tools → Console
2. Set "Show All Levels" to see all log messages
3. Look for messages containing `[Terminal Process]`
4. Check `preOutput` content in error messages:
- - Empty preOutput (`''`) means VSCode sent no data
- - This indicates a potential VSCode shell integration issue, or an upstream bug that is out of our control
- - The absence of shell integration markers may require adjusting settings to work around possible upstream bugs or local workstation configuration issues related to shell initialization and VSCode's loading of special shell integration hooks
+ - Empty preOutput (`''`) means VSCode sent no data
+ - This indicates a potential VSCode shell integration issue, or an upstream bug that is out of our control
+ - The absence of shell integration markers may require adjusting settings to work around possible upstream bugs or local workstation configuration issues related to shell initialization and VSCode's loading of special shell integration hooks
### Using the VSCode Terminal Integration Test Extension
+
The [VSCode Terminal Integration Test Extension](https://github.com/KJ7LNW/vsce-test-terminal-integration) helps diagnose shell integration issues by testing different settings combinations:
-
1. **When Commands Stall**:
- - If you see "command already running" warnings, click "Reset Stats" to reset the terminal state
- - These warnings indicate shell integration is not working
- - Try different settings combinations until you find one that works
- - If it really gets stuck, restart the extension by closing the window and pressing F5
+
+ - If you see "command already running" warnings, click "Reset Stats" to reset the terminal state
+ - These warnings indicate shell integration is not working
+ - Try different settings combinations until you find one that works
+ - If it really gets stuck, restart the extension by closing the window and pressing F5
2. **Testing Settings**:
- - Systematically try different combinations of:
- * Terminal Command Delay
- * Shell Integration settings
- - Document which combinations succeed or fail
- - This helps identify patterns in shell integration issues
+
+ - Systematically try different combinations of:
+ - Terminal Command Delay
+ - Shell Integration settings
+ - Document which combinations succeed or fail
+ - This helps identify patterns in shell integration issues
3. **Reporting Issues**:
- - Once you find a problematic configuration
- - Document the exact settings combination
- - Note your environment (OS, VSCode version, shell, and any shell prompt customization)
- - Open an issue with these details to help improve shell integration
+ - Once you find a problematic configuration
+ - Document the exact settings combination
+ - Note your environment (OS, VSCode version, shell, and any shell prompt customization)
+ - Open an issue with these details to help improve shell integration
## Support
@@ -379,4 +417,4 @@ If you've followed these steps and are still experiencing problems, please:
1. Check the [Kilo Code GitHub Issues](https://github.com/Kilo-Org/kilocode/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://kilocode.ai/discord).
+For additional help, join our [Discord](https://kilo.ai/discord).
diff --git a/packages/kilo-docs/pages/automate/index.md b/packages/kilo-docs/pages/automate/index.md
new file mode 100644
index 00000000000..8a574a0f560
--- /dev/null
+++ b/packages/kilo-docs/pages/automate/index.md
@@ -0,0 +1,20 @@
+---
+title: "Automate"
+description: "Automate your development workflows with Kilo Code"
+---
+
+# Automate
+
+{% callout type="info" title="Coming Soon" %}
+This page is under construction. Check back soon for comprehensive documentation.
+{% /callout %}
+
+
diff --git a/packages/kilo-docs/docs/advanced-usage/integrations.md b/packages/kilo-docs/pages/automate/integrations.md
similarity index 96%
rename from packages/kilo-docs/docs/advanced-usage/integrations.md
rename to packages/kilo-docs/pages/automate/integrations.md
index e39b46d3fad..b9468a8f3ba 100644
--- a/packages/kilo-docs/docs/advanced-usage/integrations.md
+++ b/packages/kilo-docs/pages/automate/integrations.md
@@ -1,20 +1,18 @@
---
-title: Kilo Integrations
-sidebar_label: Kilo Integrations
+title: "Integrations"
+description: "Overview of Kilo Code integrations"
---
+# Kilo Code Integrations
+
Kilo Integrations lets you connect your GitHub account (and soon, GitLab and Bitbucket) to enable advanced features inside Kilo Code. Once connected, Kilo can access your repositories securely through the **KiloConnect** GitHub App, enabling features like **Cloud Agents** and **Kilo Deploy**.
----
-
## What You Can Do With Integrations
- **Connect GitHub to Kilo Code** in a few clicks
- **Authorize the KiloConnect App** for repo access
- **Enable advanced features** like Cloud Agents and Kilo Deploy
----
-
## Prerequisites
Before connecting:
@@ -23,8 +21,6 @@ Before connecting:
- You need permission to install GitHub Apps for the repositories you want Kilo to access.
- (Optional) If you're connecting an organization, you must be an **org admin** or have app installation permissions.
----
-
## Connecting GitHub to Kilo
### 1. Open the Integrations Page
@@ -54,8 +50,6 @@ Once approved:
- Github will show a **Connected** status.
- Your Kilo workspace can now access GitHub repositories securely.
----
-
## What Happens After Connecting
Once GitHub is connected, the following features will be enabled in Kilo:
diff --git a/packages/kilo-docs/docs/features/mcp/mcp-vs-api.md b/packages/kilo-docs/pages/automate/mcp/mcp-vs-api.md
similarity index 67%
rename from packages/kilo-docs/docs/features/mcp/mcp-vs-api.md
rename to packages/kilo-docs/pages/automate/mcp/mcp-vs-api.md
index 92ba206aa7f..25d1484c214 100644
--- a/packages/kilo-docs/docs/features/mcp/mcp-vs-api.md
+++ b/packages/kilo-docs/pages/automate/mcp/mcp-vs-api.md
@@ -1,6 +1,6 @@
---
-title: MCP vs API
-sidebar_label: MCP vs API
+title: "MCP vs API"
+description: "Comparing MCP to traditional APIs"
---
# MCP vs REST APIs: A Fundamental Distinction
@@ -9,14 +9,14 @@ Comparing REST APIs to the Model Context Protocol (MCP) is a category error. The
## Architectural Differences
-| Feature | MCP | REST APIs |
-|---------|-----|-----------|
-| State Management | **Stateful** - maintains context across interactions | **Stateless** - each request is independent |
-| Connection Type | Persistent, bidirectional connections | One-way request/response |
-| Communication Style | JSON-RPC based with ongoing sessions | HTTP-based with discrete requests |
-| Context Handling | Context is intrinsic to the protocol | Context must be manually managed |
-| Tool Discovery | Runtime discovery of available tools | Design-time integration requiring prior knowledge |
-| Integration Approach | Runtime integration with dynamic capabilities | Design-time integration requiring code changes |
+| Feature | MCP | REST APIs |
+| -------------------- | ---------------------------------------------------- | ------------------------------------------------- |
+| State Management | **Stateful** - maintains context across interactions | **Stateless** - each request is independent |
+| Connection Type | Persistent, bidirectional connections | One-way request/response |
+| Communication Style | JSON-RPC based with ongoing sessions | HTTP-based with discrete requests |
+| Context Handling | Context is intrinsic to the protocol | Context must be manually managed |
+| Tool Discovery | Runtime discovery of available tools | Design-time integration requiring prior knowledge |
+| Integration Approach | Runtime integration with dynamic capabilities | Design-time integration requiring code changes |
## Different Layers, Different Purposes
@@ -43,23 +43,23 @@ MCP enables an AI to discover and use tools at runtime:
```json
// AI discovers available tools
{
- "tools": [
- {
- "name": "readFile",
- "description": "Reads content from a file",
- "parameters": {
- "path": { "type": "string", "description": "File path" }
- }
- },
- {
- "name": "createTicket",
- "description": "Creates a ticket in issue tracker",
- "parameters": {
- "title": { "type": "string" },
- "description": { "type": "string" }
- }
- }
- ]
+ "tools": [
+ {
+ "name": "readFile",
+ "description": "Reads content from a file",
+ "parameters": {
+ "path": { "type": "string", "description": "File path" }
+ }
+ },
+ {
+ "name": "createTicket",
+ "description": "Creates a ticket in issue tracker",
+ "parameters": {
+ "title": { "type": "string" },
+ "description": { "type": "string" }
+ }
+ }
+ ]
}
```
@@ -70,11 +70,13 @@ This "plug-and-play" capability allows new tools to be added without redeploying
Consider a task requiring multiple services: "Check recent commits, create a JIRA ticket for the bug fix, and post to Slack."
**REST-based approach**:
+
- Requires separate integrations for Git, JIRA, and Slack APIs
- Needs custom code to manage context between calls
- Breaks if any service changes its API
**MCP-based approach**:
+
- One unified protocol for all tools
- Maintains context across the entire workflow
- New tools can be swapped in without code changes
@@ -94,4 +96,4 @@ MCP creates a universal connector between Kilo Code and external services, with
MCP doesn't replace REST APIs - it builds upon them. REST excels at providing discrete services, while MCP excels at orchestrating those services for AI agents.
-The critical distinction is that MCP is AI-native: it treats the model as a first-class user, providing the contextual, stateful interaction layer that AI agents need to function effectively in complex environments.
\ No newline at end of file
+The critical distinction is that MCP is AI-native: it treats the model as a first-class user, providing the contextual, stateful interaction layer that AI agents need to function effectively in complex environments.
diff --git a/packages/kilo-docs/docs/features/mcp/overview.md b/packages/kilo-docs/pages/automate/mcp/overview.md
similarity index 97%
rename from packages/kilo-docs/docs/features/mcp/overview.md
rename to packages/kilo-docs/pages/automate/mcp/overview.md
index 5938c8e898a..3204ac0bf61 100644
--- a/packages/kilo-docs/docs/features/mcp/overview.md
+++ b/packages/kilo-docs/pages/automate/mcp/overview.md
@@ -1,6 +1,6 @@
---
-title: MCP Overview
-sidebar_label: MCP Overview
+title: "MCP Overview"
+description: "Overview of the Model Context Protocol"
---
# Model Context Protocol (MCP)
diff --git a/packages/kilo-docs/pages/automate/mcp/server-transports.md b/packages/kilo-docs/pages/automate/mcp/server-transports.md
new file mode 100644
index 00000000000..b8dc6eb8964
--- /dev/null
+++ b/packages/kilo-docs/pages/automate/mcp/server-transports.md
@@ -0,0 +1,199 @@
+---
+title: "Server Transports"
+description: "Understanding MCP server transport options"
+---
+
+# MCP Server Transports: STDIO & SSE
+
+Model Context Protocol (MCP) supports two primary transport mechanisms for communication between Kilo Code and MCP servers: Standard Input/Output (STDIO) and Server-Sent Events (SSE). Each has distinct characteristics, advantages, and use cases.
+
+## STDIO Transport
+
+STDIO transport runs locally on your machine and communicates via standard input/output streams.
+
+### How STDIO Transport Works
+
+1. The client (Kilo Code) spawns an MCP server as a child process
+2. Communication happens through process streams: client writes to server's STDIN, server responds to STDOUT
+3. Each message is delimited by a newline character
+4. Messages are formatted as JSON-RPC 2.0
+
+```
+Client Server
+ | |
+ |---- JSON message ------>| (via STDIN)
+ | | (processes request)
+ |<---- JSON message ------| (via STDOUT)
+ | |
+```
+
+### STDIO Characteristics
+
+- **Locality**: Runs on the same machine as Kilo Code
+- **Performance**: Very low latency and overhead (no network stack involved)
+- **Simplicity**: Direct process communication without network configuration
+- **Relationship**: One-to-one relationship between client and server
+- **Security**: Inherently more secure as no network exposure
+
+### When to Use STDIO
+
+STDIO transport is ideal for:
+
+- Local integrations and tools running on the same machine
+- Security-sensitive operations
+- Low-latency requirements
+- Single-client scenarios (one Kilo Code instance per server)
+- Command-line tools or IDE extensions
+
+### STDIO Implementation Example
+
+```typescript
+import { Server } from "@modelcontextprotocol/sdk/server/index.js"
+import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
+
+const server = new Server({ name: "local-server", version: "1.0.0" })
+// Register tools...
+
+// Use STDIO transport
+const transport = new StdioServerTransport(server)
+transport.listen()
+```
+
+## SSE Transport
+
+Server-Sent Events (SSE) transport runs on a remote server and communicates over HTTP/HTTPS.
+
+### How SSE Transport Works
+
+1. The client (Kilo Code) connects to the server's SSE endpoint via HTTP GET request
+2. This establishes a persistent connection where the server can push events to the client
+3. For client-to-server communication, the client makes HTTP POST requests to a separate endpoint
+4. Communication happens over two channels:
+ - Event Stream (GET): Server-to-client updates
+ - Message Endpoint (POST): Client-to-server requests
+
+```
+Client Server
+ | |
+ |---- HTTP GET /events ----------->| (establish SSE connection)
+ |<---- SSE event stream -----------| (persistent connection)
+ | |
+ |---- HTTP POST /message --------->| (client request)
+ |<---- SSE event with response ----| (server response)
+ | |
+```
+
+### SSE Characteristics
+
+- **Remote Access**: Can be hosted on a different machine from Kilo Code
+- **Scalability**: Can handle multiple client connections concurrently
+- **Protocol**: Works over standard HTTP (no special protocols needed)
+- **Persistence**: Maintains a persistent connection for server-to-client messages
+- **Authentication**: Can use standard HTTP authentication mechanisms
+
+### When to Use SSE
+
+SSE transport is better for:
+
+- Remote access across networks
+- Multi-client scenarios
+- Public services
+- Centralized tools that many users need to access
+- Integration with web services
+
+### SSE Implementation Example
+
+```typescript
+import { Server } from "@modelcontextprotocol/sdk/server/index.js"
+import { SSEServerTransport } from "@modelcontextprotocol/sdk/server/sse.js"
+import express from "express"
+
+const app = express()
+const server = new Server({ name: "remote-server", version: "1.0.0" })
+// Register tools...
+
+// Use SSE transport
+const transport = new SSEServerTransport(server)
+app.use("/mcp", transport.requestHandler())
+app.listen(3000, () => {
+ console.log("MCP server listening on port 3000")
+})
+```
+
+## Local vs. Hosted: Deployment Aspects
+
+The choice between STDIO and SSE transports directly impacts how you'll deploy and manage your MCP servers.
+
+### STDIO: Local Deployment Model
+
+STDIO servers run locally on the same machine as Kilo Code, which has several important implications:
+
+- **Installation**: The server executable must be installed on each user's machine
+- **Distribution**: You need to provide installation packages for different operating systems
+- **Updates**: Each instance must be updated separately
+- **Resources**: Uses the local machine's CPU, memory, and disk
+- **Access Control**: Relies on the local machine's filesystem permissions
+- **Integration**: Easy integration with local system resources (files, processes)
+- **Execution**: Starts and stops with Kilo Code (child process lifecycle)
+- **Dependencies**: Any dependencies must be installed on the user's machine
+
+#### Practical Example
+
+A local file search tool using STDIO would:
+
+- Run on the user's machine
+- Have direct access to the local filesystem
+- Start when needed by Kilo Code
+- Not require network configuration
+- Need to be installed alongside Kilo Code or via a package manager
+
+### SSE: Hosted Deployment Model
+
+SSE servers can be deployed to remote servers and accessed over the network:
+
+- **Installation**: Installed once on a server, accessed by many users
+- **Distribution**: Single deployment serves multiple clients
+- **Updates**: Centralized updates affect all users immediately
+- **Resources**: Uses server resources, not local machine resources
+- **Access Control**: Managed through authentication and authorization systems
+- **Integration**: More complex integration with user-specific resources
+- **Execution**: Runs as an independent service (often continuously)
+- **Dependencies**: Managed on the server, not on user machines
+
+#### Practical Example
+
+A database query tool using SSE would:
+
+- Run on a central server
+- Connect to databases with server-side credentials
+- Be continuously available for multiple users
+- Require proper network security configuration
+- Be deployed using container or cloud technologies
+
+### Hybrid Approaches
+
+Some scenarios benefit from a hybrid approach:
+
+1. **STDIO with Network Access**: A local STDIO server that acts as a proxy to remote services
+2. **SSE with Local Commands**: A remote SSE server that can trigger operations on the client machine through callbacks
+3. **Gateway Pattern**: STDIO servers for local operations that connect to SSE servers for specialized functions
+
+## Choosing Between STDIO and SSE
+
+| Consideration | STDIO | SSE |
+| -------------------- | ------------------------ | ----------------------------------- |
+| **Location** | Local machine only | Local or remote |
+| **Clients** | Single client | Multiple clients |
+| **Performance** | Lower latency | Higher latency (network overhead) |
+| **Setup Complexity** | Simpler | More complex (requires HTTP server) |
+| **Security** | Inherently secure | Requires explicit security measures |
+| **Network Access** | Not needed | Required |
+| **Scalability** | Limited to local machine | Can distribute across network |
+| **Deployment** | Per-user installation | Centralized installation |
+| **Updates** | Distributed updates | Centralized updates |
+| **Resource Usage** | Uses client resources | Uses server resources |
+| **Dependencies** | Client-side dependencies | Server-side dependencies |
+
+## Configuring Transports in Kilo Code
+
+For detailed information on configuring STDIO and SSE transports in Kilo Code, including example configurations, see the [Understanding Transport Types](/features/mcp/using-mcp-in-kilo-code#understanding-transport-types) section in the Using MCP in Kilo Code guide.
diff --git a/packages/kilo-docs/docs/features/mcp/using-mcp-in-cli.md b/packages/kilo-docs/pages/automate/mcp/using-in-cli.md
similarity index 97%
rename from packages/kilo-docs/docs/features/mcp/using-mcp-in-cli.md
rename to packages/kilo-docs/pages/automate/mcp/using-in-cli.md
index b19295c6282..9dcec693ba5 100644
--- a/packages/kilo-docs/docs/features/mcp/using-mcp-in-cli.md
+++ b/packages/kilo-docs/pages/automate/mcp/using-in-cli.md
@@ -1,6 +1,6 @@
---
-title: Using MCP in the CLI
-sidebar_label: Using MCP in CLI
+title: "Using MCP in CLI"
+description: "How to use MCP servers in the CLI"
---
# Using MCP in the CLI
diff --git a/packages/kilo-docs/docs/features/mcp/using-mcp-in-kilo-code.md b/packages/kilo-docs/pages/automate/mcp/using-in-kilo-code.md
similarity index 85%
rename from packages/kilo-docs/docs/features/mcp/using-mcp-in-kilo-code.md
rename to packages/kilo-docs/pages/automate/mcp/using-in-kilo-code.md
index 01bc384f0be..2913200e200 100644
--- a/packages/kilo-docs/docs/features/mcp/using-mcp-in-kilo-code.md
+++ b/packages/kilo-docs/pages/automate/mcp/using-in-kilo-code.md
@@ -1,16 +1,13 @@
---
-title: Using MCP in Kilo Code
-sidebar_label: Using MCP in Kilo Code
+title: "Using MCP in Kilo Code"
+description: "How to use MCP servers in Kilo Code"
---
# Using MCP in Kilo Code
Model Context Protocol (MCP) extends Kilo Code's capabilities by connecting to external tools and services. This guide covers everything you need to know about using MCP with Kilo Code.
-
+{% youtube url="https://youtu.be/6O9RQoQRX8A" caption="Demostrating MCP installation in Kilo Code" /%}
## Configuring MCP Servers
@@ -25,14 +22,14 @@ MCP server configurations can be managed at two levels:
You can edit both global and project-level MCP configuration files directly from the Kilo Code settings.
-1. Click the icon in the top navigation of the Kilo Code pane to open `Settings`.
+1. Click the {% codicon name="gear" /%} icon in the top navigation of the Kilo Code pane to open `Settings`.
2. Click the `Agent Behaviour` tab on the left side
3. Select the `MCP Servers` sub-tab
4. Click the appropriate button:
- **`Edit Global MCP`**: Opens the global `mcp_settings.json` file.
- **`Edit Project MCP`**: Opens the project-specific `.kilocode/mcp.json` file. If this file doesn't exist, Kilo Code will create it for you.
-
+{% image src="/docs/img/using-mcp-in-kilo-code/mcp-installed-config.png" alt="Edit Global MCP and Edit Project MCP buttons" width="600" caption="Edit Global MCP and Edit Project MCP buttons" /%}
Both files use a JSON format with a `mcpServers` object containing named server configurations:
@@ -148,18 +145,18 @@ SSE configuration example:
### Deleting a Server
-1. Press the next to the MCP server you would like to delete
+1. Press the {% codicon name="trash" /%} next to the MCP server you would like to delete
2. Press the `Delete` button on the confirmation box
-
+{% image src="/docs/img/using-mcp-in-kilo-code/using-mcp-in-kilo-code-5.png" alt="Delete confirmation box" width="400" caption="Delete confirmation box" /%}
### Restarting a Server
-1. Press the button next to the MCP server you would like to restart
+1. Press the {% codicon name="refresh" /%} button next to the MCP server you would like to restart
### Enabling or Disabling a Server
-1. Press the toggle switch next to the MCP server to enable/disable it
+1. Press the {% codicon name="activate" /%} toggle switch next to the MCP server to enable/disable it
### Network Timeout
@@ -167,7 +164,7 @@ To set the maximum time to wait for a response after a tool call to the MCP serv
1. Click the `Network Timeout` pulldown at the bottom of the individual MCP server's config box and change the time. Default is 1 minute but it can be set between 30 seconds and 5 minutes.
-
+{% image src="/docs/img/using-mcp-in-kilo-code/using-mcp-in-kilo-code-6.png" alt="Network Timeout pulldown" width="400" caption="Network Timeout pulldown" /%}
### Auto Approve Tools
@@ -177,7 +174,7 @@ MCP tool auto-approval works on a per-tool basis and is disabled by default. To
2. Navigate to Settings > Agent Behaviour > MCP Servers, then locate the specific tool you want to auto-approve
3. Check the `Always allow` checkbox next to the tool name
-
+{% image src="/docs/img/using-mcp-in-kilo-code/using-mcp-in-kilo-code-7.png" alt="Always allow checkbox for MCP tools" width="120" caption="Always allow checkbox for MCP tools" /%}
When enabled, Kilo Code will automatically approve this specific tool without prompting. Note that the global "Use MCP servers" setting takes precedence - if it's disabled, no MCP tools will be auto-approved.
@@ -235,7 +232,7 @@ This Windows-specific configuration:
- The `-y` flag automatically answers "yes" to any prompts during installation
- Runs the `@modelcontextprotocol/server-puppeteer` package which provides browser automation capabilities
-:::note
+{% callout type="note" %}
For macOS or Linux, you would use a different configuration:
```json
@@ -249,6 +246,6 @@ For macOS or Linux, you would use a different configuration:
}
```
-:::
+{% /callout %}
The same approach can be used for other MCP servers on Windows, adjusting the package name as needed for different server types.
diff --git a/packages/kilo-docs/docs/features/mcp/what-is-mcp.md b/packages/kilo-docs/pages/automate/mcp/what-is-mcp.md
similarity index 95%
rename from packages/kilo-docs/docs/features/mcp/what-is-mcp.md
rename to packages/kilo-docs/pages/automate/mcp/what-is-mcp.md
index 8e957940ed3..92112df74bf 100644
--- a/packages/kilo-docs/docs/features/mcp/what-is-mcp.md
+++ b/packages/kilo-docs/pages/automate/mcp/what-is-mcp.md
@@ -1,6 +1,6 @@
---
-title: What is MCP?
-sidebar_label: What is MCP?
+title: "What is MCP"
+description: "Introduction to the Model Context Protocol"
---
# What is MCP?
@@ -46,4 +46,4 @@ Ready to dig deeper? Check out these guides:
- [MCP Overview](/features/mcp/overview) - A quick glance at the MCP documentation structure
- [Using MCP in Kilo Code](/features/mcp/using-mcp-in-kilo-code) - Get started with MCP in Kilo Code, including creating simple servers
- [MCP vs API](/features/mcp/mcp-vs-api) - Technical advantages compared to traditional APIs
-- [STDIO & SSE Transports](/features/mcp/server-transports) - Local vs. hosted deployment models
\ No newline at end of file
+- [STDIO & SSE Transports](/features/mcp/server-transports) - Local vs. hosted deployment models
diff --git a/packages/kilo-docs/docs/basic-usage/the-chat-interface.md b/packages/kilo-docs/pages/code-with-ai/agents/chat-interface.md
similarity index 80%
rename from packages/kilo-docs/docs/basic-usage/the-chat-interface.md
rename to packages/kilo-docs/pages/code-with-ai/agents/chat-interface.md
index ad5f71b4206..fb68b418b6d 100644
--- a/packages/kilo-docs/docs/basic-usage/the-chat-interface.md
+++ b/packages/kilo-docs/pages/code-with-ai/agents/chat-interface.md
@@ -1,22 +1,21 @@
-import Image from '@site/src/components/Image';
+---
+title: "The Chat Interface"
+description: "Learn how to use the Kilo Code chat interface effectively"
+---
# Chatting with Kilo Code
-:::tip
-
+{% callout type="tip" %}
**Bottom line:** Kilo Code is an AI coding assistant that lives in VS Code. You chat with it in plain English, and it writes, edits, and explains code for you.
+{% /callout %}
-:::
-
-:::note[Prefer quick completions?]
-
+{% callout type="note" title="Prefer quick completions?" %}
If you're typing code in the editor and want AI to finish your line or block, check out [Autocomplete](/basic-usage/autocomplete) instead. Chat is best for larger tasks, explanations, and multi-file changes.
-
-:::
+{% /callout %}
## Quick Setup
-Find the Kilo Code icon () in VS Code's Primary Side Bar. Click it to open the chat panel.
+Find the Kilo Code icon ({% kilo-code-icon /%}) in VS Code's Primary Side Bar. Click it to open the chat panel.
**Lost the panel?** Go to View > Open View... and search for "Kilo Code"
@@ -24,7 +23,7 @@ Find the Kilo Code icon () in VS C
**The key insight:** Just type what you want in normal English. No special commands needed.
-
+{% image src="/docs/img/typing-your-requests/typing-your-requests.png" alt="Example of typing a request in Kilo Code" width="800" caption="Example of typing a request in Kilo Code" /%}
**Good requests:**
@@ -47,21 +46,15 @@ find all instances of the variable oldValue in @/src/App.js and replace them wit
- **One task at a time** - Break complex work into manageable steps
- **Include examples** - Show the style or format you want
-:::info[Chat vs Autocomplete]
-
+{% callout type="info" title="Chat vs Autocomplete" %}
**Use chat** when you need to describe what you want, ask questions, or make changes across multiple files.
**Use [autocomplete](/basic-usage/autocomplete)** when you're already typing code and want the AI to finish your thought inline.
-
-:::
+{% /callout %}
## The Chat Interface
-
+{% image src="/docs/img/the-chat-interface/the-chat-interface-1.png" alt="Chat interface components labeled with callouts" width="800" caption="Everything you need is right here" /%}
**Essential controls:**
diff --git a/packages/kilo-docs/pages/code-with-ai/agents/context-mentions.md b/packages/kilo-docs/pages/code-with-ai/agents/context-mentions.md
new file mode 100644
index 00000000000..e4bf59580b0
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/agents/context-mentions.md
@@ -0,0 +1,118 @@
+---
+title: "Context & Mentions"
+description: "How to provide context to Kilo Code using mentions"
+---
+
+# Context Mentions
+
+Context mentions are a powerful way to provide Kilo Code with specific information about your project, allowing it to perform tasks more accurately and efficiently. You can use mentions to refer to files, folders, problems, and Git commits. Context mentions start with the `@` symbol.
+
+{% image src="/docs/img/context-mentions/context-mentions.png" alt="Context Mentions Overview - showing the @ symbol dropdown menu in the chat interface" width="600" caption="Context mentions overview showing the @ symbol dropdown menu in the chat interface." /%}
+
+## Types of Mentions
+
+{% image src="/docs/img/context-mentions/context-mentions-1.png" alt="File mention example showing a file being referenced with @ and its contents appearing in the conversation" width="600" caption="File mentions add actual code content into the conversation for direct reference and analysis." /%}
+
+| Mention Type | Format | Description | Example Usage |
+| --------------- | ---------------------- | ------------------------------------------- | ---------------------------------------- |
+| **File** | `@/path/to/file.ts` | Includes file contents in request context | "Explain the function in @/src/utils.ts" |
+| **Folder** | `@/path/to/folder/` | Provides directory structure in tree format | "What files are in @/src/components/?" |
+| **Problems** | `@problems` | Includes VS Code Problems panel diagnostics | "@problems Fix all errors in my code" |
+| **Terminal** | `@terminal` | Includes recent terminal command and output | "Fix the errors shown in @terminal" |
+| **Git Commit** | `@a1b2c3d` | References specific commit by hash | "What changed in commit @a1b2c3d?" |
+| **Git Changes** | `@git-changes` | Shows uncommitted changes | "Suggest a message for @git-changes" |
+| **URL** | `@https://example.com` | Imports website content | "Summarize @https://docusaurus.io/" |
+
+### File Mentions
+
+{% image src="/docs/img/context-mentions/context-mentions-1.png" alt="File mention example showing a file being referenced with @ and its contents appearing in the conversation" width="600" caption="File mentions incorporate source code with line numbers for precise references." /%}
+
+| Capability | Details |
+| --------------- | --------------------------------------------------------------- |
+| **Format** | `@/path/to/file.ts` (always start with `/` from workspace root) |
+| **Provides** | Complete file contents with line numbers |
+| **Supports** | Text files, PDFs, and DOCX files (with text extraction) |
+| **Works in** | Initial requests, feedback responses, and follow-up messages |
+| **Limitations** | Very large files may be truncated; binary files not supported |
+
+### Folder Mentions
+
+{% image src="/docs/img/context-mentions/context-mentions-2.png" alt="Folder mention example showing directory contents being referenced in the chat" width="600" caption="Folder mentions display directory structure in a readable tree format." /%}
+
+| Capability | Details |
+| ------------ | ------------------------------------------------------ |
+| **Format** | `@/path/to/folder/` (note trailing slash) |
+| **Provides** | Hierarchical tree display with ├── and └── prefixes |
+| **Includes** | Immediate child files and directories (not recursive) |
+| **Best for** | Understanding project structure |
+| **Tip** | Use with file mentions to check specific file contents |
+
+### Problems Mention
+
+{% image src="/docs/img/context-mentions/context-mentions-3.png" alt="Problems mention example showing VS Code problems panel being referenced with @problems" width="600" caption="Problems mentions import diagnostics directly from VS Code's problems panel." /%}
+
+| Capability | Details |
+| ------------ | ----------------------------------------------------- |
+| **Format** | `@problems` |
+| **Provides** | All errors and warnings from VS Code's problems panel |
+| **Includes** | File paths, line numbers, and diagnostic messages |
+| **Groups** | Problems organized by file for better clarity |
+| **Best for** | Fixing errors without manual copying |
+
+### Terminal Mention
+
+{% image src="/docs/img/context-mentions/context-mentions-4.png" alt="Terminal mention example showing terminal output being included in Kilo Code's context" width="600" caption="Terminal mentions capture recent command output for debugging and analysis." /%}
+
+| Capability | Details |
+| -------------- | -------------------------------------------------- |
+| **Format** | `@terminal` |
+| **Captures** | Last command and its complete output |
+| **Preserves** | Terminal state (doesn't clear the terminal) |
+| **Limitation** | Limited to visible terminal buffer content |
+| **Best for** | Debugging build errors or analyzing command output |
+
+### Git Mentions
+
+{% image src="/docs/img/context-mentions/context-mentions-5.png" alt="Git commit mention example showing commit details being analyzed by Kilo Code" width="600" caption="Git mentions provide commit details and diffs for context-aware version analysis." /%}
+
+| Type | Format | Provides | Limitations |
+| ------------------- | -------------- | --------------------------------------------------- | ------------------------------ |
+| **Commit** | `@a1b2c3d` | Commit message, author, date, and complete diff | Only works in Git repositories |
+| **Working Changes** | `@git-changes` | `git status` output and diff of uncommitted changes | Only works in Git repositories |
+
+### URL Mentions
+
+{% image src="/docs/img/context-mentions/context-mentions-6.png" alt="URL mention example showing website content being converted to Markdown in the chat" width="600" caption="URL mentions import external web content and convert it to readable Markdown format." /%}
+
+| Capability | Details |
+| -------------- | ------------------------------------------------ |
+| **Format** | `@https://example.com` |
+| **Processing** | Uses headless browser to fetch content |
+| **Cleaning** | Removes scripts, styles, and navigation elements |
+| **Output** | Converts content to Markdown for readability |
+| **Limitation** | Complex pages may not convert perfectly |
+
+## How to Use Mentions
+
+1. Type `@` in the chat input to trigger the suggestions dropdown
+2. Continue typing to filter suggestions or use arrow keys to navigate
+3. Select with Enter key or mouse click
+4. Combine multiple mentions in a request: "Fix @problems in @/src/component.ts"
+
+The dropdown automatically suggests:
+
+- Recently opened files
+- Visible folders
+- Recent git commits
+- Special keywords (`problems`, `terminal`, `git-changes`)
+
+## Best Practices
+
+| Practice | Description |
+| -------------------------- | -------------------------------------------------------------------------------- |
+| **Use specific paths** | Reference exact files rather than describing them |
+| **Use relative paths** | Always start from workspace root: `@/src/file.ts` not `@C:/Projects/src/file.ts` |
+| **Verify references** | Ensure paths and commit hashes are correct |
+| **Click mentions** | Click mentions in chat history to open files or view content |
+| **Eliminate copy-pasting** | Use mentions instead of manually copying code or errors |
+| **Combine mentions** | "Fix @problems in @/src/component.ts using the pattern from commit @a1b2c3d" |
diff --git a/packages/kilo-docs/docs/basic-usage/model-selection-guide.md b/packages/kilo-docs/pages/code-with-ai/agents/model-selection.md
similarity index 96%
rename from packages/kilo-docs/docs/basic-usage/model-selection-guide.md
rename to packages/kilo-docs/pages/code-with-ai/agents/model-selection.md
index 96af564b43d..872f78daef4 100644
--- a/packages/kilo-docs/docs/basic-usage/model-selection-guide.md
+++ b/packages/kilo-docs/pages/code-with-ai/agents/model-selection.md
@@ -1,5 +1,6 @@
---
-sidebar_label: "Model Selection Guide"
+title: "Model Selection"
+description: "Guide to choosing the right AI model for your tasks"
---
# Model Selection Guide
@@ -40,3 +41,5 @@ Check [our provider docs](/basic-usage/connecting-providers) for specific contex
## Stay Current
The AI model space moves fast. Bookmark [kilo.ai/models](https://kilo.ai/models) and check back when you're evaluating options. What's best today might not be best next month — and that's actually exciting.
+
+-->
diff --git a/packages/kilo-docs/pages/code-with-ai/agents/orchestrator-mode.md b/packages/kilo-docs/pages/code-with-ai/agents/orchestrator-mode.md
new file mode 100644
index 00000000000..6ed7d00c947
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/agents/orchestrator-mode.md
@@ -0,0 +1,42 @@
+---
+title: "Orchestrator Mode"
+description: "Using Orchestrator mode for complex multi-step tasks"
+---
+
+# Orchestrator Mode: Coordinate Complex Workflows
+
+Orchestrator Mode (formerly known as Boomerang Tasks) allows you to break down complex projects into smaller, manageable pieces. Think of it like delegating parts of your work to specialized assistants. Each subtask runs in its own context, often using a different Kilo Code mode tailored for that specific job (like [`code`](/basic-usage/using-modes#code-mode-default), [`architect`](/basic-usage/using-modes#architect-mode), or [`debug`](/basic-usage/using-modes#debug-mode)).
+
+{% youtube url="https://www.youtube.com/watch?v=20MmJNeOODo" caption="Orchestrator Mode explained and demonstrated" /%}
+
+## Why Use Orchestrator Mode?
+
+- **Tackle Complexity:** Break large, multi-step projects (e.g., building a full feature) into focused subtasks (e.g., design, implementation, documentation).
+- **Use Specialized Modes:** Automatically delegate subtasks to the mode best suited for that specific piece of work, leveraging specialized capabilities for optimal results.
+- **Maintain Focus & Efficiency:** Each subtask operates in its own isolated context with a separate conversation history. This prevents the parent (orchestrator) task from becoming cluttered with the detailed execution steps (like code diffs or file analysis results), allowing it to focus efficiently on the high-level workflow and manage the overall process based on concise summaries from completed subtasks.
+- **Streamline Workflows:** Results from one subtask can be automatically passed to the next, creating a smooth flow (e.g., architectural decisions feeding into the coding task).
+
+## How It Works
+
+1. Using Orchestrator Mode, Kilo can analyze a complex task and suggest breaking it down into a subtask.
+2. The parent task pauses, and the new subtask begins in a different mode.
+3. When the subtask's goal is achieved, Kilo signals completion.
+4. The parent task resumes with only the summary of the subtask. The parent uses this summary to continue the main workflow.
+
+## Key Considerations
+
+- **Approval Required:** By default, you must approve the creation and completion of each subtask. This can be automated via the [Auto-Approving Actions](/features/auto-approving-actions#subtasks) settings if desired.
+- **Context Isolation and Transfer:** Each subtask operates in complete isolation with its own conversation history. It does not automatically inherit the parent's context. Information must be explicitly passed:
+ - **Down:** Via the initial instructions provided when the subtask is created.
+ - **Up:** Via the final summary provided when the subtask finishes. Be mindful that only this summary returns to the parent.
+- **Navigation:** Kilo's interface helps you see the hierarchy of tasks (which task is the parent, which are children). You can typically navigate between active and paused tasks.
+
+Orchestrator Mode provides a powerful way to manage complex development workflows directly within Kilo Code, leveraging specialized modes for maximum efficiency.
+
+{% callout type="tip" title="Keep Tasks Focused" %}
+Use subtasks to maintain clarity. If a request significantly shifts focus or requires a different expertise (mode), consider creating a subtask rather than overloading the current one.
+{% /callout %}
+
+1. This context is passed via the `message` parameter of the [`new_task`](/features/tools/new-task) tool.
+2. The mode for the subtask is specified via the `mode` parameter of the [`new_task`](/features/tools/new-task) tool during initiation.
+3. This summary is passed via the `result` parameter of the [`attempt_completion`](/features/tools/attempt-completion) tool when the subtask finishes.
diff --git a/packages/kilo-docs/docs/basic-usage/using-modes.md b/packages/kilo-docs/pages/code-with-ai/agents/using-modes.md
similarity index 89%
rename from packages/kilo-docs/docs/basic-usage/using-modes.md
rename to packages/kilo-docs/pages/code-with-ai/agents/using-modes.md
index 2fb011c430b..0ad462a5d30 100644
--- a/packages/kilo-docs/docs/basic-usage/using-modes.md
+++ b/packages/kilo-docs/pages/code-with-ai/agents/using-modes.md
@@ -1,3 +1,8 @@
+---
+title: "Using Modes"
+description: "Understanding and using different modes in Kilo Code"
+---
+
# Using Modes
Modes in Kilo Code are specialized personas that tailor the assistant's behavior to your current task. Each mode offers different capabilities, expertise, and access levels to help you accomplish specific goals.
@@ -9,10 +14,7 @@ Modes in Kilo Code are specialized personas that tailor the assistant's behavior
- **Focused interactions:** Receive responses optimized for your current activity
- **Workflow optimization:** Seamlessly transition between planning, implementing, debugging, and learning
-
+{% youtube url="https://youtu.be/cS4vQfX528w" caption="Explaining the different modes in Kilo Code" /%}
## Switching Between Modes
@@ -20,11 +22,11 @@ Four ways to switch modes:
1. **Dropdown menu:** Click the selector to the left of the chat input
-
+ {% image src="/docs/img/modes/modes.png" alt="Using the dropdown menu to switch modes" width="400" /%}
2. **Slash command:** Type `/architect`, `/ask`, `/debug`, or `/code` in the chat input
-
+ {% image src="/docs/img/modes/modes-1.png" alt="Using slash commands to switch modes" width="400" /%}
3. **Toggle command/Keyboard shortcut:** Use the keyboard shortcut below, applicable to your operating system. Each press cycles through the available modes in sequence, wrapping back to the first mode after reaching the end.
@@ -36,7 +38,7 @@ Four ways to switch modes:
4. **Accept suggestions:** Click on mode switch suggestions that Kilo Code offers when appropriate
-
+ {% image src="/docs/img/modes/modes-2.png" alt="Accepting a mode switch suggestion from Kilo Code" width="400" /%}
## Built-in Modes
@@ -96,4 +98,11 @@ Four ways to switch modes:
## Custom Modes
-Create your own specialized assistants by defining tool access, file permissions, and behavior instructions. Custom modes help enforce team standards or create purpose-specific assistants. See [Custom Modes documentation](/agent-behavior/custom-modes) for setup instructions.
+Create your own specialized assistants by defining tool access, file permissions, and behavior instructions. Custom modes help enforce team standards or create purpose-specific assistants. See [Custom Modes documentation](/features/custom-modes) for setup instructions.
+
+
diff --git a/packages/kilo-docs/docs/advanced-usage/appbuilder.md b/packages/kilo-docs/pages/code-with-ai/app-builder.md
similarity index 97%
rename from packages/kilo-docs/docs/advanced-usage/appbuilder.md
rename to packages/kilo-docs/pages/code-with-ai/app-builder.md
index 51c4e50daaf..684a96b5307 100644
--- a/packages/kilo-docs/docs/advanced-usage/appbuilder.md
+++ b/packages/kilo-docs/pages/code-with-ai/app-builder.md
@@ -1,8 +1,10 @@
---
-title: App Builder
-sidebar_label: App Builder
+title: "App Builder"
+description: "Build complete applications with Kilo Code"
---
+# App Builder
+
Kilo's **App Builder** lets you create end-to-end applications through natural language conversation. Describe what you want to build, watch it come to life in a real-time preview, and deploy directly from your Kilo dashboard. No local environment setup required.
---
diff --git a/packages/kilo-docs/docs/features/codebase-indexing.md b/packages/kilo-docs/pages/code-with-ai/context/codebase-indexing.md
similarity index 90%
rename from packages/kilo-docs/docs/features/codebase-indexing.md
rename to packages/kilo-docs/pages/code-with-ai/context/codebase-indexing.md
index a6e719d80bf..2a302e32efc 100644
--- a/packages/kilo-docs/docs/features/codebase-indexing.md
+++ b/packages/kilo-docs/pages/code-with-ai/context/codebase-indexing.md
@@ -1,14 +1,13 @@
-import Codicon from '@site/src/components/Codicon';
+---
+title: "Codebase Indexing"
+description: "Index your codebase for improved AI understanding"
+---
# Codebase Indexing
-
-
Codebase Indexing enables semantic code search across your entire project using AI embeddings. Instead of searching for exact text matches, it understands the _meaning_ of your queries, helping Kilo Code find relevant code even when you don't know specific function names or file locations.
-
+{% image src="/docs/img/codebase-indexing/codebase-indexing.png" alt="Codebase Indexing Settings" width="800" caption="Codebase Indexing Settings" /%}
## What It Does
@@ -76,16 +75,16 @@ docker run -p 6333:6333 qdrant/qdrant
**Using Docker Compose:**
```yaml
-version: '3.8'
+version: "3.8"
services:
- qdrant:
- image: qdrant/qdrant
- ports:
- - '6333:6333'
- volumes:
- - qdrant_storage:/qdrant/storage
+ qdrant:
+ image: qdrant/qdrant
+ ports:
+ - "6333:6333"
+ volumes:
+ - qdrant_storage:/qdrant/storage
volumes:
- qdrant_storage:
+ qdrant_storage:
```
### Production Deployment
@@ -102,9 +101,9 @@ For team or production use:
2. Navigate to **Codebase Indexing** section
3. Enable **"Enable Codebase Indexing"** using the toggle switch
4. Configure your embedding provider:
- - **OpenAI**: Enter API key and select model
- - **Gemini**: Enter Google AI API key and select embedding model
- - **Ollama**: Enter base URL and select model
+ - **OpenAI**: Enter API key and select model
+ - **Gemini**: Enter Google AI API key and select embedding model
+ - **Ollama**: Enter base URL and select model
5. Set Qdrant URL and optional API key
6. Configure **Max Search Results** (default: 20, range: 1-100)
7. Click **Save** to start initial indexing
@@ -137,9 +136,9 @@ The interface shows real-time status with color indicators:
- **Markdown Support**: Full support for markdown files and documentation
- **Fallback**: Line-based chunking for unsupported file types
- **Block Sizing**:
- - Minimum: 100 characters
- - Maximum: 1,000 characters
- - Splits large functions intelligently
+ - Minimum: 100 characters
+ - Maximum: 1,000 characters
+ - Splits large functions intelligently
### Automatic File Filtering
diff --git a/packages/kilo-docs/docs/advanced-usage/large-projects.md b/packages/kilo-docs/pages/code-with-ai/context/large-projects.md
similarity index 57%
rename from packages/kilo-docs/docs/advanced-usage/large-projects.md
rename to packages/kilo-docs/pages/code-with-ai/context/large-projects.md
index d52c26bd117..a0aab196f0a 100644
--- a/packages/kilo-docs/docs/advanced-usage/large-projects.md
+++ b/packages/kilo-docs/pages/code-with-ai/context/large-projects.md
@@ -1,27 +1,32 @@
+---
+title: "Large Projects"
+description: "Best practices for using Kilo Code with large codebases"
+---
+
# Working with Large Projects
Kilo Code can be used with projects of any size, but large projects require some extra care to manage context effectively. Here are some tips for working with large codebases:
## Understanding Context Limits
-Kilo Code uses large language models (LLMs) that have a limited "context window." This is the maximum amount of text (measured in tokens) that the model can process at once. If the context is too large, the model may not be able to understand your request or generate accurate responses.
+Kilo Code uses large language models (LLMs) that have a limited "context window." This is the maximum amount of text (measured in tokens) that the model can process at once. If the context is too large, the model may not be able to understand your request or generate accurate responses.
The context window includes:
-* The system prompt (instructions for Kilo Code).
-* The conversation history.
-* The content of any files you mention using `@`.
-* The output of any commands or tools Kilo Code uses.
+- The system prompt (instructions for Kilo Code).
+- The conversation history.
+- The content of any files you mention using `@`.
+- The output of any commands or tools Kilo Code uses.
## Strategies for Managing Context
-1. **Be Specific:** When referring to files or code, use specific file paths and function names. Avoid vague references like "the main file."
+1. **Be Specific:** When referring to files or code, use specific file paths and function names. Avoid vague references like "the main file."
-2. **Use Context Mentions Effectively:** Use `@/path/to/file.ts` to include specific files. Use `@problems` to include current errors and warnings. Use `@` followed by a commit hash to reference specific Git commits.
+2. **Use Context Mentions Effectively:** Use `@/path/to/file.ts` to include specific files. Use `@problems` to include current errors and warnings. Use `@` followed by a commit hash to reference specific Git commits.
-3. **Break Down Tasks:** Divide large tasks into smaller, more manageable sub-tasks. This helps keep the context focused.
+3. **Break Down Tasks:** Divide large tasks into smaller, more manageable sub-tasks. This helps keep the context focused.
-4. **Summarize:** If you need to refer to a large amount of code, consider summarizing the relevant parts in your prompt instead of including the entire code.
+4. **Summarize:** If you need to refer to a large amount of code, consider summarizing the relevant parts in your prompt instead of including the entire code.
5. **Prioritize Recent History:** Kilo Code automatically truncates older messages in the conversation history to stay within the context window. Be mindful of this, and re-include important context if needed.
@@ -29,18 +34,20 @@ The context window includes:
## Example: Refactoring a Large File
-Let's say you need to refactor a large TypeScript file (`src/components/MyComponent.tsx`). Here's a possible approach:
+Let's say you need to refactor a large TypeScript file (`src/components/MyComponent.tsx`). Here's a possible approach:
1. **Initial Overview:**
+
```
@/src/components/MyComponent.tsx List the functions and classes in this file.
```
2. **Target Specific Functions:**
+
```
@/src/components/MyComponent.tsx Refactor the `processData` function to use `async/await` instead of Promises.
```
-3. **Iterative Changes:** Make small, incremental changes, reviewing and approving each step.
+3. **Iterative Changes:** Make small, incremental changes, reviewing and approving each step.
-By breaking down the task and providing specific context, you can work effectively with large files even with a limited context window.
\ No newline at end of file
+By breaking down the task and providing specific context, you can work effectively with large files even with a limited context window.
diff --git a/packages/kilo-docs/docs/advanced-usage/memory-bank.md b/packages/kilo-docs/pages/code-with-ai/context/memory-bank.md
similarity index 90%
rename from packages/kilo-docs/docs/advanced-usage/memory-bank.md
rename to packages/kilo-docs/pages/code-with-ai/context/memory-bank.md
index 6243fa547b4..4405441c048 100644
--- a/packages/kilo-docs/docs/advanced-usage/memory-bank.md
+++ b/packages/kilo-docs/pages/code-with-ai/context/memory-bank.md
@@ -1,17 +1,13 @@
+---
+title: "Memory Bank"
+description: "Persistent context storage for long-term projects"
+---
+
# Memory Bank
## Overview
-
-
-
-
-
- Kilo Code works more efficiently with Memory Bank enabled, instantly understanding project context and technologies.
-
-
+{% image src="/docs/img/memory-bank/at-work.png" alt="Executing task with the memory bank" width="350" caption="Kilo Code works more efficiently with Memory Bank enabled, instantly understanding project context and technologies." /%}
### The Problem: AI Memory Loss
@@ -44,52 +40,59 @@ Files are organized in a hierarchical structure that builds a complete picture o
## Core Memory Bank Files
### brief.md
-*This file is created and maintained manually by you*
+
+_This file is created and maintained manually by you_
+
- The foundation of your project
- High-level overview of what you're building
- Core requirements and goals
-Example: *"Building a React web app for inventory management with barcode scanning. The system needs to support multiple warehouses and integrate with our existing ERP system."*
+Example: _"Building a React web app for inventory management with barcode scanning. The system needs to support multiple warehouses and integrate with our existing ERP system."_
Note: Kilo Code will not edit this file directly but may suggest improvements if it identifies ways to enhance your project brief.
### product.md
+
- Explains why the project exists
- Describes the problems being solved
- Outlines how the product should work
- User experience goals
-Example: *"The inventory system needs to support multiple warehouses and real-time updates. It solves the problem of inventory discrepancies by providing barcode scanning for accurate stock counts."*
+Example: _"The inventory system needs to support multiple warehouses and real-time updates. It solves the problem of inventory discrepancies by providing barcode scanning for accurate stock counts."_
### context.md
+
- The most frequently updated file
- Contains current work focus and recent changes
- Tracks active decisions and considerations
- Next steps for development
-Example: *"Currently implementing the barcode scanner component; last session completed the API integration. Next steps include adding error handling for network failures."*
+Example: _"Currently implementing the barcode scanner component; last session completed the API integration. Next steps include adding error handling for network failures."_
### architecture.md
+
- Documents the system architecture
- Records key technical decisions
- Lists design patterns in use
- Explains component relationships
- Critical implementation paths
-Example: *"Using Redux for state management with a normalized store structure. The application follows a modular architecture with separate services for API communication, state management, and UI components."*
+Example: _"Using Redux for state management with a normalized store structure. The application follows a modular architecture with separate services for API communication, state management, and UI components."_
### tech.md
+
- Lists technologies and frameworks used
- Describes development setup
- Notes technical constraints
- Records dependencies and tool configurations
- Tool usage patterns
-Example: *"React 18, TypeScript, Firebase, Jest for testing. Development requires Node.js 16+ and uses Vite as the build tool."*
+Example: _"React 18, TypeScript, Firebase, Jest for testing. Development requires Node.js 16+ and uses Vite as the build tool."_
## Additional Context Files
Create additional files as needed to organize:
+
- Complex feature documentation
- Integration specifications
- API documentation
@@ -99,7 +102,9 @@ Create additional files as needed to organize:
These additional files help organize more detailed information that doesn't fit neatly into the core files.
### tasks.md
-*Optional file for documenting repetitive tasks*
+
+_Optional file for documenting repetitive tasks_
+
- Stores workflows for tasks that follow similar patterns
- Documents which files need to be modified
- Captures step-by-step procedures
@@ -142,12 +147,12 @@ Provide a concise and comprehensive description of this project, highlighting it
The initialization step is critically important as it establishes the foundation for all future interactions with your project. When you request initialization with the command `initialize memory bank`, Kilo Code will:
1. Perform an exhaustive analysis of your project, including:
- - All source code files and their relationships
- - Configuration files and build system setup
- - Project structure and organization patterns
- - Documentation and comments
- - Dependencies and external integrations
- - Testing frameworks and patterns
+ - All source code files and their relationships
+ - Configuration files and build system setup
+ - Project structure and organization patterns
+ - Documentation and comments
+ - Dependencies and external integrations
+ - Testing frameworks and patterns
2. Create comprehensive memory bank files in the `.kilocode/rules/memory-bank` folder
3. Provide a detailed summary of what it has understood about your project
4. Ask you to verify the accuracy of the generated files
@@ -159,12 +164,14 @@ Take time to carefully review and correct the generated files after initializati
#### Memory Bank Updates
Memory Bank updates occur when:
+
1. Kilo Code discovers new project patterns
2. After implementing significant changes
3. When you explicitly request with `update memory bank`
4. When context needs clarification
To execute a Memory Bank update, Kilo Code will:
+
1. Review ALL project files
2. Document the current state
3. Document insights and patterns
@@ -175,6 +182,7 @@ You can direct Kilo Code to focus on specific information sources by using comma
#### Regular Task Execution
At the beginning of every task, Kilo Code:
+
1. Reads ALL memory bank files
2. Includes `[Memory Bank: Active]` at the beginning of its response
3. Provides a brief summary of its understanding of your project
@@ -187,13 +195,14 @@ At the end of a task, Kilo Code may suggest updating the memory bank if signific
When you complete a repetitive task that follows a similar pattern each time, you can document it for future reference. This is particularly useful for tasks like adding features that follow existing patterns
To document a task, use the command `add task` or `store this as a task`. Kilo Code will:
+
1. Create or update the `tasks.md` file in the memory bank folder
2. Document the task using current context:
- - Task name and description
- - List of files that need to be modified
- - Step-by-step workflow
- - Important considerations
- - Example implementation
+ - Task name and description
+ - List of files that need to be modified
+ - Step-by-step workflow
+ - Important considerations
+ - Example implementation
When starting a new task, Kilo Code will check if it matches any documented tasks and follow the established workflow to ensure no steps are missed.
@@ -215,6 +224,7 @@ These indicators appear at the beginning of Kilo Code's responses, providing imm
### Documentation Updates
Memory Bank updates should automatically occur when:
+
- You discover new patterns in your project
- After implementing significant changes
- When you explicitly request with `update memory bank`
@@ -243,24 +253,31 @@ This ensures that even with imperfect documentation, Kilo Code can still functio
## Frequently Asked Questions
### Where are the memory bank files stored?
+
The Memory Bank files are regular markdown files stored in your project repository, typically in a `.kilocode/rules/memory-bank/` folder. They're not hidden system files - they're designed to be part of your project documentation.
### How often should I update the memory bank?
+
Update the Memory Bank after significant milestones or changes in direction. For active development, updates every few sessions can be helpful. Use the "update memory bank" command when you want to ensure all context is preserved.
### Can I edit memory bank files manually?
+
Yes! While Kilo Code manages most of the files, you can edit any of them manually. The `brief.md` file is specifically designed to be maintained by you. Manual edits to other files will be respected by Kilo Code.
### What happens if memory bank files are missing?
+
If memory bank files are missing, Kilo Code will indicate this with `[Memory Bank: Missing]` at the beginning of its response and suggest initializing the memory bank.
### Does Memory Bank work with all AI models?
+
Memory Bank works with all AI models, but more powerful models will create more comprehensive and accurate memory bank files. Lightweight models may struggle with the resource-intensive process of analyzing and updating memory bank files.
### Can I use Memory Bank with multiple projects?
+
Yes! Each project has its own Memory Bank in its `.kilocode/rules/memory-bank/` folder. Kilo Code will automatically use the correct Memory Bank for each project.
### Doesn't Memory Bank use up my context window?
+
Yes, Memory Bank does consume some of your context window at the beginning of each session as it loads all memory bank files. However, this is a strategic tradeoff that significantly improves overall efficiency. By front-loading project context:
- You eliminate repetitive explanations that would consume even more context over time
@@ -272,12 +289,14 @@ Testing shows that while Memory Bank uses more tokens initially, it dramatically
## Best Practices
### Getting Started
+
- Start with a basic project brief and let the structure evolve
- Let Kilo Code help create the initial structure
- Review and adjust files as needed to match your workflow
- Verify the accuracy of generated files after initialization
### Ongoing Work
+
- Let patterns emerge naturally as you work
- Don't force documentation updates - they should happen organically
- Trust the process - the value compounds over time
@@ -285,12 +304,14 @@ Testing shows that while Memory Bank uses more tokens initially, it dramatically
- Use the status indicators to confirm Memory Bank is active
### Documentation Flow
+
- `brief.md` is your foundation
- `context.md` changes most frequently
- All files collectively maintain project intelligence
- Update after significant milestones or changes in direction
### Optimizing Memory Bank Performance
+
- Keep memory bank files concise and focused
- Use additional files for detailed documentation
- Update regularly but not excessively
diff --git a/packages/kilo-docs/pages/code-with-ai/customization/agents-md.md b/packages/kilo-docs/pages/code-with-ai/customization/agents-md.md
new file mode 100644
index 00000000000..f68a83f2161
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/customization/agents-md.md
@@ -0,0 +1,159 @@
+---
+title: "Agents.md"
+description: "Project-level configuration with agents.md files"
+---
+
+# agents.md
+
+AGENTS.md files provide a standardized way to configure AI agent behavior across different AI coding tools. They allow you to define project-specific instructions, coding standards, and guidelines that AI agents should follow when working with your codebase.
+
+## What is AGENTS.md?
+
+AGENTS.md is an open standard for configuring AI agent behavior in software projects. It's a simple Markdown file placed at the root of your project that contains instructions for AI coding assistants. The standard is supported by multiple AI coding tools, including Kilo Code, Cursor, and Windsurf.
+
+Think of AGENTS.md as a "README for AI agents" - it tells the AI how to work with your specific project, what conventions to follow, and what constraints to respect.
+
+## Why Use AGENTS.md?
+
+- **Portability**: Works across multiple AI coding tools without modification
+- **Version Control**: Lives in your repository alongside your code
+- **Team Consistency**: Ensures all team members' AI assistants follow the same guidelines
+- **Project-Specific**: Tailored to your project's unique requirements and conventions
+- **Simple Format**: Plain Markdown - no special syntax or configuration required
+
+## File Location and Naming
+
+### Project-Level AGENTS.md
+
+Place your AGENTS.md file at the **root of your project**:
+
+```
+my-project/
+├── AGENTS.md # Primary filename (recommended)
+├── src/
+├── package.json
+└── README.md
+```
+
+**Supported filenames** (in order of precedence):
+
+1. `AGENTS.md` (uppercase, plural - recommended)
+2. `AGENT.md` (uppercase, singular - fallback)
+
+:::warning Case Sensitivity
+The filename must be uppercase (`AGENTS.md`), not lowercase (`agents.md`). This ensures consistency across different operating systems and tools.
+:::
+
+### Subdirectory AGENTS.md Files
+
+You can also place AGENTS.md files in subdirectories to provide context-specific instructions:
+
+```
+my-project/
+├── AGENTS.md # Root-level instructions
+├── src/
+│ └── backend/
+│ └── AGENTS.md # Backend-specific instructions
+└── docs/
+ └── AGENTS.md # Documentation-specific instructions
+```
+
+When working in a subdirectory, Kilo Code will load both the root AGENTS.md and any subdirectory AGENTS.md files, with subdirectory files taking precedence for conflicting instructions.
+
+## File Protection
+
+Both `AGENTS.md` and `AGENT.md` are **write-protected files** in Kilo Code. This means:
+
+- The AI agent cannot modify these files without explicit user approval
+- You'll be prompted to confirm any changes to these files
+- This prevents accidental modifications to your project's AI configuration
+
+## Basic Syntax and Structure
+
+AGENTS.md files use standard Markdown syntax. There's no required structure, but organizing your content with headers and lists makes it easier for AI models to parse and understand.
+
+### Recommended Structure
+
+```markdown
+# Project Name
+
+Brief description of the project and its purpose.
+
+## Code Style
+
+- Use TypeScript for all new files
+- Follow ESLint configuration
+- Use 2 spaces for indentation
+
+## Architecture
+
+- Follow MVC pattern
+- Keep components under 200 lines
+- Use dependency injection
+
+## Testing
+
+- Write unit tests for all business logic
+- Maintain >80% code coverage
+- Use Jest for testing
+
+## Security
+
+- Never commit API keys or secrets
+- Validate all user inputs
+- Use parameterized queries for database access
+```
+
+## Best Practices
+
+- **Be specific and clear** - Use concrete rules like "limit cyclomatic complexity to < 10" instead of vague guidance like "write good code"
+- **Include code examples** - Show patterns for error handling, naming conventions, or architecture decisions
+- **Organize by category** - Group related guidelines under clear headers (Code Style, Architecture, Testing, Security)
+- **Keep it concise** - Use bullet points and direct language; avoid long paragraphs
+- **Update regularly** - Review and revise as your project's conventions evolve
+
+## How AGENTS.md Works in Kilo Code
+
+### Loading Behavior
+
+When you start a task in Kilo Code:
+
+1. Kilo Code checks for `AGENTS.md` or `AGENT.md` at the project root
+2. If found, the content is loaded and included in the AI's context
+3. The AI follows these instructions throughout the conversation
+4. Changes to AGENTS.md take effect in new tasks (reload may be required)
+
+### Interaction with Other Rules
+
+AGENTS.md works alongside Kilo Code's other configuration systems:
+
+| Feature | Scope | Location | Purpose | Priority |
+| -------------------------------------------------------------- | ------- | ------------------------- | ------------------------------------------ | ----------- |
+| **[Mode-specific Custom Rules](/agent-behavior/custom-rules)** | Project | `.kilocode/rules-{mode}/` | Mode-specific rules and constraints | 1 (Highest) |
+| **[Custom Rules](/agent-behavior/custom-rules)** | Project | `.kilocode/rules/` | Kilo Code-specific rules and constraints | 2 |
+| **AGENTS.md** | Project | Project root or subfolder | Cross-tool standard for project guidelines | 3 |
+| **[Global Custom Rules](/agent-behavior/custom-rules)** | Global | `~/.kilocode/rules/` | Global Kilo Code rules | 4 |
+| **[Custom Instructions](/agent-behavior/custom-instructions)** | Global | IDE settings | Personal preferences across all projects | 5 (Lowest) |
+
+### Enabling/Disabling AGENTS.md
+
+AGENTS.md support is **enabled by default** in Kilo Code. To disable it, edit `settings.json`:
+
+```json
+{
+ "kilocode.useAgentRules": false
+}
+```
+
+## Related Features
+
+- **[Custom Rules](/agent-behavior/custom-rules)** - Kilo Code-specific rules with more control
+- **[Custom Modes](/agent-behavior/custom-modes)** - Specialized workflows with specific permissions
+- **[Custom Instructions](/agent-behavior/custom-instructions)** - Personal preferences across all projects
+- **[Migrating from Cursor or Windsurf](/advanced-usage/migrating-from-cursor-windsurf)** - Migration guide for other tools
+
+## External Resources
+
+- [AGENTS.md Specification](https://agents.md) - Official standard documentation
+- [dotagent](https://github.com/johnlindquist/dotagent) - Universal converter tool for agent configuration files
+- [awesome-cursorrules](https://github.com/PatrickJS/awesome-cursorrules) - 700+ example rules you can adapt
diff --git a/packages/kilo-docs/pages/code-with-ai/customization/custom-instructions.md b/packages/kilo-docs/pages/code-with-ai/customization/custom-instructions.md
new file mode 100644
index 00000000000..dcff42df907
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/customization/custom-instructions.md
@@ -0,0 +1,48 @@
+---
+title: "Custom Instructions"
+description: "Provide custom instructions to guide Kilo Code"
+---
+
+# Custom Instructions
+
+Custom Instructions allow you to personalize how Kilo Code behaves, providing specific guidance that shapes responses, coding style, and decision-making processes.
+
+## What Are Custom Instructions?
+
+Custom Instructions define specific Extension behaviors, preferences, and constraints beyond Kilo's basic role definition. Examples include coding style, documentation standards, testing requirements, and workflow guidelines.
+
+{% callout type="info" title="Custom Instructions vs Rules" %}
+Custom Instructions are IDE-wide and are applied across all workspaces and maintain your preferences regardless of which project you're working on. Unlike Instructions, [Custom Rules](/advanced-usage/custom-rules.md) are project specific and allow you to setup workspace-based ruleset.
+{% /callout %}
+
+## Setting Custom Instructions
+
+**How to set them:**
+
+{% image src="/docs/img/custom-instructions/custom-instructions.png" alt="Kilo Code Modes tab showing global custom instructions interface" width="600" caption="Kilo Code Modes tab showing global custom instructions interface" /%}
+
+1. **Open Modes Tab:** Click the icon in the Kilo Code top menu bar
+2. **Find Section:** Find the "Custom Instructions for All Modes" section
+3. **Enter Instructions:** Enter your instructions in the text area
+4. **Save Changes:** Click "Done" to save your changes
+
+#### Mode-Specific Instructions
+
+Mode-specific instructions can be set using the Modes Tab
+
+ {% image src="/docs/img/custom-instructions/custom-instructions-3.png" alt="Kilo Code Modes tab showing mode-specific custom instructions interface" width="600" caption="Kilo Code Modes tab showing mode-specific custom instructions interface" /%}
+ * **Open Tab:** Click the icon in the Kilo Code top menu bar
+ * **Select Mode:** Under the Modes heading, click the button for the mode you want to customize
+ * **Enter Instructions:** Enter your instructions in the text area under "Mode-specific Custom Instructions (optional)"
+ * **Save Changes:** Click "Done" to save your changes
+
+ {% callout type="info" title="Global Mode Rules" %}
+ If the mode itself is global (not workspace-specific), any custom instructions you set for it will also apply globally for that mode across all workspaces.
+ {% /callout %}
+
+## Related Features
+
+- [Custom Modes](/docs/features/custom-modes)
+- [Custom Rules](/advanced-usage/custom-rules)
+- [Settings Management](/docs/features/settings-management)
+- [Auto-Approval Settings](/docs/features/auto-approving-actions)
diff --git a/packages/kilo-docs/docs/agent-behavior/custom-modes.md b/packages/kilo-docs/pages/code-with-ai/customization/custom-modes.md
similarity index 90%
rename from packages/kilo-docs/docs/agent-behavior/custom-modes.md
rename to packages/kilo-docs/pages/code-with-ai/customization/custom-modes.md
index cfca5d7b65a..4e3aeb0fa7e 100644
--- a/packages/kilo-docs/docs/agent-behavior/custom-modes.md
+++ b/packages/kilo-docs/pages/code-with-ai/customization/custom-modes.md
@@ -1,3 +1,8 @@
+---
+title: "Custom Modes"
+description: "Create and configure custom modes in Kilo Code"
+---
+
# Custom Modes
Kilo Code allows you to create **custom modes** to tailor Kilo's behavior to specific tasks or workflows. Custom modes can be either **global** (available across all projects) or **project-specific** (defined within a single project).
@@ -8,12 +13,12 @@ Each mode—including custom ones—features **Sticky Models**. This means Kilo
## Why Use Custom Modes?
-- **Specialization:** Create modes optimized for specific tasks, like "Documentation Specialist," "Test Engineer," or "Refactoring Expert"
+- **Specialization:** Create modes optimized for specific tasks, like "Documentation Writer," "Test Engineer," or "Refactoring Expert"
- **Safety:** Restrict a mode's access to sensitive files or commands. For example, a "Review Mode" could be limited to read-only operations
- **Experimentation:** Safely experiment with different prompts and configurations without affecting other modes
- **Team Collaboration:** Share custom modes with your team to standardize workflows
-
+{% image src="/docs/img/custom-modes/custom-modes.png" alt="Overview of custom modes interface" width="600" caption="Overview of custom modes interface" /%}
_Kilo Code's interface for creating and managing custom modes._
@@ -47,7 +52,7 @@ Easily share, back up, and template your custom modes. This feature lets you exp
**Exporting a Mode:**
-1. Navigate to Settings > Agent Behaviour > Modes
+1. Navigate to the Modes view
2. Select the mode you wish to export
3. Click the Export Mode button (download icon)
4. Choose a location to save the `.yaml` file
@@ -55,7 +60,7 @@ Easily share, back up, and template your custom modes. This feature lets you exp
**Importing a Mode:**
-1. Click the Import Mode button (upload icon) in the Agent Behaviour > Modes view
+1. Click the Import Mode button (upload icon) in the Modes view
2. Select the mode's YAML file
3. Choose the import level:
- **Project:** Available only in current workspace (saved to `.kilocodemodes` file)
@@ -83,13 +88,13 @@ Create a new mode called "Documentation Writer". It should only be able to read
Kilo Code will guide you through the process, prompting for necessary information and creating the mode using the preferred YAML format.
-### 2. Using the Agent Behaviour Tab
+### 2. Using the Prompts Tab
-1. **Open Agent Behaviour Tab:** Click the icon in the Kilo Code top menu bar to open Settings, then select the `Agent Behaviour` tab and the `Modes` sub-tab
+1. **Open Prompts Tab:** Click the icon in the Kilo Code top menu bar
2. **Create New Mode:** Click the button to the right of the Modes heading
3. **Fill in Fields:**
-
+{% image src="/docs/img/custom-modes/custom-modes-2.png" alt="Custom mode creation interface in the Prompts tab" width="600" caption="Custom mode creation interface in the Prompts tab" /%}
_The custom mode creation interface showing fields for name, slug, description, save location, role definition, available tools, custom instructions._
@@ -99,8 +104,8 @@ The interface provides fields for Name, Slug, Description, Save Location, Role D
You can directly edit the configuration files to create or modify custom modes. This method offers the most control over all properties. Kilo Code now supports both YAML (preferred) and JSON formats.
-- **Global Modes:** Edit the `custom_modes.yaml` (preferred) or `custom_modes.json` file. Access it via Settings > Agent Behaviour > Modes > (Settings Menu icon next to "Global Modes") > "Edit Global Modes"
-- **Project Modes:** Edit the `.kilocodemodes` file (which can be YAML or JSON) in your project root. Access it via Settings > Agent Behaviour > Modes > (Settings Menu icon next to "Project Modes") > "Edit Project Modes"
+- **Global Modes:** Edit the `custom_modes.yaml` (preferred) or `custom_modes.json` file. Access it via Prompts Tab > (Settings Menu icon next to "Global Prompts") > "Edit Global Modes"
+- **Project Modes:** Edit the `.kilocodemodes` file (which can be YAML or JSON) in your project root. Access it via Prompts Tab > (Settings Menu icon next to "Project Prompts") > "Edit Project Modes"
These files define an array/list of custom modes.
@@ -369,7 +374,8 @@ customModes:
Regular expressions (`fileRegex`) offer fine-grained control over file editing permissions.
-:::tip
+{% callout type="tip" %}
+
**Let Kilo Build Your Regex Patterns**
Instead of writing complex regex manually, ask Kilo:
@@ -379,7 +385,8 @@ Create a regex pattern that matches JavaScript files but excludes test files
```
Kilo will generate the pattern. Remember to adapt it for YAML (usually single backslashes) or JSON (double backslashes).
-:::
+
+{% /callout %}
### Important Rules for `fileRegex`
@@ -489,27 +496,6 @@ customModes:
- **Hyphens for List Items:** List items start with a hyphen and a space (e.g., `- read`)
- **Validate Your YAML:** Use online YAML validators or your editor's built-in validation
-## Contributing to the Marketplace
-
-Have you created a custom mode that others might find useful? Share it with the community by contributing to the [Kilo Marketplace](https://github.com/Kilo-Org/kilo-marketplace)!
-
-### How to Submit Your Mode
-
-1. **Export your mode**: Use the Export Mode button (download icon) in the Modes view to save your mode as a YAML file
-2. **Test thoroughly**: Ensure your mode works correctly across different scenarios
-3. **Fork the marketplace repository**: Visit [github.com/Kilo-Org/kilo-marketplace](https://github.com/Kilo-Org/kilo-marketplace) and create a fork
-4. **Add your mode**: Place your mode YAML file in the appropriate directory following the repository's structure
-5. **Submit a pull request**: Create a PR with a clear description of what your mode does and when it's useful
-
-### Submission Guidelines
-
-- Include a clear, descriptive name and description
-- Document any specific use cases or requirements
-- Test your mode with different AI models if possible
-- Follow the [contribution guidelines](https://github.com/Kilo-Org/kilo-marketplace/blob/main/CONTRIBUTING.md) in the marketplace repository
-
-For more details on contributing to Kilo Code, see the [Contributing Guide](/contributing).
-
## Community Gallery
Ready to explore more? Check out the [Show and Tell](https://github.com/Kilo-Org/kilocode/discussions/categories/show-and-tell) to discover and share custom modes created by the community!
diff --git a/packages/kilo-docs/pages/code-with-ai/customization/custom-rules.md b/packages/kilo-docs/pages/code-with-ai/customization/custom-rules.md
new file mode 100644
index 00000000000..9ad7aed44e4
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/customization/custom-rules.md
@@ -0,0 +1,224 @@
+---
+title: "Custom Rules"
+description: "Define custom rules for Kilo Code behavior"
+---
+
+# Custom Rules
+
+Custom rules provide a powerful way to define project-specific and global behaviors and constraints for the Kilo Code AI agent. With custom rules, you can ensure consistent formatting, restrict access to sensitive files, enforce coding standards, and customize the AI's behavior for your specific project needs or across all projects.
+
+## Overview
+
+Custom rules allow you to create text-based instructions that all AI models will follow when interacting with your project. These rules act as guardrails and conventions that are consistently respected across all interactions with your codebase. Rules can be managed through both the file system and the built-in UI interface.
+
+## Rule Format
+
+Custom rules can be written in plain text, but Markdown format is recommended for better structure and comprehension by the AI models. The structured nature of Markdown helps the models parse and understand your rules more effectively.
+
+- Use Markdown headers (`#`, `##`, etc.) to define rule categories
+- Use lists (`-`, `*`) to enumerate specific items or constraints
+- Use code blocks (` `) to include code examples when needed
+
+## Rule Types
+
+Kilo Code supports two types of custom rules:
+
+- **Project Rules**: Apply only to the current project workspace
+- **Global Rules**: Apply across all projects and workspaces
+
+:::note UI Support
+The built-in rules management UI is available for general rules only. Mode-specific rules must be managed through the file system.
+:::
+
+## Rule Location
+
+### Project Rules
+
+Custom rules are primarily loaded from the **`.kilocode/rules/` directory**. This is the recommended approach for organizing your project-specific rules. Each rule is typically placed in its own Markdown file with a descriptive name:
+
+```
+project/
+├── .kilocode/
+│ ├── rules/
+│ │ ├── formatting.md
+│ │ ├── restricted_files.md
+│ │ └── naming_conventions.md
+├── src/
+└── ...
+```
+
+### Global Rules
+
+Global rules are stored in your home directory and apply to all projects:
+
+```
+~/.kilocode/
+├── rules/
+│ ├── coding_standards.md
+│ ├── security_guidelines.md
+│ └── documentation_style.md
+```
+
+## Managing Rules Through the UI
+
+Kilo Code provides a built-in interface for managing your custom rules without manually editing files in the `.kilocode/rules/` directories. To access the UI, click on the icon in the **bottom right corner** of the Kilo Code window.
+
+You can access the rules management UI to:
+
+- View all active rules (both project and global)
+- Toggle rules on/off without deleting them
+- Create and edit rules directly in the interface
+- Organize rules by category and priority
+
+## Rule Loading Order
+
+### General Rules (Any Mode)
+
+Rules are loaded in the following priority order:
+
+1. **Global rules** from `~/.kilocode/rules/` directory
+2. **Project rules** from `.kilocode/rules/` directory
+3. **Legacy fallback files** (for backward compatibility):
+ - `.roorules`
+ - `.clinerules`
+ - `.kilocoderules` (deprecated)
+
+When both global and project rules exist, they are combined with project rules taking precedence over global rules for conflicting directives.
+
+:::note
+We strongly recommend keeping your rules in the `.kilocode/rules/` folder as it provides better organization and is the preferred approach for future versions. The folder-based structure allows for more granular rule organization and clearer separation of concerns. The legacy file-based approach is maintained for backward compatibility but may be subject to change in future releases.
+:::
+
+### Mode-Specific Rules
+
+Additionally, the system supports mode-specific rules, which are loaded separately and have their own priority order:
+
+1. First, it checks for `.kilocode/rules-${mode}/` directory
+2. If that doesn't exist or is empty, it falls back to `.kilocoderules-${mode}` file (deprecated)
+
+Currently, mode-specific rules are only supported at the project level.
+When both generic rules and mode-specific rules exist, the mode-specific rules are given priority in the final output.
+
+## Creating Custom Rules
+
+### Using the UI Interface
+
+
+
+The easiest way to create and manage rules is through the built-in UI:
+
+1. Access the rules management interface from the Kilo Code panel
+2. Choose between creating project-specific or global rules
+3. Use the interface to create, edit, or toggle rules
+4. Rules are automatically saved and applied immediately
+
+### Using the File System
+
+To create rules manually:
+
+**For Project Rules:**
+
+1. Create the `.kilocode/rules/` directory if it doesn't already exist
+2. Create a new Markdown file with a descriptive name in this directory
+3. Write your rule using Markdown formatting
+4. Save the file
+
+**For Global Rules:**
+
+1. Create the `~/.kilocode/rules/` directory if it doesn't already exist
+2. Create a new Markdown file with a descriptive name in this directory
+3. Write your rule using Markdown formatting
+4. Save the file
+
+Rules will be automatically applied to all future Kilo Code interactions. Any new changes will be applied immediately.
+
+## Example Rules
+
+### Example 1: Table Formatting
+
+```markdown
+# Tables
+
+When printing tables, always add an exclamation mark to each column header
+```
+
+This simple rule instructs the AI to add exclamation marks to all table column headers when generating tables in your project.
+
+### Example 2: Restricted File Access
+
+```markdown
+# Restricted files
+
+Files in the list contain sensitive data, they MUST NOT be read
+
+- supersecrets.txt
+- credentials.json
+- .env
+```
+
+This rule prevents the AI from reading or accessing sensitive files, even if explicitly requested to do so.
+
+
+
+## Use Cases
+
+Custom rules can be applied to a wide variety of scenarios:
+
+- **Code Style**: Enforce consistent formatting, naming conventions, and documentation styles
+- **Security Controls**: Prevent access to sensitive files or directories
+- **Project Structure**: Define where different types of files should be created
+- **Documentation Requirements**: Specify documentation formats and requirements
+- **Testing Patterns**: Define how tests should be structured
+- **API Usage**: Specify how APIs should be used and documented
+- **Error Handling**: Define error handling conventions
+
+## Examples of Custom Rules
+
+- "Strictly follow code style guide [your project-specific code style guide]"
+- "Always use spaces for indentation, with a width of 4 spaces"
+- "Use camelCase for variable names"
+- "Write unit tests for all new functions"
+- "Explain your reasoning before providing code"
+- "Focus on code readability and maintainability"
+- "Prioritize using the most common library in the community"
+- "When adding new features to websites, ensure they are responsive and accessible"
+
+## Best Practices
+
+- **Be Specific**: Clearly define the scope and intent of each rule
+- **Use Categories**: Organize related rules under common headers
+- **Separate Concerns**: Use different files for different types of rules
+- **Use Examples**: Include examples to illustrate the expected behavior
+- **Keep It Simple**: Rules should be concise and easy to understand
+- **Update Regularly**: Review and update rules as project requirements change
+
+:::tip Pro Tip: File-Based Team Standards
+When working in team environments, placing `.kilocode/rules/codestyle.md` files under version control allows you to standardize Kilo's behavior across your entire development team. This ensures consistent code style, documentation practices, and development workflows for everyone on the project.
+:::
+
+## Limitations
+
+- Rules are applied on a best-effort basis by the AI models
+- Complex rules may require multiple examples for clear understanding
+- Project rules apply only to the project in which they are defined
+- Global rules apply across all projects
+
+## Troubleshooting
+
+If your custom rules aren't being properly followed:
+
+1. **Check rule status in the UI**: Use the rules management interface to verify that your rules are active and properly loaded
+1. **Verify rule formatting**: Ensure that your rules are properly formatted with clear Markdown structure
+1. **Check rule locations**: Ensure that your rules are located in supported locations:
+ - Global rules: `~/.kilocode/rules/` directory
+ - Project rules: `.kilocode/rules/` directory
+ - Legacy files: `.kilocoderules`, `.roorules`, or `.clinerules`
+1. **Rule specificity**: Verify that the rules are specific and unambiguous
+1. **Restart VS Code**: Restart VS Code to ensure the rules are properly loaded
+
+## Related Features
+
+- [Custom Modes](/docs/features/custom-modes)
+- [Custom Instructions](/advanced-usage/custom-instructions)
+- [Settings Management](/docs/features/settings-management)
+- [Auto-Approval Settings](/docs/features/auto-approving-actions)
diff --git a/packages/kilo-docs/pages/code-with-ai/customization/prompt-engineering.md b/packages/kilo-docs/pages/code-with-ai/customization/prompt-engineering.md
new file mode 100644
index 00000000000..dcd1606c6fd
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/customization/prompt-engineering.md
@@ -0,0 +1,98 @@
+---
+title: "Prompt Engineering"
+description: "Best practices for writing effective prompts"
+---
+
+# Prompt Engineering
+
+Prompt engineering is the art of crafting effective instructions for AI models like Kilo Code. Well-written prompts lead to better results, fewer errors, and a more efficient workflow.
+
+## General Principles
+
+- **Be Clear and Specific:** Clearly state what you want Kilo Code to do. Avoid ambiguity.
+
+ - **Bad:** Fix the code.
+ - **Good:** Fix the bug in the `calculateTotal` function that causes it to return incorrect results.
+
+- **Provide Context:** Use [Context Mentions](/basic-usage/context-mentions) to refer to specific files, folders, or problems.
+
+ - **Good:** `@/src/utils.ts` Refactor the `calculateTotal` function to use async/await.
+
+- **Break Down Tasks:** Divide complex tasks into smaller, well-defined steps.
+
+- **Give Examples:** If you have a specific coding style or pattern in mind, provide examples.
+
+- **Specify Output Format:** If you need the output in a particular format (e.g., JSON, Markdown), specify it in the prompt.
+
+- **Iterate:** Don't be afraid to refine your prompt if the initial results aren't what you expect.
+
+## Thinking vs. Doing
+
+It's often helpful to guide Kilo Code through a "think-then-do" process:
+
+1. **Analyze:** Ask Kilo Code to analyze the current code, identify problems, or plan the approach.
+2. **Plan:** Have Kilo Code outline the steps it will take to complete the task.
+3. **Execute:** Instruct Kilo Code to implement the plan, one step at a time.
+4. **Review:** Carefully review the results of each step before proceeding.
+
+## Using Custom Instructions
+
+You can provide custom instructions to further tailor Kilo Code's behavior. There are two types of custom instructions:
+
+- **Global Custom Instructions:** Apply to all modes.
+- **Mode-Specific Custom Instructions:** Apply only to a specific mode (e.g., Code, Architect, Ask, Debug, or a custom mode).
+
+Custom instructions are added to the system prompt, providing persistent guidance to the AI model. You can use these to:
+
+- Enforce coding style guidelines.
+- Specify preferred libraries or frameworks.
+- Define project-specific conventions.
+- Adjust Kilo Code's tone or personality.
+
+See the [Custom Instructions](/agent-behavior/custom-instructions) section for more details.
+
+## Handling Ambiguity
+
+If your request is ambiguous or lacks sufficient detail, Kilo Code might:
+
+- **Make Assumptions:** It might proceed based on its best guess, which may not be what you intended.
+- **Ask Follow-Up Questions:** It might use the `ask_followup_question` tool to clarify your request.
+
+It's generally better to provide clear and specific instructions from the start to avoid unnecessary back-and-forth.
+
+## Providing Feedback
+
+If Kilo Code doesn't produce the desired results, you can provide feedback by:
+
+- **Rejecting Actions:** Click the "Reject" button when Kilo Code proposes an action you don't want.
+- **Providing Explanations:** When rejecting, explain _why_ you're rejecting the action. This helps Kilo Code learn from its mistakes.
+- **Rewording Your Request:** Try rephrasing your initial task or providing more specific instructions.
+- **Manually Correcting:** If there are a few small issues, you can also directly modify the code before accepting the changes.
+
+## Examples
+
+**Good Prompt:**
+
+> `@/src/components/Button.tsx` Refactor the `Button` component to use the `useState` hook instead of the `useReducer` hook.
+
+**Bad Prompt:**
+
+> Fix the button.
+
+**Good Prompt:**
+
+> Create a new file named `utils.py` and add a function called `calculate_average` that takes a list of numbers and returns their average.
+
+**Bad Prompt:**
+
+> Write some Python code.
+
+**Good Prompt:**
+
+> `@problems` Address all errors and warnings in the current file.
+
+**Bad Prompt:**
+
+> Fix everything.
+
+By following these tips, you can write effective prompts that get the most out of Kilo Code's capabilities.
diff --git a/packages/kilo-docs/docs/agent-behavior/skills.md b/packages/kilo-docs/pages/code-with-ai/customization/skills.md
similarity index 99%
rename from packages/kilo-docs/docs/agent-behavior/skills.md
rename to packages/kilo-docs/pages/code-with-ai/customization/skills.md
index afaab6176c3..59ef48f2894 100644
--- a/packages/kilo-docs/docs/agent-behavior/skills.md
+++ b/packages/kilo-docs/pages/code-with-ai/customization/skills.md
@@ -1,3 +1,8 @@
+---
+title: "Skills"
+description: "Extend Kilo Code capabilities with skills"
+---
+
# Skills
Kilo Code implements [Agent Skills](https://agentskills.io/), a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows.
diff --git a/packages/kilo-docs/pages/code-with-ai/customization/workflows.md b/packages/kilo-docs/pages/code-with-ai/customization/workflows.md
new file mode 100644
index 00000000000..3dfd7166222
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/customization/workflows.md
@@ -0,0 +1,96 @@
+---
+title: "Workflows"
+description: "Create automated workflows with Kilo Code"
+---
+
+# Workflows
+
+Workflows automate repetitive tasks by defining step-by-step instructions for Kilo Code to execute. Invoke any workflow by typing `/[workflow-name.md]` in the chat.
+
+{% image src="/docs/img/slash-commands/workflows.png" alt="Workflows tab in Kilo Code" width="600" caption="Workflows tab in Kilo Code" /%}
+
+## Creating Workflows
+
+Workflows are markdown files stored in `.kilocode/workflows/`:
+
+- **Global workflows**: `~/.kilocode/workflows/` (available in all projects)
+- **Project workflows**: `[project]/.kilocode/workflows/` (project-specific)
+
+### Basic Setup
+
+1. Create a `.md` file with step-by-step instructions
+2. Save it in your workflows directory
+3. Type `/filename.md` to execute
+
+### Workflow Capabilities
+
+Workflows can leverage:
+
+- [Built-in tools](/features/tools/tool-use-overview): [`read_file()`](/features/tools/read-file), [`search_files()`](/features/tools/search-files), [`execute_command()`](/features/tools/execute-command)
+- CLI tools: `gh`, `docker`, `npm`, custom scripts
+- [MCP integrations](/features/mcp/overview): Slack, databases, APIs
+- [Mode switching](/basic-usage/using-modes): [`new_task()`](/features/tools/new-task) for specialized contexts
+
+## Common Workflow Patterns
+
+**Release Management**
+
+```markdown
+1. Gather merged PRs since last release
+2. Generate changelog from commit messages
+3. Update version numbers
+4. Create release branch and tag
+5. Deploy to staging environment
+```
+
+**Project Setup**
+
+```markdown
+1. Clone repository template
+2. Install dependencies (`npm install`, `pip install -r requirements.txt`)
+3. Configure environment files
+4. Initialize database/services
+5. Run initial tests
+```
+
+**Code Review Preparation**
+
+```markdown
+1. Search for TODO comments and debug statements
+2. Run linting and formatting
+3. Execute test suite
+4. Generate PR description from recent commits
+```
+
+## Example: PR Submission Workflow
+
+Let's walk through creating a workflow for submitting a pull request. This workflow handles the entire process from code review to deployment notification.
+
+Create a file called `submit-pr.md` in your `.kilocode/workflows` directory:
+
+```markdown
+# Submit PR Workflow
+
+You are helping submit a pull request. Follow these steps:
+
+1. First, use `search_files` to check for any TODO comments or console.log statements that shouldn't be committed
+2. Run tests using `execute_command` with `npm test` or the appropriate test command
+3. If tests pass, stage and commit changes with a descriptive commit message
+4. Push the branch and create a pull request using `gh pr create`
+5. Use `ask_followup_question` to get the PR title and description from the user
+
+Parameters needed (ask if not provided):
+
+- Branch name
+- Reviewers to assign
+```
+
+Now you can trigger this workflow by typing `/submit-pr.md` in the chat. Kilo Code will:
+
+- Scan your code for common issues before committing
+- Run your test suite to catch problems early
+- Handle the Git operations and PR creation
+- Notify your team automatically
+- Set up follow-up tasks for deployment
+
+This saves you from manually running the same 7-step process every time you want to submit code for review.
diff --git a/packages/kilo-docs/pages/code-with-ai/features/autocomplete.md b/packages/kilo-docs/pages/code-with-ai/features/autocomplete.md
new file mode 100644
index 00000000000..c7a2ff8c3b6
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/features/autocomplete.md
@@ -0,0 +1,18 @@
+---
+title: "Autocomplete"
+description: "AI-powered code autocompletion in Kilo Code"
+---
+
+# Autocomplete
+
+{% callout type="info" title="Coming Soon" %}
+This page is under construction. Check back soon for comprehensive documentation.
+{% /callout %}
+
+
diff --git a/packages/kilo-docs/docs/features/browser-use.md b/packages/kilo-docs/pages/code-with-ai/features/browser-use.md
similarity index 69%
rename from packages/kilo-docs/docs/features/browser-use.md
rename to packages/kilo-docs/pages/code-with-ai/features/browser-use.md
index 8d553eff77d..35253aa6e4d 100644
--- a/packages/kilo-docs/docs/features/browser-use.md
+++ b/packages/kilo-docs/pages/code-with-ai/features/browser-use.md
@@ -1,14 +1,20 @@
+---
+title: "Browser Use"
+description: "Using Kilo Code to interact with web browsers"
+---
+
# Browser Use
Kilo Code provides sophisticated browser automation capabilities that let you interact with websites directly from VS Code. This feature enables testing web applications, automating browser tasks, and capturing screenshots without leaving your development environment.
-:::info Model Support Required
+{% callout type="info" title="Model Support Required" %}
Browser Use within Kilo Code requires the use and advanced agentic model, and has only been tested with Claude Sonnet 3.5, 3.7, and 4
-:::
+{% /callout %}
## How Browser Use Works
By default, Kilo Code uses a built-in browser that:
+
- Launches automatically when you ask Kilo to visit a website
- Captures screenshots of web pages
- Allows Kilo to interact with web elements
@@ -39,13 +45,14 @@ Can you check if my website at https://kilocode.ai is displaying correctly?
Browse http://localhost:3000, scroll down to the bottom of the page and check if the footer information is displaying correctly.
```
-
+{% image src="/docs/features/KiloCodeBrowser.png" alt="Browser use example" width="300" /%}
## How Browser Actions Work
The browser_action tool controls a browser instance that returns screenshots and console logs after each action, allowing you to see the results of interactions.
Key characteristics:
+
- Each browser session must start with `launch` and end with `close`
- Only one browser action can be used per message
- While the browser is active, no other tools can be used
@@ -53,40 +60,42 @@ Key characteristics:
### Available Browser Actions
-| Action | Description | When to Use |
-|--------|-------------|------------|
-| `launch` | Opens a browser at a URL | Starting a new browser session |
-| `click` | Clicks at specific coordinates | Interacting with buttons, links, etc. |
-| `type` | Types text into active element | Filling forms, search boxes |
-| `scroll_down` | Scrolls down by one page | Viewing content below the fold |
-| `scroll_up` | Scrolls up by one page | Returning to previous content |
-| `close` | Closes the browser | Ending a browser session |
+| Action | Description | When to Use |
+| ------------- | ------------------------------ | ------------------------------------- |
+| `launch` | Opens a browser at a URL | Starting a new browser session |
+| `click` | Clicks at specific coordinates | Interacting with buttons, links, etc. |
+| `type` | Types text into active element | Filling forms, search boxes |
+| `scroll_down` | Scrolls down by one page | Viewing content below the fold |
+| `scroll_up` | Scrolls up by one page | Returning to previous content |
+| `close` | Closes the browser | Ending a browser session |
## Browser Use Configuration/Settings
-:::info Default Browser Settings
+{% callout type="info" title="Default Browser Settings" %}
+
- **Enable browser tool**: Enabled
- **Viewport size**: Small Desktop (900x600)
- **Screenshot quality**: 75%
- **Use remote browser connection**: Disabled
-:::
+ {% /callout %}
### Accessing Settings
To change Browser / Computer Use settings in Kilo:
-1. Open Settings by clicking the gear icon → Browser / Computer Use
+1. Open Settings by clicking the gear icon {% codicon name="gear" /%} → Browser / Computer Use
-
+ {% image src="/docs/img/browser-use/browser-use.png" alt="Browser settings menu" width="600" /%}
### Enable/Disable Browser Use
**Purpose**: Master toggle that enables Kilo to interact with websites using a Puppeteer-controlled browser.
To change this setting:
+
1. Check or uncheck the "Enable browser tool" checkbox within your Browser / Computer Use settings
-
+ {% image src="/docs/img/browser-use/browser-use-2.png" alt="Enable browser tool setting" width="300" /%}
### Viewport Size
@@ -95,15 +104,16 @@ To change this setting:
**Tradeoff**: Higher values provide a larger viewport but increase token usage.
To change this setting:
+
1. Click the dropdown menu under "Viewport size" within your Browser / Computer Use settings
2. Select one of the available options:
- - Large Desktop (1280x800)
- - Small Desktop (900x600) - Default
- - Tablet (768x1024)
- - Mobile (360x640)
-2. Select your desired resolution.
+ - Large Desktop (1280x800)
+ - Small Desktop (900x600) - Default
+ - Tablet (768x1024)
+ - Mobile (360x640)
+3. Select your desired resolution.
-
+ {% image src="/docs/img/browser-use/browser-use-3.png" alt="Viewport size setting" width="600" /%}
### Screenshot Quality
@@ -112,20 +122,23 @@ To change this setting:
**Tradeoff**: Higher values provide clearer screenshots but increase token usage.
To change this setting:
+
1. Adjust the slider under "Screenshot quality" within your Browser / Computer Use settings
2. Set a value between 1-100% (default is 75%)
3. Higher values provide clearer screenshots but increase token usage:
- - 40-50%: Good for basic text-based websites
- - 60-70%: Balanced for most general browsing
- - 80%+: Use when fine visual details are critical
-
+ - 40-50%: Good for basic text-based websites
+ - 60-70%: Balanced for most general browsing
+ - 80%+: Use when fine visual details are critical
+
+ {% image src="/docs/img/browser-use/browser-use-4.png" alt="Screenshot quality setting" width="600" /%}
### Remote Browser Connection
**Purpose**: Connect Kilo to an existing Chrome browser instead of using the built-in browser.
**Benefits**:
+
- Works in containerized environments and remote development workflows
- Maintains authenticated sessions between browser uses
- Eliminates repetitive login steps
@@ -134,10 +147,11 @@ To change this setting:
**Requirements**: Chrome must be running with remote debugging enabled.
To enable this feature:
+
1. Check the "Use remote browser connection" box in Browser / Computer Use settings
2. Click "Test Connection" to verify
-
+ {% image src="/docs/img/browser-use/browser-use-5.png" alt="Remote browser connection setting" width="600" /%}
#### Common Use Cases
@@ -150,16 +164,19 @@ To enable this feature:
Connect to a visible Chrome window to observe Kilo's interactions in real-time:
**macOS**
+
```bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug --no-first-run
```
**Windows**
+
```bash
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir=C:\chrome-debug --no-first-run
```
**Linux**
+
```bash
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug --no-first-run
```
diff --git a/packages/kilo-docs/docs/features/checkpoints.md b/packages/kilo-docs/pages/code-with-ai/features/checkpoints.md
similarity index 67%
rename from packages/kilo-docs/docs/features/checkpoints.md
rename to packages/kilo-docs/pages/code-with-ai/features/checkpoints.md
index bcf77e69e63..6fb006542dc 100644
--- a/packages/kilo-docs/docs/features/checkpoints.md
+++ b/packages/kilo-docs/pages/code-with-ai/features/checkpoints.md
@@ -1,29 +1,36 @@
+---
+title: "Checkpoints"
+description: "Save and restore code states with checkpoints"
+---
+
# Checkpoints
Checkpoints automatically version your workspace files during Kilo Code tasks, enabling non-destructive exploration of AI suggestions and easy recovery from unwanted changes.
Checkpoints let you:
+
- Safely experiment with AI-suggested changes
- Easily recover from undesired modifications
- Compare different implementation approaches
- Revert to previous project states without losing work
-:::info Important Notes
+{% callout type="info" title="Important Notes" %}
+
- **Checkpoints are enabled by default.**
- **Git must be installed** for checkpoints to function - [see installation instructions](#git-installation)
- No GitHub account or repository is required
- No Git personal information configuration is needed
- The shadow Git repository operates independently from your project's existing Git configuration
-:::
+ {% /callout %}
## Configuration Options
Access checkpoint settings in Kilo Code settings under the "Checkpoints" section:
-1. Open Settings by clicking the gear icon → Checkpoints
+1. Open Settings by clicking the gear icon {% codicon name="gear" /%} → Checkpoints
2. Check or uncheck the "Enable automatic checkpoints" checkbox
-
+ {% image src="/docs/img/checkpoints/checkpoints.png" alt="Checkpoint settings in Kilo Code configuration" width="500" /%}
## How Checkpoints Work
@@ -44,10 +51,10 @@ Checkpoints are integrated directly into your workflow through the chat interfac
Checkpoints appear directly in your chat history in two forms:
- **Initial checkpoint** marks your starting project state
-
+ {% image src="/docs/img/checkpoints/checkpoints-1.png" alt="Initial checkpoint indicator in chat" width="500" /%}
- **Regular checkpoints** appear after file modifications or command execution
-
+ {% image src="/docs/img/checkpoints/checkpoints-2.png" alt="Regular checkpoint indicator in chat" width="500" /%}
Each checkpoint provides two primary functions:
@@ -58,16 +65,16 @@ To compare your current workspace with a previous checkpoint:
1. Locate the checkpoint in your chat history
2. Click the checkpoint's `View Differences` button
-
+ {% image src="/docs/img/checkpoints/checkpoints-6.png" alt="View Differences button interface" width="100" /%}
3. Review the differences in the comparison view:
- - Added lines are highlighted in green
- - Removed lines are highlighted in red
- - Modified files are listed with detailed changes
- - Renamed and moved files are tracked with their path changes
- - New or deleted files are clearly marked
+ - Added lines are highlighted in green
+ - Removed lines are highlighted in red
+ - Modified files are listed with detailed changes
+ - Renamed and moved files are tracked with their path changes
+ - New or deleted files are clearly marked
-
+{% image src="/docs/img/checkpoints/checkpoints-3.png" alt="View differences option for checkpoints" width="800" /%}
### Restoring Checkpoints
@@ -75,16 +82,15 @@ To restore a project to a previous checkpoint state:
1. Locate the checkpoint in your chat history
2. Click the checkpoint's `Restore Checkpoint` button
-
+ {% image src="/docs/img/checkpoints/checkpoints-7.png" alt="Restore checkpoint button interface" width="100" /%}
3. Choose one of these restoration options:
-
-
- - **Restore Files Only** - Reverts only workspace files to checkpoint state without modifying conversation history. Ideal for comparing alternative implementations while maintaining chat context, allowing you to seamlessly switch between different project states. This option does not require confirmation and lets you quickly switch between different implementations.
-
- - **Restore Files & Task** - Reverts both workspace files AND removes all subsequent conversation messages. Use when you want to completely reset both your code and conversation back to the checkpoint's point in time. This option requires confirmation in a dialog as it cannot be undone.
+ {% image src="/docs/img/checkpoints/checkpoints-4.png" alt="Restore checkpoint option" width="300" /%}
-
+ - **Restore Files Only** - Reverts only workspace files to checkpoint state without modifying conversation history. Ideal for comparing alternative implementations while maintaining chat context, allowing you to seamlessly switch between different project states. This option does not require confirmation and lets you quickly switch between different implementations.
+ - **Restore Files & Task** - Reverts both workspace files AND removes all subsequent conversation messages. Use when you want to completely reset both your code and conversation back to the checkpoint's point in time. This option requires confirmation in a dialog as it cannot be undone.
+
+ {% image src="/docs/img/checkpoints/checkpoints-9.png" alt="Confirmation dialog for restoring checkpoint with files & task" width="300" /%}
### Limitations and Considerations
@@ -102,16 +108,18 @@ The checkpoint system consists of:
1. **Shadow Git Repository**: A separate Git repository created specifically for checkpoint tracking that functions as the persistent storage mechanism for checkpoint state.
2. **Checkpoint Service**: Handles Git operations and state management through:
- - Repository initialization
- - Checkpoint creation and storage
- - Diff computation
- - State restoration
+
+ - Repository initialization
+ - Checkpoint creation and storage
+ - Diff computation
+ - State restoration
3. **UI Components**: Interface elements displayed in the chat that enable interaction with checkpoints.
### Restoration Process
When restoration executes, Kilo Code:
+
- Performs a hard reset to the specified checkpoint commit
- Copies all files from the shadow repository to your workspace
- Updates internal checkpoint tracking state
@@ -123,6 +131,7 @@ Checkpoints are task-scoped, meaning they are specific to a single task.
### Diff Computation
Checkpoint comparison uses Git's underlying diff capabilities to produce structured file differences:
+
- Modified files show line-by-line changes
- Binary files are properly detected and handled
- Renamed and moved files are tracked correctly
@@ -135,6 +144,7 @@ The checkpoint system uses intelligent file exclusion to track only relevant fil
#### Built-in Exclusions
The system has comprehensive built-in exclusion patterns that automatically ignore:
+
- Build artifacts and dependency directories (`node_modules/`, `dist/`, `build/`)
- Media files and binary assets (images, videos, audio)
- Cache and temporary files (`.cache/`, `.tmp/`, `.bak`)
@@ -147,6 +157,7 @@ These patterns are written to the shadow repository's `.git/info/exclude` file d
#### .gitignore Support
The checkpoint system respects `.gitignore` patterns in your workspace:
+
- Files excluded by `.gitignore` won't trigger checkpoint creation
- Excluded files won't appear in checkpoint diffs
- Standard Git ignore rules apply when staging file changes
@@ -154,6 +165,7 @@ The checkpoint system respects `.gitignore` patterns in your workspace:
#### .kilocodeignore Behavior
The `.kilocodeignore` file (which controls AI access to files) is separate from checkpoint tracking:
+
- Files excluded by `.kilocodeignore` but not by `.gitignore` will still be checkpointed
- Changes to AI-inaccessible files can still be restored through checkpoints
@@ -162,6 +174,7 @@ This separation is intentional, as `.kilocodeignore` limits which files the AI c
#### Nested Git Repositories
The checkpoint system includes special handling for nested Git repositories:
+
- Temporarily renames nested `.git` directories to `.git_disabled` during operations
- Restores them after operations complete
- Allows proper tracking of files in nested repositories
@@ -178,59 +191,67 @@ Checkpoints require Git to be installed on your system. The implementation uses
### macOS
1. **Install with Homebrew (recommended)**:
- ```
- brew install git
- ```
+
+ ```
+ brew install git
+ ```
2. **Alternative: Install with Xcode Command Line Tools**:
- ```
- xcode-select --install
- ```
+
+ ```
+ xcode-select --install
+ ```
3. **Verify installation**:
- - Open Terminal
- - Type `git --version`
- - You should see a version number like `git version 2.40.0`
+ - Open Terminal
+ - Type `git --version`
+ - You should see a version number like `git version 2.40.0`
### Windows
1. **Download Git for Windows**:
- - Visit https://git-scm.com/download/win
- - The download should start automatically
+
+ - Visit https://git-scm.com/download/win
+ - The download should start automatically
2. **Run the installer**:
- - Accept the license agreement
- - Choose installation location (default is recommended)
- - Select components (default options are typically sufficient)
- - Choose the default editor
- - Choose how to use Git from the command line (recommended: Git from the command line and also from 3rd-party software)
- - Configure line ending conversions (recommended: Checkout Windows-style, commit Unix-style)
- - Complete the installation
+
+ - Accept the license agreement
+ - Choose installation location (default is recommended)
+ - Select components (default options are typically sufficient)
+ - Choose the default editor
+ - Choose how to use Git from the command line (recommended: Git from the command line and also from 3rd-party software)
+ - Configure line ending conversions (recommended: Checkout Windows-style, commit Unix-style)
+ - Complete the installation
3. **Verify installation**:
- - Open Command Prompt or PowerShell
- - Type `git --version`
- - You should see a version number like `git version 2.40.0.windows.1`
+ - Open Command Prompt or PowerShell
+ - Type `git --version`
+ - You should see a version number like `git version 2.40.0.windows.1`
### Linux
**Debian/Ubuntu**:
+
```
sudo apt update
sudo apt install git
```
**Fedora**:
+
```
sudo dnf install git
```
**Arch Linux**:
+
```
sudo pacman -S git
```
**Verify installation**:
+
- Open Terminal
- Type `git --version`
- You should see a version number
diff --git a/packages/kilo-docs/docs/features/code-actions.md b/packages/kilo-docs/pages/code-with-ai/features/code-actions.md
similarity index 81%
rename from packages/kilo-docs/docs/features/code-actions.md
rename to packages/kilo-docs/pages/code-with-ai/features/code-actions.md
index 4e72655b00d..c36e900e7f6 100644
--- a/packages/kilo-docs/docs/features/code-actions.md
+++ b/packages/kilo-docs/pages/code-with-ai/features/code-actions.md
@@ -1,18 +1,12 @@
-import Image from '@site/src/components/Image';
+---
+title: "Code Actions"
+description: "Quick code actions and refactoring with Kilo Code"
+---
# Code Actions
Code Actions are a powerful feature of VS Code that provide quick fixes, refactorings, and other code-related suggestions directly within the editor. Kilo Code integrates with this system to offer AI-powered assistance for common coding tasks.
-:::tip Code Actions vs Autocomplete
-**Code Actions** and **Autocomplete** are two different ways Kilo Code can assist you:
-
-- **Code Actions** (this page) are **explicit and user-triggered**. You invoke them via the lightbulb icon, right-click context menu, or keyboard shortcut (`Ctrl+.` / `Cmd+.`). They operate on selected code and open a conversation in the chat panel.
-- **[Autocomplete](/basic-usage/autocomplete)** is **inline and automatic**. It suggests completions as you type, appearing as ghost text directly in the editor. You accept suggestions with `Tab`.
-
-Use Code Actions when you want to explain, fix, or improve existing code. Use Autocomplete when you want AI to help you write new code as you type.
-:::
-
## What are Code Actions?
Code Actions appear as a lightbulb icon (💡) in the editor gutter (the area to the left of the line numbers). They can also be accessed via the right-click context menu, or via keyboard shortcut. They are triggered when:
@@ -23,7 +17,7 @@ Code Actions appear as a lightbulb icon (💡) in the editor gutter (the area to
Clicking the lightbulb, right-clicking and selecting "Kilo Code", or using the keyboard shortcut (`Ctrl+.` or `Cmd+.` on macOS, by default), displays a menu of available actions.
-
+{% image src="/docs/img/code-actions/code-actions-1.png" alt="VS Code code actions in line with code" width="500" /%}
## Kilo Code's Code Actions
@@ -40,7 +34,7 @@ The **Add to Context** action is listed first in the Code Actions menu so you ca
This helps Kilo understand the exact context of your code within the project, allowing it to provide more relevant and accurate assistance.
-
+{% image src="/docs/img/code-actions/add-to-context.gif" alt="code actions - add to context gif" width="80%" /%}
**Example Chat Input:**
@@ -91,7 +85,7 @@ Each code action gives you two options:
You can customize the prompts used for each Code Action by modifying the "Support Prompts" in the **Prompts** tab. This allows you to fine-tune the instructions given to the AI model and tailor the responses to your specific needs.
-1. **Open the Prompts Tab:** Click the icon in the Kilo Code top menu bar.
+1. **Open the Prompts Tab:** Click the {% codicon name="notebook" /%} icon in the Kilo Code top menu bar.
2. **Find "Support Prompts":** You will see the support prompts, including "Enhance Prompt", "Explain Code", "Fix Code", and "Improve Code".
3. **Edit the Prompts:** Modify the text in the text area for the prompt you want to customize. You can use placeholders like `${filePath}` and `${selectedText}` to include information about the current file and selection.
4. **Click "Done":** Save your changes.
diff --git a/packages/kilo-docs/pages/code-with-ai/features/enhance-prompt.md b/packages/kilo-docs/pages/code-with-ai/features/enhance-prompt.md
new file mode 100644
index 00000000000..98c40ad37ed
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/features/enhance-prompt.md
@@ -0,0 +1,59 @@
+---
+title: "Enhance Prompt"
+description: "Automatically improve your prompts for better results"
+---
+
+# Enhance Prompt
+
+The "Enhance Prompt" feature in Kilo Code helps you improve the quality and effectiveness of your prompts before sending them to the AI model. By clicking the {% codicon name="sparkle" /%} icon in the chat input, you can automatically refine your initial request, making it clearer, more specific, and more likely to produce the desired results.
+
+## Why Use Enhance Prompt?
+
+- **Improved Clarity:** Kilo Code can rephrase your prompt to make it more understandable for the AI model.
+- **Added Context:** The enhancement process can add relevant context to your prompt, such as the current file path or selected code.
+- **Better Instructions:** Kilo Code can add instructions to guide the AI towards a more helpful response (e.g., requesting specific formatting or a particular level of detail).
+- **Reduced Ambiguity:** Enhance Prompt helps to eliminate ambiguity and ensure that Kilo Code understands your intent.
+- **Consistency**: Kilo will consistently format prompts the same way to the AI.
+
+### Before and after
+
+{% image src="/docs/img/enhance-prompt/before.png" alt="very primitive prompt" width="300" /%}
+{% image src="/docs/img/enhance-prompt/after.png" alt="enhanced prompt" width="300" /%}
+
+## How to Use Enhance Prompt
+
+1. **Type your initial prompt:** Enter your request in the Kilo Code chat input box as you normally would. This can be a simple question, a complex task description, or anything in between.
+2. **Click the {% codicon name="sparkle" /%} Icon:** Instead of pressing Enter, click the {% codicon name="sparkle" /%} icon located in the bottom right of the chat input box.
+3. **Review the Enhanced Prompt:** Kilo Code will replace your original prompt with an enhanced version. Review the enhanced prompt to make sure it accurately reflects your intent. You can further refine the enhanced prompt before sending.
+4. **Send the Enhanced Prompt:** Press Enter or click the Send icon ({% codicon name="send" /%}) to send the enhanced prompt to Kilo Code.
+
+## Customizing the Enhancement Process
+
+### Customizing Template
+
+The "Enhance Prompt" feature uses a customizable prompt template. You can modify this template to tailor the enhancement process to your specific needs.
+
+1. **Open the Prompts Tab:** Click the {% codicon name="notebook" /%} icon in the Kilo Code top menu bar.
+2. **Select "ENHANCE" Tab:** You should see listed out support prompts, including "ENHANCE". Click on this tab.
+3. **Edit the Prompt Template:** Modify the text in the "Prompt" field.
+
+The default prompt template includes the placeholder `${userInput}`, which will be replaced with your original prompt. You can modify this to fit the model's prompt format, and instruct it how to enhance your request.
+
+### Customizing Provider
+
+Speed up prompt enhancement by switching to a more lightweight LLM model provider (e.g. GPT 4.1 Nano). This delivers faster results at lower cost while maintaining quality.
+
+Create a dedicated profile for Enhance Prompt by following the [API configuration profiles guide](/features/api-configuration-profiles).
+
+{% image src="/docs/img/enhance-prompt/custom-enhance-profile.png" alt="Custom profile configuration for Enhance Prompt feature" width="600" /%}
+
+For a detailed walkthrough: https://youtu.be/R1nDnCK-xzw
+
+## Limitations and Best Practices
+
+- **Experimental Feature:** Prompt enhancement is an experimental feature. The quality of the enhanced prompt may vary depending on the complexity of your request and the capabilities of the underlying model.
+- **Review Carefully:** Always review the enhanced prompt before sending it. Kilo Code may make changes that don't align with your intentions.
+- **Iterative Process:** You can use the "Enhance Prompt" feature multiple times to iteratively refine your prompt.
+- **Not a Replacement for Clear Instructions:** While "Enhance Prompt" can help, it's still important to write clear and specific prompts from the start.
+
+By using the "Enhance Prompt" feature, you can improve the quality of your interactions with Kilo Code and get more accurate and helpful responses.
diff --git a/packages/kilo-docs/docs/features/fast-edits.md b/packages/kilo-docs/pages/code-with-ai/features/fast-edits.md
similarity index 67%
rename from packages/kilo-docs/docs/features/fast-edits.md
rename to packages/kilo-docs/pages/code-with-ai/features/fast-edits.md
index 4d073c8c1b4..b7d32406f45 100644
--- a/packages/kilo-docs/docs/features/fast-edits.md
+++ b/packages/kilo-docs/pages/code-with-ai/features/fast-edits.md
@@ -1,36 +1,40 @@
+---
+title: "Fast Edits"
+description: "Quick inline code edits with Kilo Code"
+---
+
# Fast Edits
-:::info Default Setting
+{% callout type="info" title="Default Setting" %}
Fast Edits (using the "Enable editing through diffs" setting) is enabled by default in Kilo Code. You typically don't need to change these settings unless you encounter specific issues or want to experiment with different diff strategies.
-:::
+{% /callout %}
Kilo Code offers an advanced setting to change how it edits files, using diffs (differences) instead of rewriting entire files. Enabling this feature provides significant benefits.
## Enable Editing Through Diffs
-Open Settings by clicking the gear icon → Advanced
-
-
+Open Settings by clicking the gear icon {% codicon name="gear" /%} → Advanced
When **Enable editing through diffs** is checked:
-
+{% image src="/docs/img/fast-edits/fast-edits-5.png" alt="Kilo Code settings showing Enable editing through diffs" width="500" /%}
+
1. **Faster File Editing**: Kilo modifies files more quickly by applying only the necessary changes.
2. **Prevents Truncated Writes**: The system automatically detects and rejects attempts by the AI to write incomplete file content, which can happen with large files or complex instructions. This helps prevent corrupted files.
-:::note Disabling Fast Edits
+{% callout type="note" title="Disabling Fast Edits" %}
If you uncheck **Enable editing through diffs**, Kilo will revert to writing the entire file content for every edit using the [`write_to_file`](/features/tools/write-to-file) tool, instead of applying targeted changes with [`apply_diff`](/features/tools/apply-diff). This full-write approach is generally slower for modifying existing files and leads to higher token usage.
-:::
+{% /callout %}
## Match Precision
This slider controls how closely the code sections identified by the AI must match the actual code in your file before a change is applied.
-
+{% image src="/docs/img/fast-edits/fast-edits-4.png" alt="Kilo Code settings showing Enable editing through diffs checkbox and Match precision slider" width="500" /%}
-* **100% (Default)**: Requires an exact match. This is the safest option, minimizing the risk of incorrect changes.
-* **Lower Values (80%-99%)**: Allows for "fuzzy" matching. Kilo can apply changes even if the code section has minor differences from what the AI expected. This can be useful if the file has been slightly modified, but **increases the risk** of applying changes in the wrong place.
+- **100% (Default)**: Requires an exact match. This is the safest option, minimizing the risk of incorrect changes.
+- **Lower Values (80%-99%)**: Allows for "fuzzy" matching. Kilo can apply changes even if the code section has minor differences from what the AI expected. This can be useful if the file has been slightly modified, but **increases the risk** of applying changes in the wrong place.
**Use values below 100% with extreme caution.** Lower precision might be necessary occasionally, but always review the proposed changes carefully.
-Internally, this setting adjusts a `fuzzyMatchThreshold` used with algorithms like Levenshtein distance to compare code similarity.
\ No newline at end of file
+Internally, this setting adjusts a `fuzzyMatchThreshold` used with algorithms like Levenshtein distance to compare code similarity.
diff --git a/packages/kilo-docs/docs/basic-usage/git-commit-generation.md b/packages/kilo-docs/pages/code-with-ai/features/git-commit-generation.md
similarity index 89%
rename from packages/kilo-docs/docs/basic-usage/git-commit-generation.md
rename to packages/kilo-docs/pages/code-with-ai/features/git-commit-generation.md
index ec5007149bf..c4a4307ac8a 100644
--- a/packages/kilo-docs/docs/basic-usage/git-commit-generation.md
+++ b/packages/kilo-docs/pages/code-with-ai/features/git-commit-generation.md
@@ -1,14 +1,20 @@
+---
+title: "Git Commit Generation"
+description: "Automatically generate meaningful git commit messages"
+---
+
# Generate Commit Messages
Generate descriptive commit messages automatically based on your staged git changes. Kilo Code analyzes your staged files and creates conventional commit messages that follow best practices.
-:::info
+{% callout type="info" %}
This feature only analyzes **staged changes**. Make sure to stage your files using `git add` or via `VS Code` interface before generating commit messages.
-:::
+{% /callout %}
## How It Works
The git commit message generator:
+
- Analyzes only your **staged changes** (not unstaged or untracked files)
- Uses AI to understand the context and purpose of your changes
- Creates descriptive commit messages that explain what was changed and why following the [Conventional Commits](https://www.conventionalcommits.org/) (by default, customizable)
@@ -21,10 +27,9 @@ The git commit message generator:
2. In the VS Code Source Control panel, look for the `Kilo Code` logo next to the commit message field)
3. Click the logo to generate a commit message
-
The generated message will appear in the commit message field, ready for you to review and modify if needed.
-
+{% image src="/docs/img/git-commit-generation/git-commit-1.png" alt="Generated commit message example" width="600" /%}
### Conventional Commit Format
@@ -37,6 +42,7 @@ By default, generated messages follow the Conventional Commits specification:
```
Common types include:
+
- `feat`: New features
- `fix`: Bug fixes
- `docs`: Documentation changes
@@ -51,13 +57,14 @@ Common types include:
You can customize how commit messages are generated by modifying the prompt template:
-1. Open Settings by clicking the gear icon → `Prompts`
+1. Open Settings by clicking the gear icon {% codicon name="gear" /%} → `Prompts`
2. Find the "Commit Message Generation" section
3. Edit the `Prompt` template to match your project's conventions
-
+{% image src="/docs/img/git-commit-generation/git-commit-2.png" alt="Commit message generation settings" width="600" /%}
The default template creates conventional commit messages, but you can modify it to:
+
- Use different commit message formats
- Include specific information relevant to your project
- Follow your team's commit message conventions
@@ -70,23 +77,26 @@ You can configure which API profile to use for commit message generation:
1. In the `Prompts` settings, scroll to "API Configuration"
2. Select a specific profile or use the currently selected one
-:::tip
+{% callout type="tip" %}
Consider creating a dedicated [API configuration profile](/features/api-configuration-profiles) with a faster, more cost-effective model specifically for commit message generation.
-:::
+{% /callout %}
## Best Practices
### Staging Strategy
+
- Stage related changes together for more coherent commit messages
- Avoid staging unrelated changes in a single commit
- Use `git add -p` for partial file staging when needed
### Message Review
+
- Always review generated messages before committing
- Edit messages to add context the AI might have missed
- Ensure the message accurately describes the changes
### Custom Templates
+
- Tailor the prompt template to your project's needs
- Include project-specific terminology or conventions
- Add instructions for handling specific types of changes
@@ -121,7 +131,9 @@ setup steps for new contributors
## Troubleshooting
### No Staged Changes
+
If the button doesn't appear or generation fails, ensure you have staged changes:
+
```bash
git add
# or stage all changes
@@ -129,13 +141,17 @@ git add .
```
### Poor Message Quality
+
If generated messages aren't helpful:
+
- Review your staging strategy - don't stage unrelated changes together
- Customize the prompt template with more specific instructions
- Try a different AI model through API configuration
### Integration Issues
+
The feature integrates with VS Code's built-in git functionality. If you encounter issues:
+
- Ensure your repository is properly initialized
- Check that VS Code can access your git repository
- Verify git is installed and accessible from VS Code
@@ -143,4 +159,4 @@ The feature integrates with VS Code's built-in git functionality. If you encount
## Related Features
- [API Configuration Profiles](/features/api-configuration-profiles) - Use different models for commit generation
-- [Settings Management](/features/settings-management) - Manage all your Kilo Code preferences
\ No newline at end of file
+- [Settings Management](/features/settings-management) - Manage all your Kilo Code preferences
diff --git a/packages/kilo-docs/docs/basic-usage/task-todo-list.md b/packages/kilo-docs/pages/code-with-ai/features/task-todo-list.md
similarity index 75%
rename from packages/kilo-docs/docs/basic-usage/task-todo-list.md
rename to packages/kilo-docs/pages/code-with-ai/features/task-todo-list.md
index 11ebf4efb02..f874ba07685 100644
--- a/packages/kilo-docs/docs/basic-usage/task-todo-list.md
+++ b/packages/kilo-docs/pages/code-with-ai/features/task-todo-list.md
@@ -1,19 +1,26 @@
+---
+title: "Task Todo List"
+description: "Track and manage tasks with AI-generated todo lists"
+---
+
# Task Todo List
**The big picture**: Never lose track of complex development tasks again. Task Todo Lists create interactive, persistent checklists that live right in your chat interface.
**Why it matters**: Complex workflows have lots of moving parts. Without structure, it's easy to miss steps, duplicate work, or forget what comes next.
-
+{% image src="/docs/img/task-todo-list/task-todo-list-1.png" alt="Task Todo List overview showing interactive checklist in Kilo Code" width="500" /%}
## How to trigger todo lists
**Automatic triggers**:
+
- Complex tasks with multiple steps
- Working in Architect mode
- Multi-phase workflows with dependencies
**Manual triggers**:
+
- Ask Kilo to "use the [update_todo_list tool](/features/tools/update-todo-list)"
- Say "create a todo list"
@@ -34,10 +41,11 @@
**1. Task Header Summary**
Quick progress overview with your next important item
-
+{% image src="/docs/img/task-todo-list/task-header.png" alt="Task header summary showing todo list progress" width="500" /%}
**2. Interactive Tool Block**
Full todo interface in chat where you can:
+
- See all items and their status
- Edit descriptions when Kilo asks for approval
- Stage changes using the "Edit" button
@@ -49,19 +57,19 @@ Background "REMINDERS" table that keeps Kilo informed about current progress
**Pending** → Empty checkbox (not started)
-
+{% image src="/docs/img/task-todo-list/not-started.png" alt="Pending todo item with empty checkbox" width="300" /%}
---
**In Progress** → Yellow dot (currently working)
-
+{% image src="/docs/img/task-todo-list/in-progress.png" alt="In progress todo item with yellow dot indicator" width="300" /%}
---
**Completed** → Green checkmark (finished)
-
+{% image src="/docs/img/task-todo-list/complete.png" alt="Completed todo item with green checkmark" width="300" /%}
---
@@ -78,10 +86,7 @@ Design choice. Kilo maintains authority over task management to ensure consisten
---
-:::tip
-
-## Pro tip: Auto-approval
-
+{% callout type="tip" title="Pro tip: Auto-approval" %}
**What it does**: Automatically approves todo list updates without confirmation prompts.
**When to use it**: Long workflows where constant interruptions slow you down.
@@ -89,5 +94,4 @@ Design choice. Kilo maintains authority over task management to ensure consisten
**How to enable it**: Check the [Update Todo List auto-approval settings](/features/auto-approving-actions#update-todo-list).
**The catch**: Less control, but faster execution.
-
-:::
\ No newline at end of file
+{% /callout %}
diff --git a/packages/kilo-docs/pages/code-with-ai/index.md b/packages/kilo-docs/pages/code-with-ai/index.md
new file mode 100644
index 00000000000..103feb5d5f7
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/index.md
@@ -0,0 +1,19 @@
+---
+title: "Code with AI"
+description: "Learn how to use Kilo Code across different platforms and interfaces"
+---
+
+# Code with AI
+
+{% callout type="info" title="Coming Soon" %}
+This page is under construction. Check back soon for comprehensive documentation.
+{% /callout %}
+
+
diff --git a/packages/kilo-docs/docs/cli.md b/packages/kilo-docs/pages/code-with-ai/platforms/cli.md
similarity index 99%
rename from packages/kilo-docs/docs/cli.md
rename to packages/kilo-docs/pages/code-with-ai/platforms/cli.md
index d540723c206..b4abf61b0d7 100644
--- a/packages/kilo-docs/docs/cli.md
+++ b/packages/kilo-docs/pages/code-with-ai/platforms/cli.md
@@ -1,4 +1,9 @@
-# Kilo Code CLI
+---
+title: "Kilo CLI"
+description: "Using Kilo Code from the command line"
+---
+
+# Kilo CLI
Orchestrate agents from your terminal. Plan, debug, and code fast with keyboard-first navigation on the command line.
diff --git a/packages/kilo-docs/docs/advanced-usage/cloud-agent.md b/packages/kilo-docs/pages/code-with-ai/platforms/cloud-agent.md
similarity index 91%
rename from packages/kilo-docs/docs/advanced-usage/cloud-agent.md
rename to packages/kilo-docs/pages/code-with-ai/platforms/cloud-agent.md
index 9c62af62982..9cca4501887 100644
--- a/packages/kilo-docs/docs/advanced-usage/cloud-agent.md
+++ b/packages/kilo-docs/pages/code-with-ai/platforms/cloud-agent.md
@@ -1,14 +1,12 @@
---
-title: Cloud Agents
-sidebar_label: Cloud Agents
+title: "Cloud Agent"
+description: "Using Kilo Code in the browser"
---
-# Cloud Agents
+# {% $markdoc.frontmatter.title %}
Cloud Agents let you run Kilo Code in the cloud from any device, without relying on your local machine. They provide a remote development environment that can read and modify your GitHub repositories, run commands, and auto-commit changes as work progresses.
----
-
## What Cloud Agents Enable
- Run Kilo Code remotely from a browser
@@ -16,26 +14,19 @@ Cloud Agents let you run Kilo Code in the cloud from any device, without relying
- Use env vars + startup commands to shape the workspace
- Work from anywhere while keeping your repo in sync
----
-
## Prerequisites
Before using Cloud Agents:
-- **GitHub Integration must be configured**
- Connect your account via the [Integrations tab](https://app.kilo.ai/integrations) so that Cloud Agents can access your repositories.
-
----
+**GitHub Integration must be configured**
+ Connect your account via the [Integrations tab](https://app.kilo.ai/integrations) so that Cloud Agents can access your repositories.
## Cost
- **Compute is free during limited beta**
- - Please provide any feedback in our Cloud Agents beta Discord channel:
- - [Kilo Discord](https://kilo.ai/discord)
+ - Please provide any feedback in our Cloud Agents beta Discord channel: [Kilo Discord](https://kilo.ai/discord)
- **Kilo Code credits are still used** when the agent performs work (model usage, operations, etc.).
----
-
## How to Use
1. **Connect your GitHub account** in the [Integrations](https://app.kilo.ai/integrations) tab of your personal or organization dashboard.
@@ -45,8 +36,6 @@ Before using Cloud Agents:
Your work is always pushed to GitHub, ensuring nothing is lost.
----
-
## How Cloud Agents Work
- Each user receives an **isolated Linux container** with common dev tools preinstalled (Node.js, git, gh CLI, etc.).
@@ -69,8 +58,6 @@ Your work is always pushed to GitHub, ensuring nothing is lost.
- Expect slightly longer setup after idle periods
- Inactive cloud agent sessions are deleted after **7 days** during the beta, expired sessions are still accessible via the CLI
----
-
## Agent Environment Profiles
Agent environment profiles are reusable bundles of environment settings for cloud-agent sessions. A profile can include:
@@ -81,8 +68,6 @@ Agent environment profiles are reusable bundles of environment settings for clou
Profiles are owned by either a user or an organization. Names are unique per owner, and each owner can have a single default profile. This lets teams share standard environment setups across multiple sessions and triggers.
----
-
## Environment Variables & Secrets & Startup Commands
You can customize each Cloud Agent session by also defining env vars and startup commands on the fly. These will override any Agent Environment Profile you've selected:
@@ -101,17 +86,13 @@ You can customize each Cloud Agent session by also defining env vars and startup
- Bootstrapping tooling
- Running setup scripts
----
-
## Skills
-Cloud Agents support project-level [skills](../cli#skills) stored in your repository. When your repo is cloned, any skills in `.kilocode/skills/` are automatically available.
+Cloud Agents support project-level [skills](./cli#skills) stored in your repository. When your repo is cloned, any skills in `.kilocode/skills/` are automatically available.
-:::note
+{% callout type="note" %}
Global skills (`~/.kilocode/skills/`) are not available in Cloud Agents since there is no persistent user home directory.
-:::
-
----
+{% /callout %}
## Perfect For
@@ -123,15 +104,13 @@ Cloud Agents are great for:
- **Automated refactors or tech debt cleanup** driven by Kilo Code
- **Offloading CI-like tasks**, experiments, or batch updates
----
-
## Webhook Triggers
Webhook triggers allow you to initiate cloud agent sessions via HTTP requests. This enables integration with external services and automation workflows.
-:::note
+{% callout type="note" %}
Webhook triggers are currently in beta and subject to change.
-:::
+{% /callout %}
### Accessing Webhooks
@@ -172,13 +151,9 @@ You can reference request data in a trigger’s prompt template using these plac
- `{{sourceIp}}` - client IP if provided (falls back to `unknown`)
- `{{timestamp}}` - capture timestamp (ISO string)
-### Security Considerations
-
-:::warning
+{% callout type="warning" title="Security Considerations" %}
Care should be taken when deciding to use webhooks as they are susceptible to prompt injection attacks. Especially in scenarios where webhook payloads may contain untrusted input. At this time we recommend using webhooks only for trusted sources.
-:::
-
----
+{% /callout %}
## General Cloud Agent Limitations and Guidance
diff --git a/packages/kilo-docs/pages/code-with-ai/platforms/jetbrains.md b/packages/kilo-docs/pages/code-with-ai/platforms/jetbrains.md
new file mode 100644
index 00000000000..e6abe34661f
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/platforms/jetbrains.md
@@ -0,0 +1,10 @@
+---
+title: "JetBrains Extension"
+description: "Using Kilo Code in JetBrains IDEs"
+---
+
+# JetBrains Extension
+
+## Installation
+
+{% partial file="install-jetbrains.md" /%}
diff --git a/packages/kilo-docs/pages/code-with-ai/platforms/mobile.md b/packages/kilo-docs/pages/code-with-ai/platforms/mobile.md
new file mode 100644
index 00000000000..76abc8decb2
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/platforms/mobile.md
@@ -0,0 +1,24 @@
+---
+title: "Mobile Apps"
+description: "Using Kilo Code on iOS and Android"
+---
+
+# Mobile Apps
+
+Kilo Code is coming to mobile! Soon you'll be able to use Kilo Code's powerful AI coding capabilities directly from your iOS or Android device.
+
+{% callout type="info" title="Coming Soon" %}
+Mobile apps for iOS and Android are currently in development. Sign up to be notified when they launch!
+{% /callout %}
+
+## iOS App
+
+The Kilo Code iOS app will bring AI-powered coding assistance to your iPhone and iPad.
+
+[Learn more about the iOS app →](https://kilo.ai/features/ios-app)
+
+## Android App
+
+The Kilo Code Android app will let you code with AI assistance on your Android phone or tablet.
+
+[Learn more about the Android app →](https://kilo.ai/features/android-app)
diff --git a/packages/kilo-docs/docs/slack.md b/packages/kilo-docs/pages/code-with-ai/platforms/slack.md
similarity index 98%
rename from packages/kilo-docs/docs/slack.md
rename to packages/kilo-docs/pages/code-with-ai/platforms/slack.md
index a21706e9f32..43b8bec5da2 100644
--- a/packages/kilo-docs/docs/slack.md
+++ b/packages/kilo-docs/pages/code-with-ai/platforms/slack.md
@@ -1,6 +1,6 @@
---
-title: Kilo for Slack
-sidebar_label: Kilo for Slack
+title: "Slack"
+description: "Using Kilo Code in Slack"
---
# Kilo for Slack
diff --git a/packages/kilo-docs/pages/code-with-ai/platforms/vscode.md b/packages/kilo-docs/pages/code-with-ai/platforms/vscode.md
new file mode 100644
index 00000000000..a06044fe304
--- /dev/null
+++ b/packages/kilo-docs/pages/code-with-ai/platforms/vscode.md
@@ -0,0 +1,10 @@
+---
+title: "VS Code Extension"
+description: "Using Kilo Code in Visual Studio Code"
+---
+
+# VS Code Extension
+
+## Installation
+
+{% partial file="install-vscode.md" /%}
diff --git a/packages/kilo-docs/docs/plans/adoption-dashboard/for-team-leads.md b/packages/kilo-docs/pages/collaborate/adoption-dashboard/for-team-leads.md
similarity index 98%
rename from packages/kilo-docs/docs/plans/adoption-dashboard/for-team-leads.md
rename to packages/kilo-docs/pages/collaborate/adoption-dashboard/for-team-leads.md
index 451949cabd9..28dff86753a 100644
--- a/packages/kilo-docs/docs/plans/adoption-dashboard/for-team-leads.md
+++ b/packages/kilo-docs/pages/collaborate/adoption-dashboard/for-team-leads.md
@@ -1,8 +1,9 @@
---
-sidebar_label: For Team Leads
+title: "For Team Leads"
+description: "AI adoption insights for team leaders"
---
-# AI Adoption Dashboard for Team Leads
+# For Team Leads
This guide covers how engineering managers and team leads can use the AI Adoption Dashboard to drive AI integration, identify gaps, and communicate progress to stakeholders.
diff --git a/packages/kilo-docs/docs/plans/adoption-dashboard/improving-your-score.md b/packages/kilo-docs/pages/collaborate/adoption-dashboard/improving-your-score.md
similarity index 97%
rename from packages/kilo-docs/docs/plans/adoption-dashboard/improving-your-score.md
rename to packages/kilo-docs/pages/collaborate/adoption-dashboard/improving-your-score.md
index 23aa1f28d9f..d8e9909a5ab 100644
--- a/packages/kilo-docs/docs/plans/adoption-dashboard/improving-your-score.md
+++ b/packages/kilo-docs/pages/collaborate/adoption-dashboard/improving-your-score.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Improving Your Score
+title: "Improving Your Score"
+description: "Tips and strategies to improve your AI adoption score"
---
-# Improving Your AI Adoption Score
+# Improving Your Score
This guide provides actionable strategies to improve each dimension of your AI Adoption Score. Click on any dimension in the dashboard to see personalized suggestions based on your team's usage patterns.
@@ -64,9 +65,9 @@ Depth increases when AI touches multiple stages of the same task. Each handoff r
2. **Build** — Use Code mode to implement it
3. **Review** — Use Code Reviews to critique it
-:::tip
+{% callout type="tip" %}
Linking coding → review → deploy actions significantly boosts your Depth score.
-:::
+{% /callout %}
### Give AI Better Context
diff --git a/packages/kilo-docs/docs/plans/adoption-dashboard/overview.md b/packages/kilo-docs/pages/collaborate/adoption-dashboard/overview.md
similarity index 97%
rename from packages/kilo-docs/docs/plans/adoption-dashboard/overview.md
rename to packages/kilo-docs/pages/collaborate/adoption-dashboard/overview.md
index 7d57061c8e0..094df214f21 100644
--- a/packages/kilo-docs/docs/plans/adoption-dashboard/overview.md
+++ b/packages/kilo-docs/pages/collaborate/adoption-dashboard/overview.md
@@ -1,8 +1,9 @@
---
-sidebar_label: AI Adoption Dashboard
+title: "Overview"
+description: "AI Adoption Dashboard overview"
---
-# AI Adoption Dashboard
+# AI Adoption Dashboard Overview
The AI Adoption Dashboard helps engineering leaders understand how deeply and consistently their teams are using AI across development workflows. It provides a single **AI Adoption Score** (0–100) that quantifies organizational AI maturity, plus detailed breakdowns by dimension.
diff --git a/packages/kilo-docs/docs/plans/adoption-dashboard/understanding-your-score.md b/packages/kilo-docs/pages/collaborate/adoption-dashboard/understanding-your-score.md
similarity index 98%
rename from packages/kilo-docs/docs/plans/adoption-dashboard/understanding-your-score.md
rename to packages/kilo-docs/pages/collaborate/adoption-dashboard/understanding-your-score.md
index ccc0a87ee91..0522bde23c9 100644
--- a/packages/kilo-docs/docs/plans/adoption-dashboard/understanding-your-score.md
+++ b/packages/kilo-docs/pages/collaborate/adoption-dashboard/understanding-your-score.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Understanding Your Score
+title: "Understanding Your Score"
+description: "Learn how your AI adoption score is calculated"
---
-# Understanding Your AI Adoption Score
+# Understanding Your Score
The AI Adoption Score is a 0–100 metric representing how deeply and consistently your team uses AI across real development workflows. This page explains what each dimension measures and how to interpret your score.
diff --git a/packages/kilo-docs/docs/plans/enterprise/audit-logs.md b/packages/kilo-docs/pages/collaborate/enterprise/audit-logs.md
similarity index 97%
rename from packages/kilo-docs/docs/plans/enterprise/audit-logs.md
rename to packages/kilo-docs/pages/collaborate/enterprise/audit-logs.md
index de1a729c032..a9c7932aeaa 100644
--- a/packages/kilo-docs/docs/plans/enterprise/audit-logs.md
+++ b/packages/kilo-docs/pages/collaborate/enterprise/audit-logs.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Audit Logs (Enterprise Only)
+title: "Audit Logs"
+description: "Track and audit team activity"
---
-# Audit Logs (Enterprise Only)
+# Audit Logs
Audit Logs record key actions that occur in the management of your Kilo seats, including user logins, adding or removing models, providers, and modes, and role changes.
diff --git a/packages/kilo-docs/docs/plans/migration.md b/packages/kilo-docs/pages/collaborate/enterprise/migration.md
similarity index 85%
rename from packages/kilo-docs/docs/plans/migration.md
rename to packages/kilo-docs/pages/collaborate/enterprise/migration.md
index b53f6e91fc2..50479642cbb 100644
--- a/packages/kilo-docs/docs/plans/migration.md
+++ b/packages/kilo-docs/pages/collaborate/enterprise/migration.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Migrating from Other Tools
+title: "Migration"
+description: "Migrate your team to Kilo Code Enterprise"
---
-# Migrating from Other Tools
+# Migration
Switch to **Kilo Teams** or **Kilo Enterprise** from other AI coding tools and experience transparent pricing, no vendor lock-in, and superior team management capabilities.
@@ -57,7 +58,7 @@ Switch to **Kilo Teams** or **Kilo Enterprise** from other AI coding tools and e
**Step 2: Kilo Setup**
1. **Create organization** at [app.kilocode.com](https://app.kilocode.com)
-2. **Subscribe to Teams ($29/month)** or **Enterprise ($299/month)**
+2. **Subscribe to Teams ($15/month)** or **Enterprise ($150/month)**
3. **Configure team settings** and usage policies
4. **Purchase initial AI credits** based on usage estimates
@@ -186,6 +187,21 @@ Switch to **Kilo Teams** or **Kilo Enterprise** from other AI coding tools and e
- [ ] Cancel previous AI coding tool subscriptions
- [ ] Document new workflows and best practices
+## Technical Migration: Rules and Configurations
+
+Kilo Code uses a compatible rules system that supports Cursor and Windsurf patterns. Migrating your custom rules and configurations is straightforward and typically takes 5-10 minutes per project.
+
+**Quick Overview:**
+
+- **Project rules**: `.cursor/rules/*.mdc` → `.kilocode/rules/*.md` (remove YAML frontmatter, keep Markdown content)
+- **Legacy rules**: `.cursorrules` → `.kilocode/rules/legacy-rules.md`
+- **AGENTS.md**: Works identically in Kilo Code (no conversion needed)
+- **Global rules**: Recreate in `~/.kilocode/rules/*.md` directory
+
+Kilo Code also supports mode-specific rules (`.kilocode/rules-{mode}/`), which Cursor and Windsurf don't have. This allows different rules for different workflows (e.g., Code mode vs Debug mode).
+
+**👉 For detailed step-by-step instructions, format conversion examples, troubleshooting, and advanced migration scenarios, see our [Technical Migration Guide](/advanced-usage/migrating-from-cursor-windsurf).**
+
## Cost Comparison Analysis
### Hidden Costs in Other Tools
@@ -290,6 +306,12 @@ Switch to **Kilo Teams** or **Kilo Enterprise** from other AI coding tools and e
- **Solution:** Document and recreate important settings
- **Prevention:** Settings audit before migration
+**Rules and Configuration Migration**
+
+- **Issue:** Custom rules and configurations not migrating automatically
+- **Solution:** Follow the [technical migration guide](/advanced-usage/migrating-from-cursor-windsurf) to manually migrate rules
+- **Prevention:** Audit rules before migration, use version control for rules
+
### Organizational Challenges
**Change Resistance**
@@ -322,16 +344,19 @@ Switch to **Kilo Teams** or **Kilo Enterprise** from other AI coding tools and e
### Self-Service Resources
- **Migration guides** for specific tools
+- **[Technical migration guide](/advanced-usage/migrating-from-cursor-windsurf)** for rules and configurations (Cursor/Windsurf)
- **Video tutorials** for common migration scenarios
- **Community support** through Discord and forums
- **Documentation** and best practices
### Getting Migration Help
-- **Email:** migrations@kilocode.ai
+- **Email:** migrations@kilo.ai
- **Discord:** Join our migration support channel
- **Consultation:** Schedule free migration planning call
-- **Documentation:** Comprehensive migration guides
+- **Documentation:**
+ - [Business migration guide](/plans/migration) (this page)
+ - [Technical migration guide](/advanced-usage/migrating-from-cursor-windsurf) (rules and configurations)
## Success Stories
@@ -361,5 +386,6 @@ Switch to **Kilo Teams** or **Kilo Enterprise** from other AI coding tools and e
- [Get started with your team](/plans/getting-started)
- [Explore team management features](/plans/team-management)
- [Understand billing and pricing](/plans/billing)
+- [Migrate your rules and configurations](/advanced-usage/migrating-from-cursor-windsurf) (technical guide)
-Ready to make the switch? Contact our migration team at migrations@kilocode.ai to plan your transition to transparent AI coding.
+Ready to make the switch? Contact our migration team at migrations@kilo.ai to plan your transition to transparent AI coding.
diff --git a/packages/kilo-docs/docs/plans/enterprise/model-access.md b/packages/kilo-docs/pages/collaborate/enterprise/model-access-controls.md
similarity index 88%
rename from packages/kilo-docs/docs/plans/enterprise/model-access.md
rename to packages/kilo-docs/pages/collaborate/enterprise/model-access-controls.md
index ed1f8107487..f5e87b46235 100644
--- a/packages/kilo-docs/docs/plans/enterprise/model-access.md
+++ b/packages/kilo-docs/pages/collaborate/enterprise/model-access-controls.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Model Access (Enterprise Only)
+title: "Model Access Controls"
+description: "Control which AI models your team can access"
---
-# Model Access (Enterprise Only)
+# Model Access Controls
**Model Access** lets organization admins control which AI models and providers are available to team members.
Admins can **enable or disable** specific models, filter by attributes, and enforce organizational data policies.
@@ -13,7 +14,7 @@ Admins can **enable or disable** specific models, filter by attributes, and enfo
2. Toggle the checkbox beside any model or provider to enable or disable access.
3. Click "Save Changes" to apply
-
+
## Filtering Models
diff --git a/packages/kilo-docs/docs/plans/enterprise/SSO.md b/packages/kilo-docs/pages/collaborate/enterprise/sso.md
similarity index 89%
rename from packages/kilo-docs/docs/plans/enterprise/SSO.md
rename to packages/kilo-docs/pages/collaborate/enterprise/sso.md
index 0445ad402d3..ac94ea74137 100644
--- a/packages/kilo-docs/docs/plans/enterprise/SSO.md
+++ b/packages/kilo-docs/pages/collaborate/enterprise/sso.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Single Sign-On (SSO) (Enterprise Only)
+title: "SSO"
+description: "Configure Single Sign-On for your organization"
---
-# Single Sign-On (SSO) (Enterprise Only)
+# SSO
Kilo Enterprise lets your organization securely manage access using **Single Sign-On (SSO)**. With SSO enabled, team members can sign in to Kilo using your company’s existing identity provider, such as Okta, Github, Google Workspace, etc.
@@ -22,7 +23,7 @@ You’ll need:
## Step-by-Step Setup
-### 1. Open [Organization](https://app.kilocode.ai/organizations) Dashboard
+### 1. Open [Organization](https://app.kilo.ai/organizations) Dashboard
Find the Single Sign-On (SSO) Configuration panel, and click "Set up SSO":
diff --git a/packages/kilo-docs/pages/collaborate/index.md b/packages/kilo-docs/pages/collaborate/index.md
new file mode 100644
index 00000000000..91e8693301f
--- /dev/null
+++ b/packages/kilo-docs/pages/collaborate/index.md
@@ -0,0 +1,18 @@
+---
+title: "Collaborate"
+description: "Work together with Kilo Code team features"
+---
+
+# Collaborate
+
+{% callout type="info" title="Coming Soon" %}
+This page is under construction. Check back soon for comprehensive documentation.
+{% /callout %}
+
+
diff --git a/packages/kilo-docs/docs/advanced-usage/sessions.md b/packages/kilo-docs/pages/collaborate/sessions-sharing.md
similarity index 96%
rename from packages/kilo-docs/docs/advanced-usage/sessions.md
rename to packages/kilo-docs/pages/collaborate/sessions-sharing.md
index 768e19b4c82..c6a266c9ecd 100644
--- a/packages/kilo-docs/docs/advanced-usage/sessions.md
+++ b/packages/kilo-docs/pages/collaborate/sessions-sharing.md
@@ -1,4 +1,9 @@
-# Sessions
+---
+title: "Sessions & Sharing"
+description: "Share and collaborate on Kilo Code sessions"
+---
+
+# Sessions & Sharing
A session is your platform-agnostic interaction with Kilo. It remembers your repository, your task, and the conversation so you can pause and resume work without losing context. Sessions are private to your account by default; you can optionally share a link with others who can read or fork your session.
diff --git a/packages/kilo-docs/docs/plans/about.md b/packages/kilo-docs/pages/collaborate/teams/about-plans.md
similarity index 91%
rename from packages/kilo-docs/docs/plans/about.md
rename to packages/kilo-docs/pages/collaborate/teams/about-plans.md
index 704b3612e47..562aad0db4e 100644
--- a/packages/kilo-docs/docs/plans/about.md
+++ b/packages/kilo-docs/pages/collaborate/teams/about-plans.md
@@ -1,8 +1,9 @@
---
-sidebar_label: About Kilo Paid Plans
+title: "About Plans"
+description: "Overview of Kilo Code plans and pricing"
---
-# About Kilo Paid Plans
+# About Plans
Kilo Code accelerates development with AI-driven code generation and task automation. You can use Kilo Code as an open source extension in VS Code or JetBrains IDEs.
@@ -10,13 +11,13 @@ Organizations adopting AI accelerated coding at scale often want a better way to
Kilo Code's paid plans, Teams and Enterprise, are the solution for these organizations.
-:::note
+{% callout type="note" %}
Purchases of Kilo Code's paid plans are separate from model provider credits.
No credits are included with a Teams or Enterprise plan purchase.
-:::
+{% /callout %}
## What You Get from Kilo Teams
diff --git a/packages/kilo-docs/docs/plans/analytics.md b/packages/kilo-docs/pages/collaborate/teams/analytics.md
similarity index 96%
rename from packages/kilo-docs/docs/plans/analytics.md
rename to packages/kilo-docs/pages/collaborate/teams/analytics.md
index 47427c46b14..a4667200878 100644
--- a/packages/kilo-docs/docs/plans/analytics.md
+++ b/packages/kilo-docs/pages/collaborate/teams/analytics.md
@@ -1,8 +1,9 @@
---
-sidebar_label: Usage Analytics & Reporting
+title: "Analytics"
+description: "Track team usage and performance analytics"
---
-# Usage Analytics & Reporting
+# Analytics
Using Kilo seats with an Enterprise or Teams subscription provides detailed usage analytics to help you monitor and understand your organization’s AI usage patterns, costs, and activity through the Kilo Gateway provider.
@@ -10,9 +11,9 @@ Using Kilo seats with an Enterprise or Teams subscription provides detailed usag
Access your organization’s usage analytics through the **Usage Details** section in your dashboard. The analytics show comprehensive data about your team's usage of the Kilo Gateway provider.
-:::info Usage Scope
+{% callout type="info" title="Usage Scope" %}
This usage overview includes all of your usage of the Kilo Gateway provider. It does **NOT** include any usage made via the Kilo Code extension to other, non-Kilo Code providers. You can choose which API provider to use from the extension's main settings page.
-:::
+{% /callout %}
## Summary Metrics
diff --git a/packages/kilo-docs/docs/plans/billing.md b/packages/kilo-docs/pages/collaborate/teams/billing.md
similarity index 89%
rename from packages/kilo-docs/docs/plans/billing.md
rename to packages/kilo-docs/pages/collaborate/teams/billing.md
index bc2afdefcf4..28471b81074 100644
--- a/packages/kilo-docs/docs/plans/billing.md
+++ b/packages/kilo-docs/pages/collaborate/teams/billing.md
@@ -1,22 +1,23 @@
---
-sidebar_label: Billing & Kilo Credits
+title: "Billing"
+description: "Manage billing and subscriptions for your team"
---
-# Billing & Kilo Credits
+# Billing
Kilo seats uses a transparent, two-part billing system: a monthly subscription per seat, plus pay-as-you-go Kilo credits with zero markup.
-:::note
+{% callout type="note" %}
Kilo Code seats purchases of Teams or Enterprise are separate from Kilo credits.
No Kilo credits are included with a Teams or Enterprise purchase.
-:::
+{% /callout %}
## Organization Credits
-Organization Owners can purchase Kilo credits on the [Organization dashboard](https://app.kilocode.ai).
+Organization Owners can purchase Kilo credits on the [Organization dashboard](https://app.kilo.ai).
Organization credits are purchased on behalf of all users in the organization. Every member of the organization can use the credits in the organization's balance with the Kilo Code model provider.
@@ -34,7 +35,7 @@ Using organization credits works exactly like spending [individual credits](/bas
Organization members can use organization credits by choosing the correct organization profile in the dropdown in the Profiles tab of the Kilo Code extension.
-
+{% image src="/docs/img/teams/org_credits.png" alt="Dropdown showing different organizations available" width="600" caption="Dropdown showing different organizations available" /%}
## Managing Seats Subscriptions
diff --git a/packages/kilo-docs/docs/plans/custom-modes.md b/packages/kilo-docs/pages/collaborate/teams/custom-modes-org.md
similarity index 86%
rename from packages/kilo-docs/docs/plans/custom-modes.md
rename to packages/kilo-docs/pages/collaborate/teams/custom-modes-org.md
index 4b3bdb04b31..a718bee595a 100644
--- a/packages/kilo-docs/docs/plans/custom-modes.md
+++ b/packages/kilo-docs/pages/collaborate/teams/custom-modes-org.md
@@ -1,14 +1,15 @@
---
-sidebar_label: Custom Modes
+title: "Custom Modes (Org)"
+description: "Create organization-wide custom modes"
---
-# Custom Modes
+# Custom Modes (Org)
Custom Modes let you create tailored versions of Kilo’s built-in [modes](/basic-usage/using-modes) for your organization. You can also adjust the settings for Kilo Code's original default modes. You can define a mode’s purpose, behavior, and tool access — helping Kilo adapt to your team’s unique workflows.
-For example, Admins and Owners can extend these by creating **Custom Modes** with specialized roles or personalities (e.g. “Documentation Writer” or “Security Reviewer”).
+For example, Admins and Owners can extend these by creating **Custom Modes** with specialized roles or personalities (e.g. "Documentation Writer" or "Security Reviewer").
-
+{% image src="/docs/img/teams/custom_modes.png" alt="Create a new custom mode tab." caption="Create a new custom mode tab." /%}
## Creating a Custom Mode
diff --git a/packages/kilo-docs/docs/plans/dashboard.md b/packages/kilo-docs/pages/collaborate/teams/dashboard.md
similarity index 94%
rename from packages/kilo-docs/docs/plans/dashboard.md
rename to packages/kilo-docs/pages/collaborate/teams/dashboard.md
index b391c71777c..d578557faf0 100644
--- a/packages/kilo-docs/docs/plans/dashboard.md
+++ b/packages/kilo-docs/pages/collaborate/teams/dashboard.md
@@ -1,10 +1,11 @@
---
-sidebar_label: Dashboard Overview
+title: "Dashboard"
+description: "Manage your team from the Kilo Code dashboard"
---
-# Seats Dashboard
+# Dashboard
-The Kilo seats dashboard is the first screen that comes up when you visit [the Kilo Code web app](https://app.kilocode.ai). It provides complete visibility into your team's AI usage, costs, and management.
+The Kilo seats dashboard is the first screen that comes up when you visit [the Kilo Code web app](https://app.kilo.ai). It provides complete visibility into your team's AI usage, costs, and management.
@@ -113,7 +114,7 @@ Manage your Kilo Teams plan and seat allocation.
### Current Plan Details
- **Plan type** (Kilo Teams)
-- **Monthly cost** per seat ($29/user/month)
+- **Monthly cost** per seat ($15/user/month)
- **Billing cycle** dates and next charge
- **Plan benefits** and included features
diff --git a/packages/kilo-docs/docs/plans/getting-started.md b/packages/kilo-docs/pages/collaborate/teams/getting-started.md
similarity index 95%
rename from packages/kilo-docs/docs/plans/getting-started.md
rename to packages/kilo-docs/pages/collaborate/teams/getting-started.md
index f45b9bdbe74..41baf44ab9d 100644
--- a/packages/kilo-docs/docs/plans/getting-started.md
+++ b/packages/kilo-docs/pages/collaborate/teams/getting-started.md
@@ -1,5 +1,6 @@
---
-sidebar_label: Getting Started
+title: "Getting Started with Teams"
+description: "Set up your Kilo Code team account"
---
# Get Started with Kilo Seats in 10 Minutes
@@ -17,7 +18,7 @@ seats for Kilo in the Teams or Enterprise subscription brings transparent AI cod
### Step 1: Create Your Organization
-1. Visit [app.kilocode.ai](https://app.kilocode.ai)
+1. Visit [app.kilo.ai](https://app.kilo.ai)
2. Sign up using your company Google Workspaces or GitHub account
- Note: We recommend starting with your GitHub account rather than a personal Google account, but we can change it later.
3. Click **Organizations** in the left sidebar and then **Create New Organization**
diff --git a/packages/kilo-docs/docs/plans/team-management.md b/packages/kilo-docs/pages/collaborate/teams/team-management.md
similarity index 89%
rename from packages/kilo-docs/docs/plans/team-management.md
rename to packages/kilo-docs/pages/collaborate/teams/team-management.md
index 0e04115a780..02140941795 100644
--- a/packages/kilo-docs/docs/plans/team-management.md
+++ b/packages/kilo-docs/pages/collaborate/teams/team-management.md
@@ -1,5 +1,6 @@
---
-sidebar_label: Managing Your Team
+title: "Team Management"
+description: "Add and manage team members in Kilo Code"
---
# Managing Your Team
@@ -20,7 +21,7 @@ Members can use the Kilo Code extension and see data on the team's usage in the
4. **Select initial role** (Member or Owner)
5. Click **Send Invitation**
-
+{% image src="/docs/img/team-management/invite-member.png" alt="invite-member" width="619" caption="invite-member" /%}
## Removing Team Members
diff --git a/packages/kilo-docs/pages/contributing/architecture/annual-billing.md b/packages/kilo-docs/pages/contributing/architecture/annual-billing.md
new file mode 100644
index 00000000000..f64b9f1e2ba
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/annual-billing.md
@@ -0,0 +1,67 @@
+---
+title: "Annual Billing"
+description: "Annual billing architecture documentation"
+---
+
+# Annual Billing
+
+# Overview
+
+we want to switch to doing annual billing for teams and enterprise with a 1 month free and a "self-serve" sign up.
+
+# Requirements
+
+- no more 20$ of one time free credits on team signup per seat. **this is done**
+- enable 30 day trial for both teams and enterprise
+ - no credit card required
+ - self-serve enterprise comes with no self-serve SSO. There's a button that puts them in touch with sales. (it costs us 125 a month for SSO per org)
+- monthly plan is not accessible via the UI but is still in effect for existing customers and can be flagged back on easily.
+- trial users can only upgrade to annual plans, 348/teams seat or $3588/ent seat, but we always talk about pricing in monthly terms.
+- once trial expires, the organization will be denied access to the openrouter proxy endpoint, effectively disabling their kilocode usage w/ our API provider, and any existing outstanding credits they purchased will be locked up until they subscribe.
+
+### Non-requirements
+
+- fully self-service SSO enrollment for enterprise. There's still a bit of a touch required. Its possible to implement, but out of scope for this spec.
+- pro-rated cancellation or refunds handled in a self-serve way.
+- elastic seat counts with custom billing agreements for enterprise organizations.
+- a full redesign of the team/enterprise sign up and pre-creation / marketing flow.
+
+# System Design
+
+System design is pretty straight-forward as we can _mostly_ leverage existing infrastructure and code.
+
+- System remains the same other than adding a `billing_cycle` column to `organization_seats_purcahses` where we can track if it is `monthly` or `yearly`. The migration will set the default to `monthly` so we backfill all existing customers.
+- We will use `created_at` on the organization as the start date for the free trial. If the organization does not have a valid entry in `organization_seats_purchases` after 30 days, we will disable their access to the openrouter proxy endpoint.
+
+## Engineering Scope
+
+#### Migrations:
+
+- add `billing_cycle TEXT NOT NULL DEFAULT 'monthly'` to `organization_seats_purchases`.
+- add `plan TEXT NOT NULL DEFAULT 'teams'` to `organizations` table which can be `teams` or `enterprise`. (While not strictly required we shouldn't rely on `seats_required` to decide if an org is a team or enterprise account and now is a good opportunity to fix this. Manually go through and set the very small number of design partner orgs and our org into `enterprise.` for now.)
+
+#### Tasks:
+
+- create yearly billing subscription product for teams AND for enterprise in stripe.
+- change the organization create flow to create organization on submit (it does this now) but instead of redirecting to stripe to pay, redirect to organization page. Do not require an ahead-of-time seat count on either teams or enterprise.
+- update logic for checking & displaying seats to take into consideration the free trial period, and allow invites for an unlimited number of seats while the trial is active.
+- update subscription management page to allow for creating a new subscription from the page.
+- update logic to actually block organizations which are not active on seats (they are either over their paid seat count or do not have an active seats purchases subscription). [a ticket for this already exists](https://github.com/orgs/Kilo-Org/projects/11?pane=issue&itemId=126001076&issue=Kilo-Org%7Ckilocode-backend%7C2167) note: this can wait until the end as by definition no one can have their trial expire for at least 30 days so we have a 30 day buffer to implement this.
+
+### Marketing Scope
+
+As a fast follow or in parallel the seats pod will pair up with someone from marketing or devrel to work on our engagement with this feature.
+
+- update / redesign team/enterprise "create" page in app with better CTAs
+- work with eng to get the 'buy credits' action more importantly called out when a new org is created. General org onboarding flow (both teams and enterprise) needs help.
+- significantly improve call-to-action flows around upgrading to paid subscriptions with potentially progressively louder noise as we get closer to the end of trial notice.
+- send welcome email when org is created explaining the trail period.
+- probably cut new videos to show off the enterprise features
+
+# Compliance Considerations
+
+No compliance concerns.
+
+# Features for the future
+
+Talks about what we might want to build or improve upon in the future but is out-of-scope of this spec.
diff --git a/packages/kilo-docs/pages/contributing/architecture/enterprise-mcp-controls.md b/packages/kilo-docs/pages/contributing/architecture/enterprise-mcp-controls.md
new file mode 100644
index 00000000000..e272cc7c536
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/enterprise-mcp-controls.md
@@ -0,0 +1,111 @@
+---
+title: "Enterprise MCP Controls"
+description: "Enterprise MCP controls architecture"
+---
+
+# Enterprise MCP Controls
+
+### Overview
+
+Enterprise customers need to maintain control over the tools their developers use to ensure security, compliance, and cost management. Developers using Kilo Code can configure and use any MCP (Model Context Protocol) server, including public marketplace offerings or arbitrary custom servers. This lack of administrative oversight introduces risk for our enterprise customers, as it allows for the potential use of unvetted, insecure, or costly tool calls.
+
+This document specifies a new feature, **Enterprise MCP Controls**, which allows organization administrators to define an **allowlist** of approved MCP servers. Kilo Code (CLI/Extension) can enforce this allowlist, ensuring that developers within the organization can only use sanctioned MCPs.
+
+### MVP Requirements
+
+#### 1. Dashboard App
+
+- **View and Manage Allowlist:** Organization administrators must have a dedicated section in the dashboard to manage their MCP allowlist.
+- **Default Configuration:** By default, new and existing organizations will have **all** marketplace MCPs enabled to ensure no disruption of service.
+- **Marketplace MCPs:** The dashboard must display a comprehensive list of all MCPs available in the official Kilo Code Marketplace.
+- **Selection UI:** Administrators must be able to easily select and deselect MCPs to add or remove them from the organization's allowlist.
+- **Audit Logs:** Any changes made to MCP allow list must show up in the Audit Logs
+
+#### 2. Extension
+
+- **Allowlist Enforcement:** The VS Code extension and future CLI must strictly enforce the organization's MCP allowlist.
+- **Filtered Marketplace:** The in-extension "MCP Marketplace" view must **only** display MCPs that are on the organization's allowlist.
+- **Ignore Disallowed MCPs:** If an MCP server configured in `mcp.json` is **not** on the allowlist, the extension must ignore it. It should not be activated, displayed as an option, or used for any operations.
+- **User Feedback:** The extension should provide clear, non-blocking visual feedback to the developer indicating which locally configured MCPs are disallowed by their organization's policy (e.g., graying out the entry, showing a warning icon).
+
+## System Design
+
+When the Enterprise MCP Controls feature is enabled, extension users can no longer use locally configured MCP definitions. Instead of pulling MCP configurations from the end-user's filesystem, the configuration will be pulled from the Kilo Code API, scoped to the organization.
+
+#### How Kilo/MCP works today
+
+
+
+#### How Kilo/MCP works with enterprise controls
+
+
+
+### Schema
+
+We will piggy-back off of the existing organization.settings jsonb field for administrator to configure MCP Controls:
+
+```ts
+const OrganizationSettings_MCPControls = z.object({
+ mcp_controls_enabled: z.boolean().optional(),
+ mcp_controls_allowed_marketplace_servers: z.string().optional(),
+})
+```
+
+For end-users, since the mcp.json payload is no longer configurable locally, they will need to configure it via the Kilo Code dashboard. Since these configurations often contain API keys, we will encrypt the entire payload prior to insertion:
+
+```sql
+create table if not exists organization_member_mcp_configs (
+ id uuid not null default uuid_generate_v4(),
+ organization_id uuid not null references organizations(id),
+ kilo_user_id text not null references kilocode_users(id),
+ config bytea not null,
+ created_at timestamptz not null default now()
+)
+```
+
+The config payload definition should look something like:
+
+```ts
+const OrganizationMemberMCPConfig = z
+ .object({ mcp_id: z.string(), parameters: z.record(z.string(), z.string()) })
+ .array()
+```
+
+### Dashboard App
+
+#### Owner experience
+
+There will be a new page in the left-hand navigation for Enterprise users only called "MCP Control" `/organizations/:id/mcp-control`. For owners, this page will allow control of which MCP marketplace items are allowed. It will `GET /api/marketplace/mcps` to retrieve the canonical list of MCP servers in our marketplace. It will also call the relevant getOrganization trpc function to get the org settings. By default, this feature is turned off. Also by default, all MCP servers will be selected.
+
+#### Organization user experience
+
+
+
+When org users want to configure and use an MCP server and if organizations.settings.mcp_controls_enabled is true, they will be directed to the Kilo Code dashboard application `/organizations/:id/mcp-control`. Users will be able to enable, disable, and configure approved MCP servers.
+
+There will be a configuration UI similar to what's in the extension today. All configurations are encrypted and saved in our database.
+
+### Extension
+
+When organizations.settings.mcp_controls_enabled is true, the MCP marketplace view should be replaced with a link to configure MCP on the Kilo Code dashboard. When it is false-y, the experience is the same as it is today.
+
+## Scope and implementation plan
+
+Rough plan. These action items will become tickets after spec is approved:
+
+- Backend
+ - Schema changes for new organization_member_mcp_configs table
+ - Implement org settings endpoint changes to allow for mcp-control features (enabled, allow list)
+ - Implement TRPC routes for org members to update approved mcp installation settings
+ - Implement mcp-control UI for administrators
+ - Implement mcp server installation UI for end users
+- Extension
+ - When organizations.settings.mcp_controls_enabled is true, the MCP marketplace view should be replaced with a link to configure MCP on the Kilo Code dashboard
+
+## Features for the future
+
+- Org-provided custom MCP server configurations (i.e. non-marketplace MCPs)
+- Project-level MCP configurations
+- Tool call audits - who is running what tool and why?
+ - Split out by user, project, MCP server (if applicable)
+ - Why? If you're really concerned about locking down MCP servers then the only way to know if our product is truly doing what it's saying it is is to provide admins with tool call audit logs
diff --git a/packages/kilo-docs/pages/contributing/architecture/index.md b/packages/kilo-docs/pages/contributing/architecture/index.md
new file mode 100644
index 00000000000..1e12cc393cb
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/index.md
@@ -0,0 +1,162 @@
+---
+title: "Architecture Overview"
+description: "Overview of Kilo Code architecture"
+---
+
+s
+
+# Architecture Overview
+
+This document provides a high-level overview of Kilo Code's architecture to help contributors understand how the different components fit together.
+
+## System Architecture
+
+Kilo Code is a VS Code extension built with TypeScript that connects to various AI providers to deliver intelligent coding assistance. The architecture follows a layered approach:
+
+```
+┌─────────────────────────────────────────────────────────────────────┐
+│ VS Code Extension │
+├─────────────────────────────────────────────────────────────────────┤
+│ │
+│ ┌──────────────────┐ ┌──────────────────┐ │
+│ │ Extension Host │ │ Webview UI │ │
+│ │ (src/) │◀───▶│ (webview-ui/) │ │
+│ └────────┬─────────┘ └──────────────────┘ │
+│ │ │
+│ │ Messages │
+│ ▼ │
+│ ┌──────────────────────────────────────────────────────────────┐ │
+│ │ Core Services │ │
+│ ├────────────┬────────────┬────────────┬───────────────────────┤ │
+│ │ Tools │ Browser │ MCP │ Code Index │ │
+│ │ Service │ Session │ Servers │ Service │ │
+│ └────────────┴────────────┴────────────┴───────────────────────┘ │
+│ │ │
+│ │ API Calls │
+│ ▼ │
+│ ┌──────────────────────────────────────────────────────────────┐ │
+│ │ API Provider Layer │ │
+│ ├────────────┬────────────┬────────────┬───────────────────────┤ │
+│ │ Anthropic │ OpenAI │ Kilo │ OpenRouter │ │
+│ │ API │ API │ Provider │ API │ │
+│ └────────────┴────────────┴────────────┴───────────────────────┘ │
+│ │
+└─────────────────────────────────────────────────────────────────────┘
+```
+
+### Features
+
+These pages document the architecture and design of a current or planned feature, as well as any unique development patterns.
+
+| Feature | Description |
+| ------------------------------------------------------------------ | ------------------------------------------ |
+| [Annual Billing](./annual-billing.md) | Annual subscription billing |
+| [Enterprise MCP Controls](./enterprise-mcp-controls.md) | Admin controls for MCP server allowlists |
+| [Onboarding Improvements](./onboarding-engagement-improvements.md) | User onboarding and engagement features |
+| [Organization Modes Library](./organization-modes-library.md) | Shared modes for teams and enterprise |
+| [Agentic Security Reviews](./security-reviews.md) | AI-powered security vulnerability analysis |
+| [Track Repo URL](./track-repo-url.md) | Usage tracking by repository/project |
+| [Vercel AI Gateway](./vercel-ai-gateway.md) | Vercel AI Gateway integration |
+| [Voice Transcription](./voice-transcription.md) | Live voice input for chat |
+
+To propose a new feature design, consider using the [feature template](./feature-template.md).
+
+## Key Concepts
+
+### Modes
+
+Modes are configurable presets that customize Kilo Code's behavior:
+
+- Define which tools are available
+- Set custom system prompts
+- Configure file restrictions
+- Examples: Code, Architect, Debug, Ask
+
+### Model Context Protocol (MCP)
+
+MCP enables extending Kilo Code with external tools:
+
+- Servers provide additional capabilities
+- Standardized protocol for tool communication
+- Configured via `mcp.json`
+
+### Checkpoints
+
+Git-based state management for safe exploration:
+
+- Creates commits to track changes
+- Enables rolling back to previous states
+- Shadow repository for isolation
+
+### Code Indexing
+
+Semantic search over the codebase:
+
+- Embeddings-based search
+- Vector database storage (LanceDB/Qdrant)
+- Automatic chunking and indexing
+
+## Development Patterns
+
+### Message Passing
+
+The extension uses VS Code's webview message API:
+
+```typescript
+// Extension → Webview
+panel.webview.postMessage({ type: "response", data: ... });
+
+// Webview → Extension
+vscode.postMessage({ type: "request", data: ... });
+```
+
+### Service Architecture
+
+Services are typically singletons with clear interfaces:
+
+```typescript
+class CodeIndexService {
+ private static instance: CodeIndexService
+
+ static getInstance(): CodeIndexService {
+ if (!this.instance) {
+ this.instance = new CodeIndexService()
+ }
+ return this.instance
+ }
+}
+```
+
+### Tool Implementation
+
+Tools follow a consistent pattern:
+
+```typescript
+interface Tool {
+ name: string
+ description: string
+ parameters: z.ZodSchema
+ execute(params: unknown): Promise
+}
+```
+
+## Build System
+
+The project uses:
+
+- **pnpm** - Package management (monorepo workspaces)
+- **esbuild** - Fast bundling for extension
+- **Vite** - Webview UI development
+- **TypeScript** - Type checking across all packages
+- **Vitest** - Test runner
+
+## Testing
+
+- **Unit tests** - `*.spec.ts` files alongside source
+- **Integration tests** - E2E tests in `e2e/` directory
+- **Run tests**: `cd src && pnpm test` or `cd webview-ui && pnpm test`
+
+## Further Reading
+
+- [Development Environment](/contributing/development-environment) - Setup guide
+- [Tools Reference](/features/tools/tool-use-overview) - Available tools
diff --git a/packages/kilo-docs/docs/contributing/architecture/onboarding-engagement-improvements.md b/packages/kilo-docs/pages/contributing/architecture/onboarding-improvements.md
similarity index 97%
rename from packages/kilo-docs/docs/contributing/architecture/onboarding-engagement-improvements.md
rename to packages/kilo-docs/pages/contributing/architecture/onboarding-improvements.md
index 8630bb0e243..9dc9a222336 100644
--- a/packages/kilo-docs/docs/contributing/architecture/onboarding-engagement-improvements.md
+++ b/packages/kilo-docs/pages/contributing/architecture/onboarding-improvements.md
@@ -1,9 +1,9 @@
---
-sidebar_position: 5
-title: "Improve Onboarding Flow"
+title: "Onboarding Improvements"
+description: "Onboarding and engagement improvements architecture"
---
-# Kilo Code Onboarding & User Engagement Improvements
+# Onboarding Improvements
# Overview
diff --git a/packages/kilo-docs/pages/contributing/architecture/organization-modes-library.md b/packages/kilo-docs/pages/contributing/architecture/organization-modes-library.md
new file mode 100644
index 00000000000..8a40e0d4377
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/organization-modes-library.md
@@ -0,0 +1,71 @@
+---
+title: "Organization Modes Library"
+description: "Organization modes library architecture"
+---
+
+# Organization Modes Library
+
+# Overview
+
+We want to expand the value of teams & enterprise and make it more useful for collaboration and hopefully increase 'lock in' to the Kilo platform. We can build something _like_ a prompt library, but a bit more powerful. We can leverage Kilo's unique "modes" which already has "marketplace" support to enable teams & enterprises to define and manage modes on the backend webapp and have those modes show up in the modes marketplace if the user is using an organization in the extension. This feature is mostly valuable in larger organizations where they work on many different repositories. If you have very few repositories, then the value is low since you can also store custom modes within the git repo, effectively sharing it with anyone who uses the repo already.
+
+# Requirements
+
+This section outlines the detailed requirements that the solution will fulfill.
+
+- Ability for an organization to have custom modes visible in the web UI.
+- Fetch the organization custom modes and show them by default if you switch to an organization alongside any other modes you have manually installed & the "base" modes like "code" "architect" etc. Important consideration here is the organization also has a "code" mode it should overwrite the built in one. This allows the organization owners to modify the built in prompts.
+- Ability for team members (or owners only?) to do crud on modes on the UI of the web, including uploading/downloading yaml directly, editing the yaml, and having a form style editor as seen in the extension.
+- Web ui showing a list of modes and common info like when created, who created, and when updated.
+- Auditing of Custom Mode CRUD operations in the Kilo backend web UI.
+
+### Non-requirements
+
+- Disabling the mode marketplace or removing built-in modes.
+- Disabling custom modes created locally by an organization member.
+- Ability to upload modes from the extension into the web backend via a special extension button.
+- Extending the mode definition to include a suggested model to use with the mode (that would be nice though)
+
+# System Design
+
+
+
+
+
+Currently extension fetches available modes from the "mode marketplace" by downloading a "modes.yaml" file from our backend. We will add an endpoint the extension can call with a user & org id and it can return any organization modes. Those will be merged into the mode list and dropdown shown to the user.
+
+The organization modes themselves will be saved in postgres, and there will be both a form style editing UI based on what's in the extension.
+
+Will add a new section to the backend UI to view custom org modes, edit them, create new ones, etc.
+
+Schema change:
+
+```sql
+CREATE TABLE organization_modes (
+ id uuid primary key,
+ organization_id uuid not null,
+ name text not null,
+ slug text not null,
+ created_by text not null,
+ created_at timestamptz default now(),
+ updated_at timestamptz default now(),
+ config jsonb
+)
+```
+
+We're recommending using jsonb for the non _critical_ pieces of the modes so it's easier to keep in sync with the extension vs a schema we have to migrate (not everyone updates to the most recent extension immediately, for example)
+
+# Scope and implementation
+
+- Schema migration
+- Make CRUD ui on backend, feature flagged out to only our organization to begin with. Estimate this is 1 day of work.
+- Make endpoint to return org modes
+- Render org modes in extension. Estimating 2 days for this because we are both unfamiliar with how to work on extension, and there be dragons there.
+
+# Compliance Considerations
+
+Should log any mode CRUD operations to audit logs for enterprise. Otherwise, none.
+
+## Open questions
+
+- Teams or enterprise? My vote is teams
diff --git a/packages/kilo-docs/pages/contributing/architecture/track-repo-url.md b/packages/kilo-docs/pages/contributing/architecture/track-repo-url.md
new file mode 100644
index 00000000000..84cf782c546
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/track-repo-url.md
@@ -0,0 +1,42 @@
+---
+title: "Track Repo URL"
+description: "Track repository URL architecture"
+---
+
+# Track Usage by Project
+
+# Overview
+
+We will define a "project" as a **repository** and will be identified by `project.id`. We can automatically get the `project.id` from the git remote `origin` if it doesn't exist, but also introduce the concept of a `.kilocode/config.json` file which you can use to manually set (and override in the case of an `origin` remote existing) `project.id`. This allows for "automagic" configuration in most cases, but for an override and helps with things like monorepos which can contain multiple "projects." It also stands in for places where the code structure is less defined like using kilo-cli or running Kilo cloud agents on checked out pieces of code, etc.
+
+This will allow us to track which projects are used for every LLM call in the `microdollar_usage` table. We can then add this very easily to reporting to show how much of your costs are going to each "project" (identified by unique `project.id`). This feature is a prerequisite for "project based settings."
+
+## System Design
+
+
+
+### Example config
+
+```jsonc
+{
+ // Example configuration for project settings
+ "project": {
+ // Kilo Code project ID
+ "id": "my-project",
+ },
+}
+```
+
+## Implementation Plan
+
+- Modify extension to get the `project.id` by getting the `origin` url from the git remotes.
+- Modify extension to support an optional `.kilocode/config.json` and add the addition of `project.id` to the config file there.
+- Modify extension to send `project.id` in a header to our backend OpenRouter endpoint (maybe `X_KILOCODE_PROJECTID`)
+- Add some kind of json-schema to this file for some auto-complete goodness.
+- Modify **all** backend requests to include the `project.id` if it exists as an http header.
+- Modify `microdollar_usage` and add the `project_id` column.
+- Modify usage details to support grouping by `repo_url` and seeing "who worked on **what**, when, and how much did it cost."
+
+# Compliance Considerations
+
+I don't think it will hurt to save this, particularly since they can remove it by setting `project.id: ""` in `.kilocode/config.json`.
diff --git a/packages/kilo-docs/pages/contributing/architecture/vercel-ai-gateway.md b/packages/kilo-docs/pages/contributing/architecture/vercel-ai-gateway.md
new file mode 100644
index 00000000000..3ded7730c1f
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/vercel-ai-gateway.md
@@ -0,0 +1,77 @@
+---
+title: "Vercel AI Gateway"
+description: "Vercel AI Gateway architecture"
+---
+
+# OpenRouter and Vercel AI Gateway API compatibility
+
+Both OpenRouter and Vercel AI Gateway provide an OpenAI-compatible API.
+They are largely compatible and Vercel even adopted some of OpenRouter's non-standard extensions.
+
+OpenRouter API docs: https://openrouter.ai/docs/api/reference/overview
+
+Vercel AI Gateway API docs: https://vercel.com/docs/ai-gateway/openai-compat
+
+At time of writing, OpenRouter provides beta support for the Responses API, but Vercel does not: https://openrouter.ai/docs/api/reference/responses/overview
+
+## Available models and identifiers
+
+OpenRouter has more models than Vercel. The naming scheme is similar, sometimes identical but not always. For example `x-ai/grok-code-fast-1` (OpenRouter) has a different prefix from `xai/grok-code-fast-1` (Vercel). We will have to come up with a mapping from OpenRouter to Vercel model identifiers.
+
+- https://openrouter.ai/models
+- https://vercel.com/ai-gateway/models
+
+## Reasoning
+
+Vercel seems to have adopted OpenRouter's (non-standard) reasoning configuration:
+
+- https://openrouter.ai/docs/api/reference/responses/reasoning#reasoning-configuration
+- https://vercel.com/docs/ai-gateway/openai-compat#reasoning-configuration
+
+Both Vercel and OpenRouter use the same `reasoning` property for reasoning content (the standard is `reasoning_content`, although our extension will accept both):
+
+- https://openrouter.ai/docs/api/api-reference/chat/send-chat-completion-request#response.body.choices.message.reasoning
+- https://vercel.com/docs/ai-gateway/openai-compat#response-format-with-reasoning
+
+Vercel supports OpenRouter's way of preserving reasoning details in the Chat Completions API:
+
+- https://openrouter.ai/docs/guides/best-practices/reasoning-tokens#preserving-reasoning-blocks
+- https://vercel.com/docs/ai-gateway/openai-compat#preserving-reasoning-details-across-providers
+
+Other providers would require use of the Responses API (e.g. xAI) or Anthropic API (e.g. MiniMax)
+
+## Provider configuration
+
+OpenRouter's and Vercel's provider configuration are different:
+
+- https://openrouter.ai/docs/guides/routing/provider-selection
+- https://vercel.com/docs/ai-gateway/openai-compat#provider-options
+
+We will likely support OpenRouter's and convert between the two.
+
+Inference provider identifiers appear similar at first glance, but they may not always be identical.
+
+## Cost calculation
+
+Whether Vercel includes cost in the response (like OpenRouter) is unclear. In the docs there's an embeddings example, which suggests that it does, but in a different format than OpenRouter:
+
+- https://vercel.com/docs/ai-gateway/openai-compat#embeddings
+
+We may have to estimate the cost in the extension instead.
+
+There's a generation endpoint, which looks very similar to OpenRouter's at first glance:
+
+- https://openrouter.ai/docs/api/api-reference/generations/get-generation
+- https://vercel.com/docs/ai-gateway/usage#generation-lookup
+
+# Deciding where to route traffic
+
+We want to route some traffic to Vercel, ideally just enough so we can be first place on both leaderboards. However, we will initially start with a small portion of traffic < 5% and will evaluate whether it make sense to increase volume.
+
+Vercel will also act as fallback if we encounter issues with OpenRouter (such as the issue with Grok Code Fast and OpenRouter recently). We need the ability to route certain providers and / or models to Vercel vs OpenRouter.
+
+Requests from the same user for the same model should go to the same gateway for caching purposes.
+
+We can randomize users to a gateway in a way similar to what was done for autocomplete: https://github.com/Kilo-Org/kilocode/pull/3857
+
+Since not all models are available on Vercel, some traffic will have to go to OpenRouter regardless.
diff --git a/packages/kilo-docs/pages/contributing/architecture/voice-transcription.md b/packages/kilo-docs/pages/contributing/architecture/voice-transcription.md
new file mode 100644
index 00000000000..24b879c7a77
--- /dev/null
+++ b/packages/kilo-docs/pages/contributing/architecture/voice-transcription.md
@@ -0,0 +1,133 @@
+---
+title: "Voice Transcription"
+description: "Voice transcription architecture"
+---
+
+# Voice Transcription
+
+# Overview
+
+Developers can code 3-5x faster by dictating rather than typing, yet Kilo Code currently has no voice input capability. This creates friction for users who want to quickly describe complex features or iterate on ideas hands-free.
+
+This spec proposes adding live voice transcription to the chat interface, replacing the send button with a microphone icon when the text box is empty. Users can speak naturally while seeing real-time transcription appear in the input field, dramatically improving coding velocity for voice-preferred workflows.
+
+The MVP will use OpenAI's Realtime API with FFmpeg-based audio streaming for low-latency transcription (~100ms). This mirrors the approach used by Cursor and Cline, proven to work well in VS Code environments.
+
+# Requirements
+
+- **Microphone Icon UI**: Add microphone icon button that allows starting/stopping the transcription
+- **Live Transcription Display**: Show real-time transcription in the chat text box as user speaks
+- **FFmpeg Audio Streaming**: Use FFmpeg to capture and stream audio to transcription API
+- **Realtime API Integration**: Use OpenAI's Realtime API for near-instant transcription
+- **Visual Recording Indicator**: Show clear UI state when recording is active (animated volume bars or similar)
+- **Typing Stops Recording**: Any keyboard input immediately stops transcription and returns to normal mode
+- **Cross-Platform FFmpeg Docs**: Provide installation instructions for Windows, macOS, and Linux
+- **OpenAI Provider Required**: Feature only available when user has configured an OpenAI API key in their provider settings. (This uses the user's own OpenAI credits, not Kilo Code credits.)
+
+### Non-requirements
+
+- Custom glossary / file / workflow support (future enhancement)
+- Real-time volume visualization (future enhancement)
+- Alternative transcription providers beyond OpenAI (future)
+- Kilo Code provider integration for voice transcription (future)
+- **Usage cost tracking/display** (not in initial version, but should be added in a future version since costs are separate from Kilo Code credits)
+- Server-side/backend transcription (future)
+- FFmpeg automatic installation or bundling
+- Voice commands or shortcuts beyond start/stop
+
+# System Design
+
+## Architecture Overview
+
+
+
+The system follows a straightforward streaming architecture where user voice input is captured by FFmpeg, streamed as PCM16 audio to OpenAI's Realtime API via WebSocket, and transcribed text is displayed live in the chat input box. Typing interrupts recording instantly.
+
+## Core Components
+
+### 1. Audio Capture Service
+
+- Spawn FFmpeg as child process from extension host
+- Platform-specific audio input configuration:
+ - **macOS**: `avfoundation`
+ - **Windows**: `dshow` (DirectShow)
+ - **Linux**: `alsa` or `pulse`
+- Stream PCM16 format at 24kHz mono (required by OpenAI)
+- Handle permissions errors and FFmpeg availability checks
+
+### 2. WebSocket Connection
+
+- Direct WebSocket connection from extension to OpenAI Realtime API
+- Secure API key storage in extension settings (existing provider system)
+- Base64 encode audio chunks for transmission
+- Handle connection lifecycle (connect, stream, disconnect)
+
+### 3. UI State Management
+
+- **Empty Input State**: Show microphone icon
+- **Recording State**: Animate microphone, show "Recording..." indicator
+- **Transcribing State**: Show live transcription with typing cursor
+- **Manual Stop**: Typing any key stops recording and clears recording indicator
+- **Error State**: Show clear error message if FFmpeg not found or permissions denied
+
+### 4. Cost Considerations
+
+- OpenAI Realtime API: **$0.60 per minute**
+- **Cost is charged to user's OpenAI account**, not Kilo Code credits
+- Display cost warning in settings or first-time use
+- Consider adding usage tracking/warnings for high-volume users
+
+## FFmpeg Detection & Setup
+
+**Installation Check Flow**:
+
+1. On extension activation, verify FFmpeg is available via `ffmpeg -version`
+2. If not found, show dismissible banner with installation instructions
+3. Link to documentation with platform-specific guides
+4. Gracefully disable voice feature if FFmpeg unavailable
+
+**Documentation Structure**:
+
+- `docs/user-guide/voice-transcription-setup.md`
+ - Prerequisites section
+ - Platform-specific installation
+ - Troubleshooting common issues
+ - Permissions setup (especially macOS)
+
+## Scope/Implementation
+
+### Phase 1: Core Infrastructure
+
+- Add FFmpeg detection on extension startup
+- Create `AudioCaptureService` class with platform-specific FFmpeg spawning
+- Implement WebSocket connection to OpenAI Realtime API
+- Add basic error handling and cleanup
+
+### Phase 2: UI Integration
+
+- Add microphone icon component to chat input
+- Implement state management for recording/transcribing modes
+- Wire up transcription events to populate chat input box
+- Add typing detection to stop recording
+- Add visual recording indicator
+
+### Phase 3: Polish & Docs
+
+- Write cross-platform FFmpeg installation guide
+- Add cost warning in settings UI
+- Test on Windows, macOS, Linux
+- Handle edge cases (permissions, no FFmpeg, API errors)
+- Add analytics tracking for feature usage
+
+# Features for the future
+
+- **Custom Glossary**: Use OpenAI Whisper API's glossary parameter for code-specific terminology
+- **Real-time Volume Indicator**: Show live audio input levels during recording
+- **Chunked Whisper API Mode**: Add cheaper option ($0.06/min) for users who can tolerate 2-5s latency
+- **Provider Flexibility**: Support alternative transcription providers (Deepgram, AssemblyAI)
+- **Server-side Transcription**: Move transcription to backend for better security/control
+- **Voice Commands**: Implement "stop recording," "send message," and other voice shortcuts
+- **Automatic FFmpeg Installation**: Bundle or auto-install FFmpeg to reduce setup friction
+- **Recording History**: Save voice recordings locally for debugging or replay
+- **Multi-language Support**: Extend beyond English with language detection
+- **Usage Cost Tracking**: Display voice transcription costs somewhere (since this would be separate from Kilo Code credits)
diff --git a/packages/kilo-docs/docs/contributing/development-environment.md b/packages/kilo-docs/pages/contributing/development-environment.md
similarity index 98%
rename from packages/kilo-docs/docs/contributing/development-environment.md
rename to packages/kilo-docs/pages/contributing/development-environment.md
index 4818c8f2471..5b58b988394 100644
--- a/packages/kilo-docs/docs/contributing/development-environment.md
+++ b/packages/kilo-docs/pages/contributing/development-environment.md
@@ -1,6 +1,6 @@
---
-sidebar_position: 3
title: "Development Environment"
+description: "Set up your development environment for contributing"
---
# Development Environment
diff --git a/packages/kilo-docs/docs/contributing/index.md b/packages/kilo-docs/pages/contributing/index.md
similarity index 98%
rename from packages/kilo-docs/docs/contributing/index.md
rename to packages/kilo-docs/pages/contributing/index.md
index 9b6eed5e75f..e59b71f5249 100644
--- a/packages/kilo-docs/docs/contributing/index.md
+++ b/packages/kilo-docs/pages/contributing/index.md
@@ -1,9 +1,9 @@
---
-sidebar_position: 1
-title: "Contributing to Kilo Code"
+title: "Contributing"
+description: "Contribute to Kilo Code"
---
-# Contributing to Kilo Code
+# Contributing Overview
Kilo Code is an open-source project that welcomes contributions from developers of all skill levels. This guide will help you get started with contributing to Kilo Code, whether you're fixing bugs, adding features, improving documentation, or sharing custom modes.
diff --git a/packages/kilo-docs/docs/advanced-usage/deploy.md b/packages/kilo-docs/pages/deploy-secure/deploy.md
similarity index 97%
rename from packages/kilo-docs/docs/advanced-usage/deploy.md
rename to packages/kilo-docs/pages/deploy-secure/deploy.md
index 95137b2904e..94636a8a7c9 100644
--- a/packages/kilo-docs/docs/advanced-usage/deploy.md
+++ b/packages/kilo-docs/pages/deploy-secure/deploy.md
@@ -1,6 +1,6 @@
---
-title: Deploy
-sidebar_label: Deploy
+title: "Deploy"
+description: "Deploy your applications with Kilo Code"
---
# Deploy
diff --git a/packages/kilo-docs/pages/deploy-secure/index.md b/packages/kilo-docs/pages/deploy-secure/index.md
new file mode 100644
index 00000000000..c964e73f6fc
--- /dev/null
+++ b/packages/kilo-docs/pages/deploy-secure/index.md
@@ -0,0 +1,18 @@
+---
+title: "Deploy & Secure"
+description: "Deploy applications and manage security with Kilo Code"
+---
+
+# Deploy & Secure
+
+{% callout type="info" title="Coming Soon" %}
+This page is under construction. Check back soon for comprehensive documentation.
+{% /callout %}
+
+
diff --git a/packages/kilo-docs/docs/advanced-usage/managed-indexing.md b/packages/kilo-docs/pages/deploy-secure/managed-indexing.md
similarity index 98%
rename from packages/kilo-docs/docs/advanced-usage/managed-indexing.md
rename to packages/kilo-docs/pages/deploy-secure/managed-indexing.md
index 26f654caa75..a291dfaa2a4 100644
--- a/packages/kilo-docs/docs/advanced-usage/managed-indexing.md
+++ b/packages/kilo-docs/pages/deploy-secure/managed-indexing.md
@@ -1,8 +1,10 @@
---
-title: Managed Indexing
-sidebar_label: Managed Indexing
+title: "Managed Indexing"
+description: "Cloud-managed codebase indexing"
---
+# Managed Indexing
+
Kilo's **Managed Indexing** feature provides semantic search across your repositories using cloud-hosted embeddings. When enabled, Kilo indexes your codebase to deliver more relevant, context-aware responses during development.
---
diff --git a/packages/kilo-docs/pages/deploy-secure/security-reviews.md b/packages/kilo-docs/pages/deploy-secure/security-reviews.md
new file mode 100644
index 00000000000..1f17936b721
--- /dev/null
+++ b/packages/kilo-docs/pages/deploy-secure/security-reviews.md
@@ -0,0 +1,336 @@
+---
+title: "Security Reviews"
+description: "AI-powered security reviews for your code"
+---
+
+# Agentic Security Reviews
+
+## Overview
+
+This spec proposes an **Agentic security reviewer based on cloud agents**, available as part of the **Teams or Enterprise plan**. The system is not just a dependency reviewer, it combines traditional security tooling (Dependabot, npm audit, etc.) with LLM-powered analysis to provide intelligent, context-aware security reviews of both code and dependencies.
+
+**Problem Statement:**
+
+- Current security tools like Dependabot generate alerts without context about whether vulnerabilities are actually exploitable in our codebase
+- Manual security reviews don't scale and are inconsistent
+- Dependency vulnerability alerts create noise without actionable intelligence
+- We don't want just a dependency reviewer, we need comprehensive security code review
+
+**Proposed Solution:**
+A two-stage agent system that:
+
+1. **Agent/tools for finding and reporting security issues** - Aggregates findings from existing security tools (Dependabot, npm audit, brakeman, etc.) and performs code-level vulnerability detection
+2. **Agent for checking and validating issues** - Uses LLM-powered analysis to validate, prioritize, and contextualize security issues (optionally testing in sandbox)
+
+This approach takes input from tools like Dependabot or `npm audit` but goes beyond dependency review to include:
+
+- Security code review using sink-to-source taint analysis
+- Dependency review that scores risk levels based on how dependencies are actually used
+- Validation of whether reported issues are actually exploitable in context
+
+**Key Value Proposition:**
+For issues like we see today from Dependabot, we can automatically test the issue in a sandbox and verify that the issue is actually exploitable. As a first step, checking if the issue is even relevant for our codebase.
+
+Transform noisy security alerts into actionable, prioritized findings by automatically determining:
+
+- Whether a reported vulnerability is relevant to our codebase
+- Whether the vulnerability is actually exploitable given our usage patterns
+- What the actual risk level is in context
+
+## Relationship to Existing Code Review Agent
+
+We already have a **Code Review Agent** that performs PR-based code reviews with security as one of its focus areas. The Security Review Agent is **complementary**, not duplicative:
+
+**What the Code Review Agent does well:**
+
+- Spot obvious security anti-patterns in PR diffs (e.g., `innerHTML` usage, hardcoded secrets)
+- General code quality feedback that includes basic security awareness
+- Works on the PR diff context
+
+**What the Security Review Agent adds (that the Code Review Agent cannot do):**
+
+- **Dependency vulnerability contextualization** - When Dependabot says "lodash has a prototype pollution vulnerability", determine if our codebase actually uses the vulnerable function. This requires analyzing the entire codebase, not just a PR diff.
+- **Integration with security tooling** - Aggregate and contextualize findings from Dependabot, npm audit, and other scanners
+- **Historical tracking** - Maintain a database of security issues, their status, and remediation history for compliance
+- **Sandbox validation** - Actually test if a vulnerability is exploitable, not just flag potential issues
+
+**Why this matters:** Teams are drowning in Dependabot alerts. Most CVEs reported in dependencies are not actually exploitable because the vulnerable code path isn't used. The Security Review Agent's primary value is turning noisy alerts into actionable intelligence by answering: "Is this vulnerability actually a problem for us?"
+
+The code-level taint analysis (SQL injection, XSS, etc.) has more overlap with the Code Review Agent and is lower priority. Phase 1 focuses on dependency contextualization where the value is clearest.
+
+## Requirements
+
+### Core Requirements
+
+- **Cloud agents** - Runs as cloud agents, not locally in the extension
+- **Teams/Enterprise plan feature** - Gated to paid tiers
+- **Integration with existing tools** - Consume output from:
+ - Dependabot alerts (via GitHub API)
+ - `npm audit` / `yarn audit`
+ - Language-specific scanners (brakeman for Ruby, etc.)
+ - SBOM (Software Bill of Materials) data
+- **PR-triggered analysis** - Run security analysis on pull requests
+- **Manual full-repo scans** - Support on-demand scanning of entire repositories
+- **Structured output** - Provide severity, CWE classification, reproduction steps, and suggested fixes
+- **Historical tracking** - Maintain database records of:
+ - Security issues found
+ - Security issues fixed
+ - Security issues ignored (with justification)
+
+### Security Analysis Capabilities
+
+- **Dependency vulnerability analysis** - Contextualize dependency alerts against actual usage
+- **Code-level vulnerability detection** - Sink-to-source taint analysis for:
+ - SQL Injection
+ - Cross-Site Scripting (XSS)
+ - Command Injection
+ - Authentication/Authorization bypasses
+- **Validation agent** - For each finding, determine:
+ - Is the issue relevant to this codebase?
+ - Is the issue exploitable? (argue for and against)
+ - Has the issue been fixed?
+
+### Non-requirements
+
+- No Local/offline execution: this is a cloud service
+- No Real-time IDE integration: focus on PR and scheduled scans
+- No Support for all languages in MVP: start with TypeScript/JavaScript
+
+## System Design
+
+### Architecture Overview
+
+```
+┌─────────────────────────────────────────────────────────────────────┐
+│ Input Sources │
+├─────────────────┬─────────────────┬─────────────────┬───────────────┤
+│ Dependabot │ npm audit │ SBOM Scanner │ PR Changes │
+└────────┬────────┴────────┬────────┴────────┬────────┴───────┬───────┘
+ │ │ │ │
+ ▼ ▼ ▼ ▼
+┌─────────────────────────────────────────────────────────────────────┐
+│ Finding Aggregation Layer │
+│ (Normalize and deduplicate findings) │
+└─────────────────────────────┬───────────────────────────────────────┘
+ │
+ ┌────────────────────┼─────────────────────┐
+ ▼ ▼ ▼
+┌─────────────────┐ ┌───────────────────┐ ┌─────────────────┐
+│ Dependency │ │ Code Analysis │ │ Validation │
+│ Analysis Agent │ │ Agents │ │ Agent │
+│ │ │ (Taint Analysis) │ │ │
+└────────┬────────┘ └────────┬──────────┘ └────────┬────────┘
+ │ │ │
+ ▼ ▼ ▼
+┌─────────────────────────────────────────────────────────────────────┐
+│ LLM Evaluation Layer │
+│ "Is this exploitable in this specific codebase?" │
+└─────────────────────────────┬───────────────────────────────────────┘
+ │
+ ▼
+┌─────────────────────────────────────────────────────────────────────┐
+│ Optional: Sandbox Validation │
+│ (Test exploitability with generated PoC) │
+└─────────────────────────────┬───────────────────────────────────────┘
+ │
+ ▼
+┌─────────────────────────────────────────────────────────────────────┐
+│ Structured Output + PR Integration │
+│ (Severity, CWE, reproduction steps, suggested fix) │
+└─────────────────────────────────────────────────────────────────────┘
+```
+
+### Component Details
+
+#### 1. Finding Aggregation Layer
+
+Normalizes input from various security tools into a common format:
+
+```typescript
+type SecurityFinding = {
+ source: "dependabot" | "npm-audit" | "sbom" | "code-analysis"
+ type: "dependency" | "code"
+ severity: "critical" | "high" | "medium" | "low"
+ cwe?: string
+ package?: string
+ version?: string
+ location?: {
+ file: string
+ line: number
+ }
+ description: string
+ rawData: unknown
+}
+```
+
+#### 2. Dependency Analysis Agent
+
+For dependency vulnerabilities (from Dependabot, npm audit, etc.):
+
+- Analyzes how the vulnerable package is actually used in the codebase
+- Determines if the vulnerable code path is reachable
+- Assesses whether the vulnerability conditions apply to our usage
+
+#### 3. Code Analysis Agents (Sink-to-Source Taint Analysis)
+
+Specialized agents for each vulnerability class. Each agent follows the same pattern but targets different sinks:
+
+- **SQL Injection Agent** - Finds raw SQL concatenation, `.raw()`, `.execute()` with interpolation, ORM bypass patterns
+- **Command Injection Agent** - Finds `exec()`, `spawn()` with interpolation, `shell: true` options
+- **XSS Agent** - Finds `innerHTML`, `dangerouslySetInnerHTML`, `document.write()`, unescaped template rendering
+
+**Step 1: Sink Discovery**
+
+- Use AST parsing (ts-morph, tree-sitter) to find dangerous operations
+- Pattern matching for known vulnerability sinks
+
+**Step 2: Call Chain Extraction**
+
+- Build call graph using ts-morph or LSP-based analysis
+- Walk backwards from sinks to find entry points (sources)
+- Extract minimal code paths ("slices") from source to sink
+
+**Step 3: LLM Evaluation**
+
+- Feed only the relevant slice to the LLM (50-200 lines typically)
+- Ask specific questions about exploitability:
+
+```
+Here is a code path from HTTP request handler to SQL query:
+
+[extracted call chain]
+
+Can an attacker control the input at the source in a way that
+would allow SQL injection at the sink? Consider:
+- Input validation present?
+- Sanitization applied?
+- Parameterization used?
+
+If exploitable, provide a proof-of-concept input.
+```
+
+#### 4. Validation Agent
+
+Reviews findings and provides structured assessment:
+
+- Relevance check: Is this finding applicable to our codebase?
+- Exploitability analysis: Arguments for and against exploitability
+- Fix verification: Has this been addressed?
+
+#### 5. Sandbox Validation (Optional)
+
+For high-confidence findings:
+
+- Generate test cases based on LLM analysis
+- Execute in isolated sandbox environment (using existing cloud-agent infrastructure)
+- Confirm exploitability to reduce false positives
+
+### Data Model
+
+```typescript
+type SecurityIssue = {
+ id: string
+ repositoryId: string
+ status: "open" | "fixed" | "ignored" | "false-positive"
+ finding: SecurityFinding
+ analysis: {
+ isRelevant: boolean
+ relevanceReasoning: string
+ isExploitable: boolean | "unknown"
+ exploitabilityReasoning: string
+ suggestedFix?: string
+ proofOfConcept?: string
+ }
+ validation?: {
+ sandboxTested: boolean
+ exploitConfirmed: boolean
+ testOutput?: string
+ }
+ metadata: {
+ createdAt: Date
+ updatedAt: Date
+ prNumber?: number
+ ignoredReason?: string
+ fixedInCommit?: string
+ dependabotAlertId?: number // Link to GitHub Dependabot alert
+ }
+}
+```
+
+### Trigger Modes
+
+1. **PR Analysis** - Triggered on pull request creation/update
+
+ - Analyze changed files for new vulnerabilities
+ - Check if PR introduces new dependency vulnerabilities
+ - Comment findings directly on PR
+
+2. **Scheduled Full Scan** - Periodic repository-wide analysis
+
+ - Complete dependency audit
+ - Full codebase taint analysis
+ - Update historical tracking
+
+3. **Manual Trigger** - On-demand scanning
+
+ - User-initiated full or partial scans
+ - Re-analysis of specific findings
+
+4. **Dependabot Alert Trigger** - When new Dependabot alerts appear
+
+ - Automatically analyze new vulnerability alerts
+ - Provide contextualized risk assessment
+
+5. **Security Issue Trigger** - GitHub issues or email reports classified as security issues
+ - Triggered when issues are labeled with P0-P3 severity
+ - Automatically analyze reported security concerns
+ - Validate whether the reported issue is exploitable
+ - Provide contextualized assessment and suggested remediation
+
+## Scope/Implementation
+
+### Phase 1: Dependency Vulnerability Contextualization
+
+Focus on the core value proposition: making dependency alerts actionable.
+
+- Dependabot webhook integration (subscribe to `dependabot_alert` events)
+- `npm audit` integration (alternative input source)
+- Dependency Analysis Agent: analyze if vulnerable code paths are actually used
+- LLM evaluation: "Is this vulnerability exploitable in this codebase?"
+- Security findings dashboard in app (view issues, status, reasoning)
+- PR comment integration for findings
+
+### Phase 2: Automatic Fixes & Additional Input Sources
+
+- Automatic fix generation and PR creation for validated issues
+- Additional dependency scanners (e.g., Snyk, OSV, GitHub Advisory Database API)
+- SQL Injection Agent with AST-based sink discovery
+- Call graph extraction for TypeScript
+
+### Phase 3: Expanded Code Analysis & Validation
+
+- XSS and Command Injection agents
+- Sandbox validation for high-confidence findings
+- Authentication bypass detection
+- SBOM generation and analysis
+- Multi-language support (Ruby/brakeman, Python/bandit, Go)
+- Historical tracking and trends
+
+## Compliance Considerations
+
+- All security findings must be stored securely with appropriate access controls
+- Audit logging for all security scan activities
+- Data retention policies for security findings
+- Sandbox environments must be fully isolated
+
+## Technical Risks
+
+- **Call graph complexity** - Building accurate call graphs for JavaScript/TypeScript is difficult due to dynamic typing, callbacks, and async patterns. This is the hardest technical challenge in Phase 1.
+- **False positive rate** - Even with LLM evaluation, security tools tend toward high false positive rates. We need strong feedback loops and the ability to mark false positives.
+- **Sandbox security** - Running untrusted exploit code in sandboxes is risky. This is why sandbox validation is Phase 2+ and requires careful isolation.
+
+## Features for the Future
+
+- **Security score trending** - Track security posture over time
+- **Custom rule definitions** - Allow teams to define custom vulnerability patterns
+- **Integration with SIEM** - Export findings to security information systems
diff --git a/packages/kilo-docs/docs/basic-usage/adding-credits.md b/packages/kilo-docs/pages/getting-started/adding-credits.md
similarity index 91%
rename from packages/kilo-docs/docs/basic-usage/adding-credits.md
rename to packages/kilo-docs/pages/getting-started/adding-credits.md
index a975f9978fa..017e069e676 100644
--- a/packages/kilo-docs/docs/basic-usage/adding-credits.md
+++ b/packages/kilo-docs/pages/getting-started/adding-credits.md
@@ -1,4 +1,7 @@
-import { DISCORD_URL } from '@site/src/constants.ts'
+---
+title: "Adding Credits"
+description: "How to add credits to your Kilo Code account"
+---
# Adding More Kilo Credits
@@ -29,6 +32,6 @@ We're continuously working to improve Kilo Code and expand our offerings:
- Additional LLM providers will be added in the future
- More payment options and other plans are under development
-:::tip Need Help?
+{% callout type="tip" title="Need Help?" %}
If you have any questions about pricing or tokens, please reach out to our [support team](mailto:hi@kilo.ai) or ask in our Discord community.
-:::
+{% /callout %}
diff --git a/packages/kilo-docs/pages/getting-started/ai-providers.md b/packages/kilo-docs/pages/getting-started/ai-providers.md
new file mode 100644
index 00000000000..caca693ce12
--- /dev/null
+++ b/packages/kilo-docs/pages/getting-started/ai-providers.md
@@ -0,0 +1,18 @@
+---
+title: "AI Providers"
+description: "Configure and connect different AI model providers"
+---
+
+# AI Providers
+
+{% callout type="info" title="Coming Soon" %}
+This page is under construction. Check back soon for comprehensive documentation.
+{% /callout %}
+
+
diff --git a/packages/kilo-docs/docs/faq.md b/packages/kilo-docs/pages/getting-started/faq.md
similarity index 96%
rename from packages/kilo-docs/docs/faq.md
rename to packages/kilo-docs/pages/getting-started/faq.md
index 345dae19b03..c3d601bed7b 100644
--- a/packages/kilo-docs/docs/faq.md
+++ b/packages/kilo-docs/pages/getting-started/faq.md
@@ -1,10 +1,8 @@
---
+title: "Frequently Asked Questions"
+description: "Find answers to common questions about Kilo Code"
---
-import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
-
-import { DISCORD_URL } from '@site/src/constants.ts'
-
# Frequently Asked Questions
This page answers some common questions about Kilo Code.
@@ -49,7 +47,7 @@ You can also use Kilo Code with a [local model](advanced-usage/local-models) or
### How do I pay for model usage via Kilo Code?
-If you choose to pay for models via Kilo Code, you do so by buying Kilo Credits. You can [purchase Kilo Credits](basic-usage/adding-credits) and receive bonus credits. We do not charge a markup on Kilo Credits. $1 you give us is $1 in Kilo Credits.
+If you choose to pay for models via Kilo Code, you do so by buying Kilo Credits. You can [buy Kilo Credits](basic-usage/adding-credits) securely via Stripe with a credit card. We do not charge a markup on Kilo Credits. $1 you give us is $1 in Kilo Credits.
Model usage is metered by the providers in terms of different kinds of tokens. When you use a model, we debit your Kilo credits by the amount the provider charges us -- with no markup.
diff --git a/packages/kilo-docs/pages/getting-started/index.md b/packages/kilo-docs/pages/getting-started/index.md
new file mode 100644
index 00000000000..8b3e0d6309d
--- /dev/null
+++ b/packages/kilo-docs/pages/getting-started/index.md
@@ -0,0 +1,50 @@
+---
+title: "Introduction to Kilo Code"
+description: "Get started with Kilo Code - the leading open source agentic engineering platform"
+---
+
+# {% $markdoc.frontmatter.title %}
+
+{% callout type="generic" %}
+Kilo Code is an open-source AI coding assistant that works wherever you do—in your IDE, terminal, browser, or on the go. Generate code, automate reviews, debug issues, and ship faster with AI that understands your codebase.
+{% /callout %}
+
+## Where to Use Kilo
+
+- **In your IDE** — [VS Code](/docs/code-with-ai/platforms/vscode), [JetBrains](/docs/code-with-ai/platforms/jetbrains), Cursor, Windsurf, and other VS Code forks
+- [**CLI**](/docs/code-with-ai/platforms/cli) — Run Kilo from your terminal for scripting and automation
+- **Web & Mobile** — Access Kilo from your [browser](/docs/code-with-ai/platforms/web-app) or [iOS/Android apps](/docs/code-with-ai/platforms/mobile)
+- [**Slack**](/docs/code-with-ai/platforms/slack) — Chat with Kilo directly in your workspace
+
+Your sessions sync across all of these, so you can start a task on your phone and finish it in your IDE.
+
+## What Kilo Can Do
+
+- [**Code with AI**](/docs/code-with-ai) — Generate, refactor, and debug code through natural conversation. Use specialized modes (Code, Architect, Debug, Ask) or create your own. Get inline suggestions with Autocomplete.
+- [**Collaborate**](/docs/collaborate) — Share sessions, manage team settings, and track AI adoption across your organization.
+- [**Automate**](/docs/automate) — Set up AI-powered code reviews, triage agents, and auto-fixers that open new PRs based on issues.
+- [**Deploy & Secure**](/docs/deploy-secure) — Build and deploy apps directly from Kilo. Run security scans and manage issues with AI assistance.
+
+## Quick Start
+
+1. [Install Kilo Code](/docs/getting-started/installing) in your preferred environment
+2. [Connect an AI provider](/docs/getting-started/ai-providers) or use Kilo's built-in provider & credits
+3. [Run your first task](/docs/getting-started/quickstart)
+
+New to AI coding assistants? Before learning what Kilo itself does, you can learn about agentic engineering at [path.kilo.ai](https://path.kilo.ai)
+
+Coming from Cursor or Windsurf? See our [migration guide](/docs/getting-started/migrating)
+
+## Open Source
+
+Kilo Code is open source. You can inspect the code, contribute features, or fork it to meet your needs.
+
+- [GitHub Repository](https://github.com/Kilo-Org/kilocode)
+- [Contributing Guide](/docs/contributing)
+- [Architecture Overview](/docs/contributing/architecture)
+
+## Get Help
+
+- [**Discord**](https://kilo.ai/discord) — Real-time help and community discussion
+- [**GitHub Issues**](https://github.com/Kilo-Org/kilocode/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen) — Report bugs or request features
+- [**YouTube**](https://kilo.ai/youtube) — Tutorials and walkthroughs
diff --git a/packages/kilo-docs/pages/getting-started/installing.md b/packages/kilo-docs/pages/getting-started/installing.md
new file mode 100644
index 00000000000..a1b14565ad7
--- /dev/null
+++ b/packages/kilo-docs/pages/getting-started/installing.md
@@ -0,0 +1,122 @@
+---
+title: "Installation"
+description: "How to install Kilo Code on your system"
+---
+
+# Installation
+
+Get started with Kilo Code by installing it on your preferred platform. Choose your development environment below:
+
+## Choose Your Platform
+
+{% tabs %}
+{% tab label="VS Code" %}
+
+## VS Code Extension
+
+{% partial file="install-vscode.md" /%}
+
+{% /tab %}
+{% tab label="JetBrains" %}
+
+## JetBrains IDEs
+
+{% partial file="install-jetbrains.md" /%}
+
+{% /tab %}
+{% tab label="CLI" %}
+
+## Command Line Interface
+
+{% partial file="install-cli.md" /%}
+
+{% /tab %}
+{% tab label="Slack" %}
+
+## Slack Integration
+
+{% partial file="install-slack.md" /%}
+
+{% /tab %}
+{% tab label="Other IDEs" %}
+
+{% partial file="install-other-ides.md" /%}
+
+{% /tab %}
+{% /tabs %}
+
+## Manual Installations
+
+### Open VSX Registry
+
+[Open VSX Registry](https://open-vsx.org/) is an open-source alternative to the VS Code Marketplace for VS Code-compatible editors that cannot access the official marketplace due to licensing restrictions.
+
+For VS Code-compatible editors like VSCodium, Gitpod, Eclipse Theia, and Windsurf, you can browse and install directly from the [Kilo Code page on Open VSX Registry](https://open-vsx.org/extension/kilocode/Kilo-Code).
+
+1. Open your editor
+2. Access the Extensions view (Side Bar icon or `Ctrl+Shift+X` / `Cmd+Shift+X`)
+3. Your editor should be pre-configured to use Open VSX Registry
+4. Search for "Kilo Code"
+5. Select "Kilo Code" and click **Install**
+6. Reload the editor if prompted
+
+{% callout type="note" %}
+If your editor isn't automatically configured for Open VSX Registry, you may need to set it as your extension marketplace in settings. Consult your specific editor's documentation for instructions.
+{% /callout %}
+
+### Via VSIX
+
+If you prefer to download and install the VSIX file directly:
+
+1. **Download the VSIX file:**
+
+ - Find official releases on the [Kilo Code GitHub Releases page](https://github.com/Kilo-Org/kilocode/releases)
+ - Download the `.vsix` file from the [latest release](https://github.com/Kilo-Org/kilocode/releases/latest)
+
+2. **Install in VS Code:**
+ - Open VS Code
+ - Access Extensions view
+ - Click the "..." menu in the Extensions view
+ - Select "Install from VSIX..."
+ - Browse to and select your downloaded `.vsix` file
+
+{% image src="/docs/img/installing-vsix.png" alt="Installing Kilo Code using VS Code's Install from VSIX dialog" width="600px" caption="Installing Kilo Code using VS Code's \"Install from VSIX\" dialog" /%}
+
+## Troubleshooting
+
+**Extension Not Visible**
+
+- Restart VS Code
+- Verify Kilo Code is listed and enabled in Extensions
+- Try disabling and re-enabling the extension in Extensions
+- Check Output panel for errors (View → Output, select "Kilo Code")
+
+**Installation Problems**
+
+- Ensure stable internet connection
+- Verify VS Code version 1.84.0 or later
+- If VS Code Marketplace is inaccessible, try the Open VSX Registry method
+
+**Windows Users**
+
+- Ensure that **`PowerShell` is added to your `PATH`**:
+ 1. Open **Edit system environment variables** → **Environment Variables**
+ 2. Under **System variables**, select **Path** → **Edit** → **New**
+ 3. Add: `C:\Windows\System32\WindowsPowerShell\v1.0\`
+ 4. Click **OK** and restart VS Code
+
+## Next Steps
+
+After installation, check out these resources to get started:
+
+- [Quickstart Guide](/docs/getting-started/quickstart) - Get up and running in minutes
+- [Setting Up Authentication](/docs/getting-started/setup-authentication) - Configure your AI provider
+- [Your First Task](/docs/code-with-ai/agents/chat-interface) - Learn the basics of working with Kilo Code
+
+## Getting Support
+
+If you encounter issues not covered here:
+
+- Join our [Discord community](https://kilo.ai/discord) for real-time support
+- Submit issues on [GitHub](https://github.com/Kilo-Org/kilocode/issues)
+- Visit our [Reddit community](https://www.reddit.com/r/KiloCode)
diff --git a/packages/kilo-docs/docs/advanced-usage/migrating-from-cursor-windsurf.md b/packages/kilo-docs/pages/getting-started/migrating.md
similarity index 98%
rename from packages/kilo-docs/docs/advanced-usage/migrating-from-cursor-windsurf.md
rename to packages/kilo-docs/pages/getting-started/migrating.md
index 24cfd87c6cb..f8a1c6dcd66 100644
--- a/packages/kilo-docs/docs/advanced-usage/migrating-from-cursor-windsurf.md
+++ b/packages/kilo-docs/pages/getting-started/migrating.md
@@ -1,21 +1,22 @@
---
-sidebar_label: Migrating from Cursor or Windsurf
+title: "Migrating from Cursor/Windsurf"
+description: "Guide for migrating to Kilo Code from other AI coding tools"
---
# Migrating from Cursor or Windsurf
Quickly migrate your custom rules from Cursor or Windsurf to Kilo Code. The process typically takes just a few minutes per project.
-:::info Two Workflow Approaches
+{% callout type="info" title="Two Workflow Approaches"%}
+
Kilo Code supports **two complementary workflows**—choose the one that fits your style, or use both:
1. **Autocomplete (Ghost)**: Tab-to-accept inline suggestions as you type, similar to Cursor and Windsurf. Enable via Settings → Ghost.
2. **Chat-driven**: Describe what you want in the chat panel and the AI generates complete implementations.
Many developers combine both approaches: autocomplete for quick completions while typing, and chat for larger refactors or multi-file changes. See [Choosing Your Workflow](#choosing-your-workflow) for details.
-:::
-**Last Updated**: November 2025
+{% /callout %}
## Why Kilo Code's Rules System?
diff --git a/packages/kilo-docs/pages/getting-started/quickstart.md b/packages/kilo-docs/pages/getting-started/quickstart.md
new file mode 100644
index 00000000000..919883c72b0
--- /dev/null
+++ b/packages/kilo-docs/pages/getting-started/quickstart.md
@@ -0,0 +1,81 @@
+---
+title: "Quickstart"
+description: "Get up and running with Kilo Code in minutes"
+---
+
+# Quickstart
+
+## Video Tour
+
+{% youtube url="https://www.youtube.com/watch?v=pO7zRLQS-p0" caption="This quick tour shows how Kilo Code handles a simple request from start to finish" /%}
+
+After you [set up Kilo Code](/getting-started/setting-up), follow these steps:
+
+## Step by Step Guide
+
+### Step 1: Open Kilo Code
+
+Click the Kilo Code icon ({% kiloCodeIcon /%}) in the VS Code Primary Side Bar (vertical bar on the side of the window) to open the chat interface. If you don't see the icon, verify the extension is [installed](/docs/getting-started/installing) and enabled.
+
+{% image src="/docs/img/your-first-task/your-first-task.png" alt="Kilo Code icon in VS Code Primary Side Bar" width="800" caption="The Kilo Code icon in the Primary Side Bar opens the chat interface." /%}
+
+### Step 2: Type Your Task
+
+Type a clear, concise description of what you want Kilo Code to do in the chat box at the bottom of the panel. Examples of effective tasks:
+
+- "Create a file named `hello.txt` containing 'Hello, world!'."
+- "Write a Python function that adds two numbers."
+- "Create an HTML file for a simple website with the title 'Kilo test'"
+
+No special commands or syntax needed—just use plain English.
+
+{% callout type="tip" title="Optional: Try Autocomplete" collapsed=true %}
+While chat is great for complex tasks, Kilo Code also offers **inline autocomplete** for quick code suggestions. Open any code file, start typing, and watch for ghost text suggestions. Press `Tab` to accept. [Learn more about Autocomplete →](/basic-usage/autocomplete)
+{% /callout %}
+
+{% image src="/docs/img/your-first-task/your-first-task-6.png" alt="Typing a task in the Kilo Code chat interface" width="500" caption="Enter your task in natural language - no special syntax required." /%}
+
+### Step 3: Send Your Task
+
+Press Enter or click the Send icon ({% codicon name="send" /%}) to the right of the input box.
+
+### Step 4: Review & Approve Actions
+
+Kilo Code analyzes your request and proposes specific actions. These may include:
+
+- **Reading files:** Shows file contents it needs to access
+- **Writing to files:** Displays a diff with proposed changes (added lines in green, removed in red)
+- **Executing commands:** Shows the exact command to run in your terminal
+- **Using the Browser:** Outlines browser actions (click, type, etc.)
+- **Asking questions:** Requests clarification when needed to proceed
+
+{% image src="/docs/img/your-first-task/your-first-task-7.png" alt="Reviewing a proposed file creation action" width="400" caption="Kilo Code shows exactly what action it wants to perform and waits for your approval." /%}
+
+- In **Code** mode, writing capabilities are on by default.
+- In **Architect** and **Ask** modes, Kilo Code won't write code.
+
+{% callout type="tip" %}
+The level of autonomy is configurable, allowing you to make the agent more or less autonomous.
+
+You can learn more about [using modes](/basic-usage/using-modes) and [auto-approving actions](/features/auto-approving-actions).
+{% /callout %}
+
+### Step 5: Iterate
+
+Kilo Code works iteratively. After each action, it waits for your feedback before proposing the next step. Continue this review-approve cycle until your task is complete.
+
+{% image src="/docs/img/your-first-task/your-first-task-8.png" alt="Final result of a completed task showing the iteration process" width="500" caption="After completing the task, Kilo Code shows the final result and awaits your next instruction." /%}
+
+## Conclusion
+
+You've completed your first task. Along the way you learned:
+
+- How to interact with Kilo Code using natural language
+- Why approval keeps you in control
+- How iteration lets the AI refine its work
+
+Ready for more? Here are some next steps:
+
+- **[Autocomplete](/docs/code-with-ai/features/autocomplete)** — Get inline code suggestions as you type
+- **[Modes](/docs/code-with-ai/agents/using-modes)** — Explore different modes for different tasks
+- **[Git commit generation](/docs/code-with-ai/features/git-commit-generation)** — Automatically generate commit messages
diff --git a/packages/kilo-docs/pages/getting-started/settings.md b/packages/kilo-docs/pages/getting-started/settings.md
new file mode 100644
index 00000000000..5a621fc0366
--- /dev/null
+++ b/packages/kilo-docs/pages/getting-started/settings.md
@@ -0,0 +1,61 @@
+---
+title: "Settings"
+description: "Configure Kilo Code settings and preferences"
+---
+
+# Settings
+
+Kilo Code allows you to manage your configuration settings effectively through export, import, and reset options. These features are useful for backing up your setup, sharing configurations with others, or restoring default settings if needed.
+
+You can find these options at the bottom of the Kilo Code settings page, accessible via the gear icon () in the Kilo Code chat view.
+
+
+*Image: Export, Import, and Reset buttons.*
+
+## Export Settings
+
+Clicking the **Export** button saves your current Kilo Code settings to a JSON file.
+
+- **What's Exported:** The file includes your configured API Provider Profiles and Global Settings (UI preferences, mode configurations, context settings, etc.).
+- **Security Warning:** The exported JSON file contains **all** your configured API Provider Profiles and Global Settings. Crucially, this includes **API keys in plaintext**. Treat this file as highly sensitive. Do not share it publicly or with untrusted individuals, as it grants access to your API accounts.
+- **Process:**
+ 1. Click **Export**.
+ 2. A file save dialog appears, suggesting `kilo-code-settings.json` as the filename (usually in your `~/Documents` folder).
+ 3. Choose a location and save the file.
+
+This creates a backup of your configuration or a file you can share.
+
+## Import Settings
+
+Clicking the **Import** button allows you to load settings from a previously exported JSON file.
+
+- **Process:**
+ 1. Click **Import**.
+ 2. A file open dialog appears. Select the `kilo-code-settings.json` file (or similarly named file) you want to import.
+ 3. Kilo Code reads the file, validates its contents against the expected schema, and applies the settings.
+- **Merging:** Importing settings **merges** the configurations. It adds new API profiles and updates existing ones and global settings based on the file content. It does **not** delete configurations present in your current setup but missing from the imported file.
+- **Validation:** Only valid settings matching the internal schema can be imported, preventing configuration errors. A success notification appears upon completion.
+
+## Reset Settings
+
+Clicking the **Reset** button completely clears all Kilo Code configuration data and returns the extension to its default state. This is a destructive action intended for troubleshooting or starting fresh.
+
+- **Warning:** This action is **irreversible**. It permanently deletes all API configurations (including keys stored in secret storage), custom modes, global settings, and task history.
+
+- **Process:**
+
+ 1. Click the red **Reset** button.
+ 2. A confirmation dialog appears, warning that the action cannot be undone.
+ 3. Click "Yes" to confirm.
+
+- **What is Reset:**
+
+ - **API Provider Profiles:** All configurations are deleted from settings and secret storage.
+ - **Global Settings:** All preferences (UI, modes, approvals, browser, etc.) are reset to defaults.
+ - **Custom Modes:** All user-defined modes are deleted.
+ - **Secret Storage:** All API keys and other secrets managed by Kilo Code are cleared.
+ - **Task History:** The current task stack is cleared.
+
+- **Result:** Kilo Code returns to its initial state, as if freshly installed, with default settings and no user configurations.
+
+Use this option only if you are certain you want to remove all Kilo Code data or if instructed during troubleshooting. Consider exporting your settings first if you might want to restore them later.
diff --git a/packages/kilo-docs/pages/getting-started/setup-authentication.md b/packages/kilo-docs/pages/getting-started/setup-authentication.md
new file mode 100644
index 00000000000..a201f13b5c5
--- /dev/null
+++ b/packages/kilo-docs/pages/getting-started/setup-authentication.md
@@ -0,0 +1,77 @@
+---
+title: "Setup & Authentication"
+description: "Configure Kilo Code and connect to your AI providers"
+---
+
+# Setup & Authentication
+
+When you install Kilo Code, you'll be prompted to sign in or create a free account. This automatically configures everything you need to get started.
+
+## Quick Start with Kilo Account
+
+1. Click **"Try Kilo Code for Free"** in the extension
+2. Sign in with your Google account
+3. Allow VS Code to open the authorization URL
+
+{% image src="/docs/img/signupflow.gif" alt="Sign up and registration flow with Kilo Code" /%}
+
+That's it! You're ready to [start your first task](/getting-started/quickstart).
+
+{% callout type="tip" title="Bonus Credits" %}
+[Add credits to your account](https://app.kilo.ai/profile) and get $20 bonus credits, or sign up for [Kilo Pass](https://kilo.ai/features/kilo-pass).
+{% /callout %}
+
+## Using Another API Provider
+
+If you prefer to use your own API key or existing subscription, Kilo Code supports **over 30 providers**. Here are some popular options to get started:
+
+| Provider | Best For | API Key Required |
+| --------------------------------------------------------- | ----------------------------------- | ---------------- |
+| [ChatGPT Plus/Pro](/ai-providers/openai-chatgpt-plus-pro) | Use your existing subscription | No |
+| [OpenRouter](/ai-providers/openrouter) | Access multiple models with one key | Yes |
+| [Anthropic](/ai-providers/anthropic) | Direct access to Claude models | Yes |
+| [OpenAI](/ai-providers/openai) | Access to GPT models | Yes |
+
+{% callout type="info" title="Many More Providers Available" %}
+These are just a few examples! Kilo Code supports many more providers including Google Gemini, DeepSeek, Mistral, Ollama (for local models), AWS Bedrock, Google Vertex, and more. See the complete list at [AI Providers](/ai-providers/).
+{% /callout %}
+
+### ChatGPT Plus/Pro Subscription
+
+Already have a ChatGPT subscription? You can use it with Kilo Code through the [OpenAI ChatGPT provider](/providers/openai-chatgpt-plus-pro)—no API key needed.
+
+### OpenRouter
+
+1. Go to [openrouter.ai](https://openrouter.ai/) and sign in
+2. Navigate to [API keys](https://openrouter.ai/keys) and create a new key
+3. Copy your API key
+
+{% image src="/docs/img/connecting-api-provider/connecting-api-provider-4.png" alt="OpenRouter API keys page" width="600px" caption="Create and copy your OpenRouter API key" /%}
+
+### Anthropic
+
+1. Go to [console.anthropic.com](https://console.anthropic.com/) and sign in
+2. Navigate to [API keys](https://console.anthropic.com/settings/keys) and create a new key
+3. Copy your API key immediately—it won't be shown again
+
+{% image src="/docs/img/connecting-api-provider/connecting-api-provider-5.png" alt="Anthropic console API Keys section" width="600px" caption="Copy your Anthropic API key immediately after creation" /%}
+
+### OpenAI
+
+1. Go to [platform.openai.com](https://platform.openai.com/) and sign in
+2. Navigate to [API keys](https://platform.openai.com/api-keys) and create a new key
+3. Copy your API key immediately—it won't be shown again
+
+{% image src="/docs/img/connecting-api-provider/connecting-api-provider-6.png" alt="OpenAI API keys page" width="600px" caption="Copy your OpenAI API key immediately after creation" /%}
+
+### Configuring Your Provider
+
+1. Click the {% kilo-code-icon /%} icon in the VS Code sidebar
+2. Select your API provider from the dropdown
+3. Paste your API key
+4. Choose your model:
+5. Click **"Let's go!"**
+
+{% callout type="info" title="Need Help?" %}
+Reach out to our [support team](mailto:hi@kilo.ai) or join our [Discord community](https://kilo.ai/discord).
+{% /callout %}
diff --git a/packages/kilo-docs/pages/index.tsx b/packages/kilo-docs/pages/index.tsx
new file mode 100644
index 00000000000..093bf8cc89b
--- /dev/null
+++ b/packages/kilo-docs/pages/index.tsx
@@ -0,0 +1,879 @@
+import React, { useState } from "react"
+import Link from "next/link"
+
+// Terminal content for each tab
+const terminalContent = {
+ installation: (
+ <>
+ # Install Kilo Code VS Code Extension
+ {"\n"}
+ $ code --install-extension kilocode.kilo-code
+ {"\n"}
+ {"\n"}
+ # Or install via CLI
+ {"\n"}
+ $ npm install -g @kilocode/cli
+ >
+ ),
+ firstTask: (
+ <>
+ # Start a new task with Kilo Code
+ {"\n"}
+ $ kilo "Create a React component for a user profile"
+ {"\n"}
+ {"\n"}
+
+ # Or for interactive sessions, just run the Kilo CLI in your project folder
+
+ {"\n"}
+ $ kilo
+ {"\n"}
+ {"\n"}
+ # Run in architect mode for planning
+ {"\n"}
+ $ kilo --mode architect "Design a REST API"
+ >
+ ),
+ customRules: (
+ <>
+ # Create a custom rules file in your project
+ {"\n"}
+ $ touch .kilocode/rules.md
+ {"\n"}
+ {"\n"}
+ # Or use the CLI to add rules
+ {"\n"}
+ $ kilo rules add "Always use TypeScript"
+ {"\n"}
+ $ kilo rules add "Follow React best practices"
+ {"\n"}
+ {"\n"}
+ # List all active rules
+ {"\n"}
+ $ kilo rules list
+ >
+ ),
+}
+
+// Category card data based on the information architecture
+const categories = [
+ {
+ title: "Get Started",
+ description: "Install Kilo Code and get up and running in minutes",
+ href: "/getting-started",
+ icon: (
+
+ ),
+ links: [
+ { title: "Installation", href: "/getting-started/installing" },
+ { title: "Quickstart", href: "/getting-started" },
+ { title: "FAQ", href: "/getting-started/faq" },
+ ],
+ },
+ {
+ title: "Code with AI",
+ description: "Learn how to use Kilo Code to write, edit, and understand code",
+ href: "/code-with-ai",
+ icon: (
+
+ ),
+ links: [
+ { title: "The Chat Interface", href: "/code-with-ai" },
+ { title: "Using Modes", href: "/code-with-ai" },
+ { title: "Custom Rules", href: "/code-with-ai" },
+ ],
+ },
+ {
+ title: "Collaborate",
+ description: "Work with teams, share sessions, and manage organizations",
+ href: "/collaborate",
+ icon: (
+
+ ),
+ links: [
+ { title: "Sessions & Sharing", href: "/collaborate" },
+ { title: "Kilo for Teams", href: "/collaborate" },
+ { title: "Enterprise", href: "/collaborate" },
+ ],
+ },
+ {
+ title: "Automate",
+ description: "Set up automated workflows, integrations, and MCP servers",
+ href: "/automate",
+ icon: (
+
+ ),
+ links: [
+ { title: "Code Reviews", href: "/automate" },
+ { title: "MCP Overview", href: "/automate" },
+ { title: "Integrations", href: "/automate" },
+ ],
+ },
+ {
+ title: "Deploy & Secure",
+ description: "Deploy your applications and ensure security best practices",
+ href: "/deploy-secure",
+ icon: (
+
+ ),
+ links: [
+ { title: "Deploy", href: "/deploy-secure" },
+ { title: "Managed Indexing", href: "/deploy-secure" },
+ { title: "Security Reviews", href: "/deploy-secure" },
+ ],
+ },
+ {
+ title: "Contributing",
+ description: "Help improve Kilo Code and learn about its architecture",
+ href: "/contributing",
+ icon: (
+
+ ),
+ links: [
+ { title: "Contributing Overview", href: "/contributing" },
+ { title: "Development Environment", href: "/contributing" },
+ { title: "Architecture", href: "/contributing" },
+ ],
+ },
+]
+
+export default function HomePage() {
+ const [activeTab, setActiveTab] = useState<"installation" | "firstTask" | "customRules">("installation")
+
+ return (
+
- );
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/src/components/ReportIssue/styles.module.css b/packages/kilo-docs/src/components/ReportIssue/styles.module.css
deleted file mode 100644
index 5656eb29a77..00000000000
--- a/packages/kilo-docs/src/components/ReportIssue/styles.module.css
+++ /dev/null
@@ -1,20 +0,0 @@
-.reportContainer {
- margin-top: 3rem;
- margin-bottom: 1rem;
-}
-
-.separator {
- margin-top: 2rem;
- margin-bottom: 1rem;
- border: 0;
- border-top: 1px solid var(--ifm-color-emphasis-300);
-}
-
-.reportLink {
- font-size: 0.875rem;
- color: var(--ifm-color-emphasis-700);
-}
-
-.reportLink a {
- font-weight: 500;
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/src/components/YouTubeEmbed/index.tsx b/packages/kilo-docs/src/components/YouTubeEmbed/index.tsx
deleted file mode 100644
index 544bb17a209..00000000000
--- a/packages/kilo-docs/src/components/YouTubeEmbed/index.tsx
+++ /dev/null
@@ -1,242 +0,0 @@
-import React, { useState, useCallback, useEffect, useMemo } from 'react';
-import styles from './styles.module.css';
-
-/**
- * YouTube embed parameters interface
- * @see https://developers.google.com/youtube/player_parameters
- */
-interface YouTubeEmbedParams {
- /** Show related videos at the end (0 = no, 1 = yes) */
- rel?: 0 | 1;
- /** Use YouTube's modest branding (0 = no, 1 = yes) */
- modestbranding?: 0 | 1;
- /** Enable privacy-enhanced mode (0 = no, 1 = yes) */
- privacy?: 0 | 1;
- /** Auto-play the video (0 = no, 1 = yes) */
- autoplay?: 0 | 1;
- /** Show video controls (0 = no, 1 = yes) */
- controls?: 0 | 1;
- /** Show video info (0 = no, 1 = yes) */
- showinfo?: 0 | 1;
- /** Loop the video (0 = no, 1 = yes) */
- loop?: 0 | 1;
- /** Start time in seconds */
- start?: number;
- /** End time in seconds */
- end?: number;
-}
-
-interface YouTubeEmbedProps {
- /**
- * YouTube video URL or video ID
- */
- url: string;
- /**
- * Optional caption to display below the video
- */
- caption?: string;
- /**
- * Optional title for the iframe (for accessibility)
- */
- title?: string;
- /**
- * Optional YouTube embed parameters
- */
- embedParams?: YouTubeEmbedParams;
- /**
- * Optional callback for when the video fails to load
- */
- onError?: (error: Error) => void;
- /**
- * Optional callback for when the video successfully loads
- */
- onLoad?: () => void;
-}
-
-/**
- * Error that occurs when a YouTube video ID cannot be extracted
- */
-class YouTubeExtractError extends Error {
- constructor(url: string) {
- super(`Could not extract YouTube video ID from: ${url}`);
- this.name = 'YouTubeExtractError';
- }
-}
-
-/**
- * Extracts the YouTube video ID from a URL or returns the ID if already provided
- * @param {string} urlOrId - YouTube URL or video ID
- * @returns {string | null} YouTube video ID or null if extraction fails
- */
-const extractVideoId = (urlOrId: string): string | null => {
- // Trim whitespace
- const trimmedUrl = urlOrId.trim();
-
- // If empty, return null
- if (!trimmedUrl) {
- return null;
- }
-
- // If it's just the ID (no slashes or dots)
- if (!/[\/.]/.test(trimmedUrl) && /^[a-zA-Z0-9_-]{11}$/.test(trimmedUrl)) {
- return trimmedUrl;
- }
-
- // Extract from various YouTube URL formats
- const regexPatterns = [
- /(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([a-zA-Z0-9_-]{11})/,
- /youtube\.com\/watch\?.*v=([a-zA-Z0-9_-]{11})/,
- /youtube\.com\/shorts\/([a-zA-Z0-9_-]{11})/,
- ];
-
- for (const regex of regexPatterns) {
- const match = trimmedUrl.match(regex);
- if (match && match[1]) {
- return match[1];
- }
- }
-
- // If no pattern matches, return null
- return null;
-};
-
-/**
- * Builds the YouTube embed URL with parameters
- * @param {string} videoId - YouTube video ID
- * @param {YouTubeEmbedParams} params - Embed parameters
- * @returns {string} Complete embed URL
- */
-const buildEmbedUrl = (videoId: string, params: YouTubeEmbedParams = {}): string => {
- // Start with base URL
- const baseUrl = params.privacy
- ? `https://www.youtube-nocookie.com/embed/${videoId}`
- : `https://www.youtube.com/embed/${videoId}`;
-
- // Default parameters
- const defaultParams: YouTubeEmbedParams = {
- rel: 0,
- modestbranding: 1,
- controls: 1,
- };
-
- // Merge default and custom parameters
- const mergedParams = { ...defaultParams, ...params };
-
- // Convert parameters to URL query string
- const queryParams = Object.entries(mergedParams)
- .map(([key, value]) => `${key}=${value}`)
- .join('&');
-
- return `${baseUrl}?${queryParams}`;
-};
-
-/**
- * A responsive YouTube video embed component with enhanced features
- *
- * @example
- * // With video ID
- *
- *
- * @example
- * // With full YouTube URL and custom parameters
- *
- */
-export default function YouTubeEmbed({
- url,
- caption,
- title = 'YouTube video player',
- embedParams = {},
- onError,
- onLoad
-}: YouTubeEmbedProps): JSX.Element {
- // State for loading and error handling
- const [isLoading, setIsLoading] = useState(true);
- const [error, setError] = useState(null);
-
- // Extract video ID with memoization to prevent unnecessary processing
- const videoId = useMemo(() => {
- try {
- const id = extractVideoId(url);
- if (!id) {
- throw new YouTubeExtractError(url);
- }
- return id;
- } catch (err) {
- const error = err instanceof Error ? err : new Error(String(err));
- setError(error);
- onError?.(error);
- return null;
- }
- }, [url, onError]);
-
- // Build embed URL with memoization
- const embedUrl = useMemo(() => {
- if (!videoId) return '';
- return buildEmbedUrl(videoId, embedParams);
- }, [videoId, embedParams]);
-
- // Handle iframe load event
- const handleIframeLoad = useCallback(() => {
- setIsLoading(false);
- onLoad?.();
- }, [onLoad]);
-
- // Handle iframe error event
- const handleIframeError = useCallback(() => {
- const loadError = new Error(`Failed to load YouTube video: ${url}`);
- setError(loadError);
- onError?.(loadError);
- }, [url, onError]);
-
- // Reset loading state when URL changes
- useEffect(() => {
- setIsLoading(true);
- setError(null);
- }, [url]);
-
- // If there's an error, show error UI
- if (error) {
- return (
-
-
-
⚠️
-
Failed to load YouTube video
-
{error.message}
-
- {caption &&
{caption}
}
-
- );
- }
-
- return (
-
-
- {videoId && (
-
- )}
-
- {caption && (
-
- {caption}
-
- )}
-
- );
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/src/components/YouTubeEmbed/styles.module.css b/packages/kilo-docs/src/components/YouTubeEmbed/styles.module.css
deleted file mode 100644
index fa68fec9d83..00000000000
--- a/packages/kilo-docs/src/components/YouTubeEmbed/styles.module.css
+++ /dev/null
@@ -1,60 +0,0 @@
-.youtubeWrapper {
- max-width: 85%;
- margin: 0 auto;
- width: 100%;
-}
-
-.videoContainer {
- position: relative;
- width: 100%;
- padding-bottom: 56.25%; /* 16:9 aspect ratio */
- margin-bottom: 1.5rem;
- overflow: hidden;
- border-radius: 8px;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
-}
-
-.videoIframe {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- border: 0;
- transition: opacity 0.3s ease;
-}
-
-.videoIframe.loading {
- opacity: 0.7;
-}
-
-.caption {
- margin-top: 0.5rem;
- text-align: center;
- font-size: 0.875rem;
- color: var(--ifm-color-emphasis-700);
- font-style: italic;
-}
-
-.errorContainer {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- background-color: var(--ifm-color-emphasis-100);
- border-radius: 8px;
- padding: 2rem;
- text-align: center;
-}
-
-.errorIcon {
- font-size: 2rem;
- color: var(--ifm-color-danger);
- margin-bottom: 1rem;
-}
-
-@media (max-width: 768px) {
- .youtubeWrapper {
- max-width: 95%;
- }
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/src/constants.ts b/packages/kilo-docs/src/constants.ts
deleted file mode 100644
index 95d3a4f7956..00000000000
--- a/packages/kilo-docs/src/constants.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Application-wide constants for use in TypeScript environments
- */
-
-// GitHub repository information
-export const GITHUB_REPO_URL = "https://github.com/Kilo-Org/docs"
-export const GITHUB_ISSUES_URL = `${GITHUB_REPO_URL}/issues`
-export const GITHUB_NEW_ISSUE_URL = `${GITHUB_ISSUES_URL}/new`
-
-// Community links
-export const DISCORD_URL = "https://kilocode.ai/discord"
-export const REDDIT_URL = "https://www.reddit.com/r/kilocode/"
-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/Kilo-Org/kilocode"
-export const GITHUB_ISSUES_MAIN_URL = `${GITHUB_MAIN_REPO_URL}/issues`
-export const GITHUB_FEATURES_URL = `${GITHUB_MAIN_REPO_URL}/discussions/categories/ideas`
-
-// Download links
-export const VSCODE_MARKETPLACE_URL = "https://marketplace.visualstudio.com/items?itemName=kilocode.kilo-code"
-export const OPEN_VSX_URL = "https://open-vsx.org/extension/kilocode/kilo-code"
-
-// Company links
-export const CONTACT_EMAIL = "mailto:hi@kilocode.ai"
-export const CAREERS_URL = "https://kilocode.ai"
-export const WEBSITE_PRIVACY_URL = "https://kilocode.ai/privacy"
-export const EXTENSION_PRIVACY_URL = `${GITHUB_MAIN_REPO_URL}/blob/main/PRIVACY.md`
diff --git a/packages/kilo-docs/src/css/custom.css b/packages/kilo-docs/src/css/custom.css
deleted file mode 100644
index e21bf8dc1c6..00000000000
--- a/packages/kilo-docs/src/css/custom.css
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Any CSS included here will be global. The classic template
- * bundles Infima by default. Infima is a CSS framework designed to
- * work well for content-centric websites.
- */
-
-/* You can override the default Infima variables here. */
-:root {
- --ifm-color-primary: #2961df;
- --ifm-color-primary-dark: #1f55cf;
- --ifm-color-primary-darker: #1d50c3;
- --ifm-color-primary-darkest: #1842a1;
- --ifm-color-primary-light: #4072e2;
- --ifm-color-primary-lighter: #4b7ae4;
- --ifm-color-primary-lightest: #6e94e9;
- --ifm-code-font-size: 95%;
- --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
-}
-
-/* For readability concerns, you should choose a lighter palette in dark mode. */
-[data-theme='dark'] {
- --ifm-color-primary: #25c2a0;
- --ifm-color-primary-dark: #21af90;
- --ifm-color-primary-darker: #1fa588;
- --ifm-color-primary-darkest: #1a8870;
- --ifm-color-primary-light: #29d5b0;
- --ifm-color-primary-lighter: #32d8b4;
- --ifm-color-primary-lightest: #4fddbf;
- --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
-}
-
-/* Hide unwanted navigation items */
-.menu__list-item:has(> .menu__link[href="/docs"]),
-.menu__list-item:has(> .menu__link[href="/tutorial"]) {
- display: none;
-}
-
-/* Hide unwanted footer items */
-.footer__link-item[href="/docs"],
-.footer__link-item[href="/tutorial"] {
- display: none;
-}
-
-/* Video Grid Styles */
-.video-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
- gap: 2rem;
- margin: 2rem 0;
- max-width: 1200px;
- margin-left: auto;
- margin-right: auto;
-}
-
-.video-container {
- position: relative;
- width: 100%;
- padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
- border-radius: var(--ifm-card-border-radius);
- overflow: hidden;
-}
-
-.video-container iframe {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- border: 0;
-}
-
-.video-info {
- margin-top: 0.75rem;
-}
-
-.video-title {
- font-weight: 500;
- color: var(--ifm-heading-color);
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- line-height: 1.4;
- max-height: 2.8em; /* 2 lines * 1.4 line-height */
-}
-
-/* Basic Codicon styles */
-.codicon {
- vertical-align: middle;
- line-height: 1;
-}
-
-/* Ensure code blocks wrap instead of scrolling */
-pre {
- white-space: pre-wrap !important; /* Allows wrapping */
- word-wrap: break-word !important; /* Breaks long words */
- overflow-x: auto; /* Enables horizontal scrolling if necessary */
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/src/theme/DocItem/index.js b/packages/kilo-docs/src/theme/DocItem/index.js
deleted file mode 100644
index 52d371ed6a3..00000000000
--- a/packages/kilo-docs/src/theme/DocItem/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-import DocItem from '@theme-original/DocItem';
-import ReportIssue from '@site/src/components/ReportIssue';
-
-export default function DocItemWrapper(props) {
- return (
- <>
-
-
- >
- );
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/src/theme/MDXComponents.ts b/packages/kilo-docs/src/theme/MDXComponents.ts
deleted file mode 100644
index 560961a78c0..00000000000
--- a/packages/kilo-docs/src/theme/MDXComponents.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import MDXComponents from '@theme-original/MDXComponents';
-import Codicon from '@site/src/components/Codicon';
-import YouTubeEmbed from '@site/src/components/YouTubeEmbed';
-
-export default {
- ...MDXComponents,
- Codicon,
- YouTubeEmbed,
-};
\ No newline at end of file
diff --git a/packages/kilo-docs/static/downloads/boomerang-tasks/kilocodemodes.json b/packages/kilo-docs/static/downloads/boomerang-tasks/kilocodemodes.json
deleted file mode 100644
index 4048717a8a7..00000000000
--- a/packages/kilo-docs/static/downloads/boomerang-tasks/kilocodemodes.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "customModes": [
- {
- "slug": "boomerang-mode",
- "name": "Boomerang Mode",
- "roleDefinition": "You are Kilo Code, a strategic workflow orchestrator who coordinates complex tasks by delegating them to appropriate specialized modes. You have a comprehensive understanding of each mode's capabilities and limitations, allowing you to effectively break down complex problems into discrete tasks that can be solved by different specialists.",
- "customInstructions": "Your role is to coordinate complex workflows by delegating tasks to specialized modes. As an orchestrator, you should:\n\n1. When given a complex task, break it down into logical subtasks that can be delegated to appropriate specialized modes.\n\n2. For each subtask, use the `new_task` tool to delegate. Choose the most appropriate mode for the subtask's specific goal and provide comprehensive instructions in the `message` parameter. These instructions must include:\n * All necessary context from the parent task or previous subtasks required to complete the work.\n * A clearly defined scope, specifying exactly what the subtask should accomplish.\n * An explicit statement that the subtask should *only* perform the work outlined in these instructions and not deviate.\n * An instruction for the subtask to signal completion by using the `attempt_completion` tool, providing a concise yet thorough summary of the outcome in the `result` parameter, keeping in mind that this summary will be the source of truth used to keep track of what was completed on this project. \n * A statement that these specific instructions supersede any conflicting general instructions the subtask's mode might have.\n\n3. Track and manage the progress of all subtasks. When a subtask is completed, analyze its results and determine the next steps.\n\n4. Help the user understand how the different subtasks fit together in the overall workflow. Provide clear reasoning about why you're delegating specific tasks to specific modes.\n\n5. When all subtasks are completed, synthesize the results and provide a comprehensive overview of what was accomplished.\n\n6. Ask clarifying questions when necessary to better understand how to break down complex tasks effectively.\n\n7. Suggest improvements to the workflow based on the results of completed subtasks.\n\nUse subtasks to maintain clarity. If a request significantly shifts focus or requires a different expertise (mode), consider creating a subtask rather than overloading the current one.",
- "groups": [],
- "source": "global"
- }
- ]
-}
\ No newline at end of file
diff --git a/packages/kilo-docs/static/downloads/memory-bank.md b/packages/kilo-docs/static/downloads/memory-bank.md
deleted file mode 100644
index 6482c0b3621..00000000000
--- a/packages/kilo-docs/static/downloads/memory-bank.md
+++ /dev/null
@@ -1,167 +0,0 @@
-# Memory Bank
-
-I am an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional. The memory bank files are located in `.kilocode/rules/memory-bank` folder.
-
-When I start a task, I will include `[Memory Bank: Active]` at the beginning of my response if I successfully read the memory bank files, or `[Memory Bank: Missing]` if the folder doesn't exist or is empty. If memory bank is missing, I will warn the user about potential issues and suggest initialization.
-
-## Memory Bank Structure
-
-The Memory Bank consists of core files and optional context files, all in Markdown format.
-
-### Core Files (Required)
-1. `brief.md`
- This file is created and maintained manually by the developer. Don't edit this file directly but suggest to user to update it if it can be improved.
- - Foundation document that shapes all other files
- - Created at project start if it doesn't exist
- - Defines core requirements and goals
- - Source of truth for project scope
-
-2. `product.md`
- - Why this project exists
- - Problems it solves
- - How it should work
- - User experience goals
-
-3. `context.md`
- This file should be short and factual, not creative or speculative.
- - Current work focus
- - Recent changes
- - Next steps
-
-4. `architecture.md`
- - System architecture
- - Source Code paths
- - Key technical decisions
- - Design patterns in use
- - Component relationships
- - Critical implementation paths
-
-5. `tech.md`
- - Technologies used
- - Development setup
- - Technical constraints
- - Dependencies
- - Tool usage patterns
-
-### Additional Files
-Create additional files/folders within memory-bank/ when they help organize:
-- `tasks.md` - Documentation of repetitive tasks and their workflows
-- Complex feature documentation
-- Integration specifications
-- API documentation
-- Testing strategies
-- Deployment procedures
-
-## Core workflows
-
-### Memory Bank Initialization
-
-The initialization step is CRITICALLY IMPORTANT and must be done with extreme thoroughness as it defines all future effectiveness of the Memory Bank. This is the foundation upon which all future interactions will be built.
-
-When user requests initialization of the memory bank (command `initialize memory bank`), I'll perform an exhaustive analysis of the project, including:
-- All source code files and their relationships
-- Configuration files and build system setup
-- Project structure and organization patterns
-- Documentation and comments
-- Dependencies and external integrations
-- Testing frameworks and patterns
-
-I must be extremely thorough during initialization, spending extra time and effort to build a comprehensive understanding of the project. A high-quality initialization will dramatically improve all future interactions, while a rushed or incomplete initialization will permanently limit my effectiveness.
-
-After initialization, I will ask the user to read through the memory bank files and verify product description, used technologies and other information. I should provide a summary of what I've understood about the project to help the user verify the accuracy of the memory bank files. I should encourage the user to correct any misunderstandings or add missing information, as this will significantly improve future interactions.
-
-### Memory Bank Update
-
-Memory Bank updates occur when:
-1. Discovering new project patterns
-2. After implementing significant changes
-3. When user explicitly requests with the phrase **update memory bank** (MUST review ALL files)
-4. When context needs clarification
-
-If I notice significant changes that should be preserved but the user hasn't explicitly requested an update, I should suggest: "Would you like me to update the memory bank to reflect these changes?"
-
-To execute Memory Bank update, I will:
-
-1. Review ALL project files
-2. Document current state
-3. Document Insights & Patterns
-4. If requested with additional context (e.g., "update memory bank using information from @/Makefile"), focus special attention on that source
-
-Note: When triggered by **update memory bank**, I MUST review every memory bank file, even if some don't require updates. Focus particularly on context.md as it tracks current state.
-
-### Add Task
-
-When user completes a repetitive task (like adding support for a new model version) and wants to document it for future reference, they can request: **add task** or **store this as a task**.
-
-This workflow is designed for repetitive tasks that follow similar patterns and require editing the same files. Examples include:
-- Adding support for new AI model versions
-- Implementing new API endpoints following established patterns
-- Adding new features that follow existing architecture
-
-Tasks are stored in the file `tasks.md` in the memory bank folder. The file is optional and can be empty. The file can store many tasks.
-
-To execute Add Task workflow:
-
-1. Create or update `tasks.md` in the memory bank folder
-2. Document the task with:
- - Task name and description
- - Files that need to be modified
- - Step-by-step workflow followed
- - Important considerations or gotchas
- - Example of the completed implementation
-3. Include any context that was discovered during task execution but wasn't previously documented
-
-Example task entry:
-```markdown
-## Add New Model Support
-**Last performed:** [date]
-**Files to modify:**
-- `/providers/gemini.md` - Add model to documentation
-- `/src/providers/gemini-config.ts` - Add model configuration
-- `/src/constants/models.ts` - Add to model list
-- `/tests/providers/gemini.test.ts` - Add test cases
-
-**Steps:**
-1. Add model configuration with proper token limits
-2. Update documentation with model capabilities
-3. Add to constants file for UI display
-4. Write tests for new model configuration
-
-**Important notes:**
-- Check Google's documentation for exact token limits
-- Ensure backward compatibility with existing configurations
-- Test with actual API calls before committing
-```
-
-### Regular Task Execution
-
-In the beginning of EVERY task I MUST read ALL memory bank files - this is not optional.
-
-The memory bank files are located in `.kilocode/rules/memory-bank` folder. If the folder doesn't exist or is empty, I will warn user about potential issues with the memory bank. I will include `[Memory Bank: Active]` at the beginning of my response if I successfully read the memory bank files, or `[Memory Bank: Missing]` if the folder doesn't exist or is empty. If memory bank is missing, I will warn the user about potential issues and suggest initialization. I should briefly summarize my understanding of the project to confirm alignment with the user's expectations, like:
-
-"[Memory Bank: Active] I understand we're building a React inventory system with barcode scanning. Currently implementing the scanner component that needs to work with the backend API."
-
-When starting a task that matches a documented task in `tasks.md`, I should mention this and follow the documented workflow to ensure no steps are missed.
-
-If the task was repetitive and might be needed again, I should suggest: "Would you like me to add this task to the memory bank for future reference?"
-
-In the end of the task, when it seems to be completed, I will update `context.md` accordingly. If the change seems significant, I will suggest to the user: "Would you like me to update memory bank to reflect these changes?" I will not suggest updates for minor changes.
-
-## Context Window Management
-
-When the context window fills up during an extended session:
-1. I should suggest updating the memory bank to preserve the current state
-2. Recommend starting a fresh conversation/task
-3. In the new conversation, I will automatically load the memory bank files to maintain continuity
-
-## Technical Implementation
-
-Memory Bank is built on Kilo Code's Custom Rules feature, with files stored as standard markdown documents that both the user and I can access.
-
-## Important Notes
-
-REMEMBER: After every memory reset, I begin completely fresh. The Memory Bank is my only link to previous work. It must be maintained with precision and clarity, as my effectiveness depends entirely on its accuracy.
-
-If I detect inconsistencies between memory bank files, I should prioritize brief.md and note any discrepancies to the user.
-
-IMPORTANT: I MUST read ALL memory bank files at the start of EVERY task - this is not optional. The memory bank files are located in `.kilocode/rules/memory-bank` folder.
diff --git a/packages/kilo-docs/static/img/ai-adoption/adoption-dashboard.png b/packages/kilo-docs/static/img/ai-adoption/adoption-dashboard.png
deleted file mode 100644
index 96a4338d999..00000000000
Binary files a/packages/kilo-docs/static/img/ai-adoption/adoption-dashboard.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/ai-adoption/coverage.png b/packages/kilo-docs/static/img/ai-adoption/coverage.png
deleted file mode 100644
index 3348ab83ce8..00000000000
Binary files a/packages/kilo-docs/static/img/ai-adoption/coverage.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/ai-adoption/depth.png b/packages/kilo-docs/static/img/ai-adoption/depth.png
deleted file mode 100644
index b25b25256c3..00000000000
Binary files a/packages/kilo-docs/static/img/ai-adoption/depth.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/ai-adoption/frequency.png b/packages/kilo-docs/static/img/ai-adoption/frequency.png
deleted file mode 100644
index cb960c93156..00000000000
Binary files a/packages/kilo-docs/static/img/ai-adoption/frequency.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/ai-adoption/stacked-chart.png b/packages/kilo-docs/static/img/ai-adoption/stacked-chart.png
deleted file mode 100644
index aa05423d83e..00000000000
Binary files a/packages/kilo-docs/static/img/ai-adoption/stacked-chart.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-1.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-1.png
deleted file mode 100644
index 6ee23e74f29..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-10.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-10.png
deleted file mode 100644
index 57d8f98d16a..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-10.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-2.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-2.png
deleted file mode 100644
index 0aa5acf5850..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-2.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-3.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-3.png
deleted file mode 100644
index 50acf92cdc3..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-3.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-4.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-4.png
deleted file mode 100644
index 0a187791fc0..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-4.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-5.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-5.png
deleted file mode 100644
index c55abe2094f..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-5.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-6.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-6.png
deleted file mode 100644
index 0a187791fc0..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-6.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-7.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-7.png
deleted file mode 100644
index 815ca93117e..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-7.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-8.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-8.png
deleted file mode 100644
index a93f7db6ec9..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-8.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-9.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-9.png
deleted file mode 100644
index 110e26978e2..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles-9.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles.png b/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles.png
deleted file mode 100644
index da0a16efadd..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/api-configuration-profiles.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/api-configuration-profiles/provider-modes.mp4 b/packages/kilo-docs/static/img/api-configuration-profiles/provider-modes.mp4
deleted file mode 100644
index 23dcab67bdf..00000000000
Binary files a/packages/kilo-docs/static/img/api-configuration-profiles/provider-modes.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-1.png b/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-1.png
deleted file mode 100644
index 679265c5c5a..00000000000
Binary files a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-13.png b/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-13.png
deleted file mode 100644
index 6998442dbc5..00000000000
Binary files a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-13.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-14.png b/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-14.png
deleted file mode 100644
index 06598699385..00000000000
Binary files a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-14.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-4.png b/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-4.png
deleted file mode 100644
index aca74d783f9..00000000000
Binary files a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-4.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-9.png b/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-9.png
deleted file mode 100644
index 238cbd30c77..00000000000
Binary files a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions-9.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions.png b/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions.png
deleted file mode 100644
index ea4a7a426a0..00000000000
Binary files a/packages/kilo-docs/static/img/auto-approving-actions/auto-approving-actions.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/auto-cleanup/settings.png b/packages/kilo-docs/static/img/auto-cleanup/settings.png
deleted file mode 100644
index b887ecf2764..00000000000
Binary files a/packages/kilo-docs/static/img/auto-cleanup/settings.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/available-tools/available-tools.png b/packages/kilo-docs/static/img/available-tools/available-tools.png
deleted file mode 100644
index ef90e554a8a..00000000000
Binary files a/packages/kilo-docs/static/img/available-tools/available-tools.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/boomerang-tasks/Roo-Code-Boomerang-Tasks.mp4 b/packages/kilo-docs/static/img/boomerang-tasks/Roo-Code-Boomerang-Tasks.mp4
deleted file mode 100644
index 07669d5c58d..00000000000
Binary files a/packages/kilo-docs/static/img/boomerang-tasks/Roo-Code-Boomerang-Tasks.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/img/code-actions/add-to-context.gif b/packages/kilo-docs/static/img/code-actions/add-to-context.gif
deleted file mode 100644
index 348d3d5094a..00000000000
Binary files a/packages/kilo-docs/static/img/code-actions/add-to-context.gif and /dev/null differ
diff --git a/packages/kilo-docs/static/img/favicon.ico b/packages/kilo-docs/static/img/favicon.ico
deleted file mode 100644
index ac9f6b1e97e..00000000000
Binary files a/packages/kilo-docs/static/img/favicon.ico and /dev/null differ
diff --git a/packages/kilo-docs/static/img/footgun-prompting/footgun-prompting.png b/packages/kilo-docs/static/img/footgun-prompting/footgun-prompting.png
deleted file mode 100644
index 0f19fa5c268..00000000000
Binary files a/packages/kilo-docs/static/img/footgun-prompting/footgun-prompting.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/git-commit-generation/git-commit-1.png b/packages/kilo-docs/static/img/git-commit-generation/git-commit-1.png
deleted file mode 100644
index 8d6d72d0cdf..00000000000
Binary files a/packages/kilo-docs/static/img/git-commit-generation/git-commit-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/git-commit-generation/git-commit-2.png b/packages/kilo-docs/static/img/git-commit-generation/git-commit-2.png
deleted file mode 100644
index de4cdfd1b97..00000000000
Binary files a/packages/kilo-docs/static/img/git-commit-generation/git-commit-2.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/installing/installing-1.png b/packages/kilo-docs/static/img/installing/installing-1.png
deleted file mode 100644
index d2baafe79ff..00000000000
Binary files a/packages/kilo-docs/static/img/installing/installing-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/installing/installing-4.png b/packages/kilo-docs/static/img/installing/installing-4.png
deleted file mode 100644
index f2870524db7..00000000000
Binary files a/packages/kilo-docs/static/img/installing/installing-4.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/installing/installing.png b/packages/kilo-docs/static/img/installing/installing.png
deleted file mode 100644
index c802587c527..00000000000
Binary files a/packages/kilo-docs/static/img/installing/installing.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/jetbrains/android-studio-jcef-enable.gif b/packages/kilo-docs/static/img/jetbrains/android-studio-jcef-enable.gif
deleted file mode 100644
index dc5b59e9050..00000000000
Binary files a/packages/kilo-docs/static/img/jetbrains/android-studio-jcef-enable.gif and /dev/null differ
diff --git a/packages/kilo-docs/static/img/kilo-provider/connected-accounts.png b/packages/kilo-docs/static/img/kilo-provider/connected-accounts.png
deleted file mode 100644
index d07f0c7fe53..00000000000
Binary files a/packages/kilo-docs/static/img/kilo-provider/connected-accounts.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/kilogif.gif b/packages/kilo-docs/static/img/kilogif.gif
deleted file mode 100644
index 800d05f52a2..00000000000
Binary files a/packages/kilo-docs/static/img/kilogif.gif and /dev/null differ
diff --git a/packages/kilo-docs/static/img/model-temperature/model-temperature.gif b/packages/kilo-docs/static/img/model-temperature/model-temperature.gif
deleted file mode 100644
index 0e6b7a9b162..00000000000
Binary files a/packages/kilo-docs/static/img/model-temperature/model-temperature.gif and /dev/null differ
diff --git a/packages/kilo-docs/static/img/model-temperature/model-temperature.png b/packages/kilo-docs/static/img/model-temperature/model-temperature.png
deleted file mode 100644
index 89152261155..00000000000
Binary files a/packages/kilo-docs/static/img/model-temperature/model-temperature.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/providers/ollama-devstral-snake.png b/packages/kilo-docs/static/img/providers/ollama-devstral-snake.png
deleted file mode 100644
index cb7450aa2b4..00000000000
Binary files a/packages/kilo-docs/static/img/providers/ollama-devstral-snake.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/providers/v0-setup.png b/packages/kilo-docs/static/img/providers/v0-setup.png
deleted file mode 100644
index 9d66177d6a3..00000000000
Binary files a/packages/kilo-docs/static/img/providers/v0-setup.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/setting-up/signupflow.gif b/packages/kilo-docs/static/img/setting-up/signupflow.gif
deleted file mode 100644
index 63dc8156fcf..00000000000
Binary files a/packages/kilo-docs/static/img/setting-up/signupflow.gif and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/clear-zsh-eol-mark.png b/packages/kilo-docs/static/img/shell-integration/clear-zsh-eol-mark.png
deleted file mode 100644
index 99577c7e2c9..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/clear-zsh-eol-mark.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/oh-my-zsh.png b/packages/kilo-docs/static/img/shell-integration/oh-my-zsh.png
deleted file mode 100644
index e36beb5b592..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/oh-my-zsh.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/power-shell-workaround.png b/packages/kilo-docs/static/img/shell-integration/power-shell-workaround.png
deleted file mode 100644
index 6de7d444a0a..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/power-shell-workaround.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/power10k.png b/packages/kilo-docs/static/img/shell-integration/power10k.png
deleted file mode 100644
index 98ff9c71810..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/power10k.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/shell-integration-timeout.png b/packages/kilo-docs/static/img/shell-integration/shell-integration-timeout.png
deleted file mode 100644
index 01345d64493..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/shell-integration-timeout.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/terminal-command-delay.png b/packages/kilo-docs/static/img/shell-integration/terminal-command-delay.png
deleted file mode 100644
index 85b7ef7b2d3..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/terminal-command-delay.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/terminal-output-limit.png b/packages/kilo-docs/static/img/shell-integration/terminal-output-limit.png
deleted file mode 100644
index 76d0dbaad19..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/terminal-output-limit.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/shell-integration/zdotdir.png b/packages/kilo-docs/static/img/shell-integration/zdotdir.png
deleted file mode 100644
index fb08cd20f85..00000000000
Binary files a/packages/kilo-docs/static/img/shell-integration/zdotdir.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/suggested-responses/suggested-responses-1.png b/packages/kilo-docs/static/img/suggested-responses/suggested-responses-1.png
deleted file mode 100644
index 76fe29f5366..00000000000
Binary files a/packages/kilo-docs/static/img/suggested-responses/suggested-responses-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/suggested-responses/suggested-responses.png b/packages/kilo-docs/static/img/suggested-responses/suggested-responses.png
deleted file mode 100644
index e9e8def917c..00000000000
Binary files a/packages/kilo-docs/static/img/suggested-responses/suggested-responses.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/the-chat-interface/the-chat-interface-1.png b/packages/kilo-docs/static/img/the-chat-interface/the-chat-interface-1.png
deleted file mode 100644
index d4550828b1b..00000000000
Binary files a/packages/kilo-docs/static/img/the-chat-interface/the-chat-interface-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/v3.11/v3.11-1.png b/packages/kilo-docs/static/img/v3.11/v3.11-1.png
deleted file mode 100644
index 22a7c73f815..00000000000
Binary files a/packages/kilo-docs/static/img/v3.11/v3.11-1.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/v3.11/v3.11-2.png b/packages/kilo-docs/static/img/v3.11/v3.11-2.png
deleted file mode 100644
index b51f1b9b040..00000000000
Binary files a/packages/kilo-docs/static/img/v3.11/v3.11-2.png and /dev/null differ
diff --git a/packages/kilo-docs/static/img/v3.11/v3.11.png b/packages/kilo-docs/static/img/v3.11/v3.11.png
deleted file mode 100644
index 6966f45af7b..00000000000
Binary files a/packages/kilo-docs/static/img/v3.11/v3.11.png and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/Indexing.mp4 b/packages/kilo-docs/static/videos/Indexing.mp4
deleted file mode 100644
index 22e69899b45..00000000000
Binary files a/packages/kilo-docs/static/videos/Indexing.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/MCP.mp4 b/packages/kilo-docs/static/videos/MCP.mp4
deleted file mode 100644
index d34005a9814..00000000000
Binary files a/packages/kilo-docs/static/videos/MCP.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/Models.mp4 b/packages/kilo-docs/static/videos/Models.mp4
deleted file mode 100644
index ddd238bd451..00000000000
Binary files a/packages/kilo-docs/static/videos/Models.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/Modes.mp4 b/packages/kilo-docs/static/videos/Modes.mp4
deleted file mode 100644
index 4e25e564337..00000000000
Binary files a/packages/kilo-docs/static/videos/Modes.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/Prompt.mp4 b/packages/kilo-docs/static/videos/Prompt.mp4
deleted file mode 100644
index 8173c8dc485..00000000000
Binary files a/packages/kilo-docs/static/videos/Prompt.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/Provider.mp4 b/packages/kilo-docs/static/videos/Provider.mp4
deleted file mode 100644
index ee1aba8c2b5..00000000000
Binary files a/packages/kilo-docs/static/videos/Provider.mp4 and /dev/null differ
diff --git a/packages/kilo-docs/static/videos/configure_free_codestral.mp4 b/packages/kilo-docs/static/videos/configure_free_codestral.mp4
deleted file mode 100644
index ad77125b7a5..00000000000
--- a/packages/kilo-docs/static/videos/configure_free_codestral.mp4
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:06397286f4a68a7b174f4cec80e6bc1cec7bf9e514f517cc805097d1d849aa81
-size 5525874
diff --git a/packages/kilo-docs/tailwind.config.js b/packages/kilo-docs/tailwind.config.js
new file mode 100644
index 00000000000..e7c425c3406
--- /dev/null
+++ b/packages/kilo-docs/tailwind.config.js
@@ -0,0 +1,9 @@
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ content: ["./pages/**/*.{js,ts,jsx,tsx,md}", "./components/**/*.{js,ts,jsx,tsx}"],
+ darkMode: "class",
+ theme: {
+ extend: {},
+ },
+ plugins: [],
+}
diff --git a/packages/kilo-docs/tsconfig.json b/packages/kilo-docs/tsconfig.json
index 920d7a6523b..4ba064531d2 100644
--- a/packages/kilo-docs/tsconfig.json
+++ b/packages/kilo-docs/tsconfig.json
@@ -1,8 +1,20 @@
{
- // This file is not used in compilation. It is here just for a nice editor experience.
- "extends": "@docusaurus/tsconfig",
- "compilerOptions": {
- "baseUrl": "."
- },
- "exclude": [".docusaurus", "build"]
+ "compilerOptions": {
+ "target": "es5",
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "strict": false,
+ "forceConsistentCasingInFileNames": true,
+ "noEmit": true,
+ "incremental": true,
+ "esModuleInterop": true,
+ "module": "esnext",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "jsx": "react-jsx"
+ },
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
+ "exclude": ["node_modules"]
}
diff --git a/packages/kilo-docs/turbo.json b/packages/kilo-docs/turbo.json
deleted file mode 100644
index 8aeea91b7db..00000000000
--- a/packages/kilo-docs/turbo.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "$schema": "https://turbo.build/schema.json",
- "extends": ["//"],
- "tasks": {
- "build": {
- "inputs": [
- "docs/**",
- "blog-posts/**",
- "src/**",
- "static/**",
- "i18n/**",
- "docusaurus.config.ts",
- "sidebars.ts",
- "package.json"
- ],
- "outputs": ["build/**"],
- "env": ["POSTHOG_API_KEY", "FREE_TIER_AMOUNT"]
- }
- }
-}