Files
claude-context-mcp/packages/core/CONTRIBUTING.md
2025-07-18 16:01:31 +08:00

1.2 KiB

Contributing to @zilliz/code-context-core

Thanks for your interest in contributing to the Code Context core package!

📖 First time contributing? Please read the main contributing guide first for general setup and workflow.

Core Package Development

This guide covers development specific to the core indexing engine.

Development Workflow

Quick Commands

# Build core package
pnpm build:core

# Watch mode for development
pnpm dev:core

Making Changes

  1. Create a new branch for your feature/fix
  2. Make your changes in the src/ directory
  3. Follow the commit guidelines in the main guide

Project Structure

  • src/indexer.ts - Main CodeIndexer class
  • src/embedding/ - Embedding providers (OpenAI, VoyageAI, Ollama)
  • src/vectordb/ - Vector database implementations (Milvus)
  • src/splitter/ - Code splitting logic
  • src/types.ts - TypeScript type definitions

Guidelines

  • Use TypeScript strict mode
  • Follow existing code style
  • Handle errors gracefully

Questions?