Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.36.0] - 2026-06-13

Installation & upgrade simplification — a pure `pip`/`pipx` install is now self-contained,
and upgrading no longer requires per-project reconfiguration.

### Added

- **`c3 upgrade`** — upgrade C3 to the latest PyPI release in place (`pip -U` within the running
interpreter; works for both pip and pipx installs). `c3 upgrade --check` only reports whether a
newer release exists. Source and editable (`pip install -e .`) installs are detected and pointed
at `git pull` instead of being clobbered.
- **`VersionCheckAgent`** — background agent that nudges when a newer C3 release is available on
PyPI (once per day, best-effort, swallows offline errors, opt-out via `agents.VersionCheck`).
- **Version-skew notice** — `c3 init` on a project whose `.c3` was written by an older C3 now
prints an upgrade hint pointing at `c3 init . --force`.
- **In-app guide route** — the per-project UI and the Hub serve the bundled guide at
`/guide/<page>`, so the in-app docs work from a pure pip install (and the existing `docs.html`
link to the Bitbucket guide now resolves).

### Changed

- **`.mcp.json` (plus project/global Codex & Gemini configs) now use the `c3-mcp` entry point**
instead of an absolute path into the source checkout. Upgrading no longer requires re-running
`install-mcp` per project — existing configs keep working. Falls back to the source script when
C3 runs from a checkout with no installed console script.
- **The in-app guide now ships in the wheel.** `guide/` moved under the `cli` package
(`cli/guide/`) and is included as package data, so `pip install code-context-control` is
self-contained; previously the guide existed only in a source checkout.
- **`c3` with no arguments launches the interactive TUI** directly from the `c3` console entry
point (previously only the generated `c3.bat` wrapper did this), so the entry points fully
replace the wrapper.
- Registered the `BranchWatch` (v2.35.0) and `VersionCheck` agents in `AGENT_DEFAULTS` so they
appear in freshly generated configs and the Hub agent settings.

### Documentation

- README now leads with `pipx install code-context-control` (no clone needed), documents
`c3 upgrade` / `pipx upgrade` / `pip install -U`, and adds a contributor
`pip install -e ".[dev]"` path.
- `install.bat` / `install.sh` gained pipx/PyPI guidance and `c3 upgrade` in their command help.

## [2.35.0] - 2026-06-13

### Added
Expand Down
33 changes: 28 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,23 @@ Everything runs **locally**. No source code, prompts, or model output ever leave

## Install

Requires Python 3.10+.
Requires Python 3.10+. No clone needed — C3 is published on PyPI.

The recommended install is [pipx](https://pipx.pypa.io) (isolated environment, on your PATH):

```bash
pipx install code-context-control
c3 init /path/to/your/project
```

Or with pip:

```bash
pip install code-context-control
pip install "code-context-control[tui]" # [tui] adds the optional Textual UI
c3 init /path/to/your/project
```

The interactive setup walks you through:
Running `c3` with no arguments opens the interactive TUI. `c3 init` walks you through:
1. **IDE selection** (Claude Code CLI/App, Codex CLI, Gemini CLI, VS Code, Cursor, Antigravity, or Custom)
2. Optional local `git init`
3. MCP server registration (auto-wired into your IDE)
Expand All @@ -63,12 +72,26 @@ Headless / scripted install:
c3 init /path/to/project --force --ide claude --mcp-mode direct --permissions standard
```

Or install from source:
### Upgrading

```bash
c3 upgrade # upgrade the running install in place
c3 upgrade --check # just report whether a newer release exists
# equivalently:
pipx upgrade code-context-control
pip install -U code-context-control
```

MCP is wired through the `c3-mcp` entry point, so upgrading needs **no per-project
reconfiguration** — your existing `.mcp.json` files keep working. C3 also nudges you
in-app when a newer release is available.

### From source (contributors)

```bash
git clone https://github.com/drknowhow/code-context-control.git
cd code-context-control
pip install .[tui] # add the optional Textual TUI
pip install -e ".[dev]" # editable dev install: tests, linters, build tools
```

---
Expand Down
Loading
Loading