Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 2.72 KB

CONTRIBUTING.md

File metadata and controls

68 lines (47 loc) · 2.72 KB

Contributing to SideX

Thanks for your interest. SideX was released early specifically so the community can help build it out.

Quick Start

git clone https://github.com/Sidenai/sidex.git
cd sidex
npm install
npm run tauri dev

See the README for full prerequisites. The editor runs standalone with no account of any kind; the AI chat panel additionally needs the agent server built (Go 1.26+) and a model provider of your own — see AI Agent in the README.

How to Contribute

  1. Fork the repo
  2. Create a branch — git checkout -b my-fix
  3. Make your changes and test with npm run tauri dev
  4. Submit a PR with a clear description of what you changed and why

PRs get reviewed as fast as we can. If your change gets merged, you'll be added as a contributor.

What to Work On

Check Issues for open tasks. If you don't see an issue for what you want to fix, just open a PR — we're not strict about process.

Code Guidelines

TypeScript

  • Follow the existing VSCode patterns in the codebase
  • Use .js extensions on imports (ES modules)
  • Use VSCode's DI pattern with @inject decorators

Rust

  • Commands go in src-tauri/src/commands/
  • Register new commands in src-tauri/src/lib.rs
  • Use Result<T, String> for command return types
  • Use tokio for async work

Go (sidexai/sidex-server)

  • This is the agent server: agent loop, tools, MCP, memory, context compression
  • Build with go build -tags fts5 -o sidex-server ./cmd/server from sidexai/sidex-server
  • It must keep working with no account and no hosted service — credentials come from its process environment only (SIDEX_PROVIDER_<PROVIDER>_KEY / _BASE_URL / _AUTH), never a config file
  • Test against a provider you have your own credentials for; there's no shared or hosted backend to test against

General

  • Keep PRs focused — one feature or fix per PR when possible
  • If you're making a big architectural change, open an issue first to discuss

Project Layout

  • src/vs/ — The VSCode workbench (TypeScript)
  • src-tauri/src/ — Rust backend replacing Electron
  • sidexai/sidex-server/ — Go agent server (chat, tools, MCP, memory)
  • crates/ — Rust support crates: agent tools, context engine, git, LSP, DAP, terminal, extensions, and more
  • ARCHITECTURE.md — How VSCode's architecture maps to Tauri

Questions?

Join the Discord if you need help getting set up or want to coordinate: discord.gg/8CUCnEAC4J

You can also reach out at kendall@siden.ai or @ImRazshy on X.

License

By contributing, you agree that your contributions will be licensed under the MIT License.