RS
Projects

Skycode

Maintenance

AI Code Editor

Skycode AI editor with agent panel and inline diff

VS Code fork with a built-in AI agent. 30+ agent tools, inline diff with per-message snapshots, semantic code search, 40+ model providers, MCP integrations, voice input.

Key features

  • Snapshot-based inline diff engine (217 unit tests)
  • AI agent supporting 40+ providers (Anthropic, OpenAI, local LLMs)
  • Semantic search via transformers.js + tree-sitter + SQLite
  • 5 working modes (Act, Plan, Debug, Ask, Edit)

Architecture

Snapshot-based inline diff: each AI message creates a rollback point holding the contents of all changed files BEFORE the change is applied. This makes per-block accept/reject possible and lets the user roll the editor back to any chat message without writing to disk until confirmed.

The AI agent is built on a unified tool interface (30+ tools) and supports 40+ model providers: Anthropic, OpenAI, Google, DeepSeek, Qwen, local LLMs via Ollama. The agent runs in 5 modes (Act, Plan, Debug, Ask, Edit), each with its own toolset and system prompt.

Semantic code search runs locally: transformers.js computes embeddings, Tree-sitter parses the AST, SQLite stores the index. Search is by meaning, not by substring — without sending code to the cloud.

The diff engine is covered by 217 unit tests: snapshot creation, correctness of per-block accept/reject, restoration on rollback, edge cases with concurrent changes. The architecture is decoupled from the UI and tested without DOM.

Stack

TypeScriptReactgRPC/ProtobufTree-sitterSQLiteElectron