Metadata-Version: 2.4
Name: context-mixer
Version: 0.2.0
Summary: A tool to create, organize, merge and deploy reusable context instructions across multiple GenAI coding assistants
Author-email: Stacey Vetzal <stacey@vetzal.com>
License: MIT
Project-URL: Homepage, https://github.com/svetzal/context-mixer
Project-URL: Bug Tracker, https://github.com/svetzal/context-mixer/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: mojentic
Requires-Dist: typer
Requires-Dist: rich
Requires-Dist: pyyaml
Requires-Dist: fastmcp
Requires-Dist: chromadb
Requires-Dist: chroma-hnswlib
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: mkdocs; extra == "dev"
Requires-Dist: mkdocs-material; extra == "dev"
Requires-Dist: mkdocs-llmstxt; extra == "dev"
Requires-Dist: mkdocstrings[python]; extra == "dev"
Requires-Dist: griffe-fieldz; extra == "dev"
Requires-Dist: pymdown-extensions; extra == "dev"

# Context Mixer

A command-line tool to create, organize, merge and deploy reusable context instructions across multiple GenAI coding assistants.

## Purpose

Context Mixer helps developers manage context fragments for different AI coding assistants (e.g., GitHub Copilot, Cursor/Windsor, Claude, Junie) in a structured, version-controlled way.

## Features

- **Mix & Slice** context fragments into variant-specific bundles
- **Ingest & Normalize** existing context artifacts from multiple projects
- **Maintain a Source-of-Truth Library** under Git for history and collaboration
- **Token Optimization** to fit assistant limits

## Installation

```bash
# Install with pipx (recommended)
pipx install context-mixer

# Or with pip
pip install context-mixer

# For development
git clone https://github.com/svetzal/context-mixer.git
cd context-mixer
pip install -e ".[dev]"
```

## Requirements

- Python 3.12+
- Git
- Access to either Ollama (local) or OpenAI (remote) LLM services

## Quick Start

```bash
# Initialize a new context library
cmx init

# Assemble contexts for a specific target
cmx assemble --target copilot

# Slice fragments by tags
cmx slice lang:python layer:testing

# Ingest existing contexts
cmx ingest ./my-project

# Sync with remote repository
cmx sync
```

## License

MIT
