GC Code – Internal Company Extension (based on Kilo Code)
This repository is a company-specific fork of the open‑source project Kilo Code.
It is used for internal project development inside our organization and is not an official product of Kilo or Kilo.ai.
GC Code is a VS Code extension that provides an AI coding agent for day‑to‑day development work.
It includes all core capabilities from the original Kilo Code extension, plus additional terminal‑related features that are tailored for internal company workflows.
Overview
- Based on Kilo Code: Reuses the core AI agent, chat UI, modes, MCP integration, and inline completions from the upstream project.
- Company‑oriented usage: Designed to support internal project development, with additional tooling around terminal usage and observability.
- English‑only README: All public‑facing documentation in this fork is written in English for consistency.
Features
Core features
- ✨ Generate code from natural language
- ✅ Checks its own work
- 🧪 Run terminal commands
- 🌐 Automate the browser
- ⚡ Inline autocomplete suggestions
- 🤖 Latest AI models
- 🎁 API keys optional
Extended features in this fork
Managed Terminal (Pseudoterminal)
- The extension exposes a custom “managed” terminal powered by VS Code's
Pseudoterminal API.
- All user input and command output can be captured by the extension for further processing.
- Supports Windows‑specific encoding handling (UTF‑8 / CP936/GBK) to avoid garbled text.
Command Execution Tracking
- Each command start and completion can trigger VS Code notifications.
- Structured data (command, working directory, output, exit code, timestamps) can be serialized as JSON and sent to a backend service (for logging, auditing, or automation).
Command History in the Managed Terminal
- Supports navigating previous commands with the Up / Down arrow keys.
- Users can edit the restored command line and re‑execute it, similar to common shells.
Compatibility with Upstream Functionality
- Chat, modes, MCP servers, and most original Kilo Code behaviors are preserved.
- Command IDs and configuration keys have been renamed from
kilo-code.* to gc-code.* to clearly separate this fork from the upstream extension.
Typical Usage in Company Projects
- Install the
gc-code VSIX build into VS Code.
- Open a workspace that contains your project.
- Use the GC Code commands (for example, the context‑menu or command palette entry) to open the managed terminal.
- Run project commands as usual, for example:
npm run dev
cjc --version / other project‑specific CLIs
- Observe command start / end notifications and, if configured, review any logs produced by your internal backend.
Development and Build
For local development of this fork:
Install dependencies from the monorepo root:
pnpm install
From kilocode-main/src, build the VS Code extension package:
pnpm vsix
Install the generated gc-code-*.vsix in VS Code using “Install from VSIX”.
For more detailed developer setup instructions, you can still refer to the original upstream documentation in DEVELOPMENT.md, adapting paths and command names as needed.
Upstream Project and License
This fork is based on the upstream project Kilo Code, available at:
The upstream project and this fork are licensed under the Apache License 2.0.
You are free to use, modify, and distribute this code (including for commercial purposes) as long as you comply with the Apache 2.0 terms, including proper attribution and license notices.
For the full text of the license, see the LICENSE file or visit:
https://www.apache.org/licenses/LICENSE-2.0