cached-context 0.3.0

File cache with diff tracking for AI coding agents
Documentation
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2026-03-14

### BREAKING CHANGE: Package Renamed

The package has been renamed from `cachebro` to `cached-context` for improved clarity and branding.

#### What Changed

- **Package name**: `cachebro``cached-context`
- **Binary name**: `cachebro``cached-context`
- **Default cache directory**: `.cachebro/``.cached-context/`
- **MCP server name**: `cachebro``cached-context` (tool names change accordingly)
- **Repository**: `github.com/terraphim/cachebro``github.com/terraphim/cached-context`
- **crates.io package**: New package `cached-context` v0.3.0 published

#### Migration Guide

1. **Install the new binary**:
   ```bash
   cargo install cached-context
   ```

2. **Update AI agent configurations**:

   **Claude Code** (`~/.claude/settings.json`):
   ```json
   {
     "permissions": {
       "allow": [
         "mcp__cached_context__read_file",
         "mcp__cached_context__read_files",
         "mcp__cached_context__cache_status",
         "mcp__cached_context__cache_clear"
       ]
     },
     "mcpServers": {
       "cached_context": {
         "command": "cached-context",
         "args": ["serve"]
       }
     }
   }
   ```

   **OpenCode** (`~/.config/opencode/opencode.json`):
   ```json
   {
     "mcp": {
       "cached_context": {
         "type": "local",
         "command": ["/Users/alex/.cargo/bin/cached-context", "serve"]
       }
     }
   }
   ```

   **Cursor** (`~/.cursor/mcp.json`):
   ```json
   {
     "mcpServers": {
       "cached-context": {
         "command": "cached-context",
         "args": ["serve"]
       }
     }
   }
   ```

3. **Update project .gitignore**:
   ```gitignore
   # Old (remove)
   .cachebro/
   
   # New (add)
   .cached-context/
   ```

4. **Clear old cache** (optional):
   ```bash
   rm -rf .cachebro/
   ```

5. **Restart AI agents** to pick up the new MCP server.

#### Features Unchanged

- Token savings (~26%) continue working identically
- All MCP tools function the same way
- SQLite schema unchanged
- Diff algorithm unchanged
- Performance characteristics unchanged

---

## [0.2.3] - 2025-03-14

### Fixed

- Version bump for consistency

## [0.2.2] - 2025-02-22

### Added

- macOS code signing for distributed binaries
- CONTRIBUTING.md guidelines
- MIT LICENSE file

### Fixed

- Various clippy warnings
- Documentation improvements

## [0.2.1] - 2025-02-18

### Fixed

- MCP protocol compliance improvements
- Better error handling for file operations

## [0.2.0] - 2025-02-15

### Added

- Initial Rust implementation
- MCP server with `read_file`, `read_files`, `cache_status`, `cache_clear` tools
- SQLite-based caching with SHA-256 hashing
- Unified diff output using `similar` crate
- Token savings tracking and reporting
- Support for partial file reads (offset/limit)
- Multi-session isolation

### Notes

- Rust rewrite of original TypeScript implementation
- Built with terraphim_persistence and rmcp