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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ pip install context-compiler

Packaging notes:
- Base install includes the core authority-layer engine and CLI.
- Install example files with `pip install "context-compiler[examples]"`.
- Install demo files and demo dependencies with `pip install "context-compiler[demos]"`.
- Example and demo source files are available in the repository and source distribution.
- To run the demos from this repository, clone the repo and install `context-compiler[demos]`.
- The `[demos]` extra installs optional dependencies such as LiteLLM. It does not install demo source files into site-packages.

### Development

Expand Down
6 changes: 5 additions & 1 deletion demos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ patterns still appear in real applications.

## Requirements

Install demo dependencies:
To run the demos from this repository, clone the repo and install the demo dependency extra:

```bash
git clone https://github.com/rlippmann/context-compiler.git
cd context-compiler
pip install "context-compiler[demos]"
```

The `[demos]` extra installs optional dependencies such as LiteLLM. It does not install demo source files into site-packages.

Environment variables (strict provider mode contract):

- `PROVIDER` (optional): `openai` (default), `ollama`, `openai_compatible`
Expand Down
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

This directory contains small authority-layer examples showing typical app-side usage of Context Compiler.

Install examples with:
Install the core package with:

```bash
pip install "context-compiler[examples]"
pip install context-compiler
```

Non-integration example files in this directory are standalone scripts and can be run directly.
Example files in this directory are included in the repository and source distribution, and can be run directly.

## 01_persistent_guardrails.py

Expand Down
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "context-compiler"
version = "0.8.0"
version = "0.8.1"
description = "Deterministic conversational state engine for LLM applications."
readme = "README.md"
requires-python = ">=3.11"
Expand Down Expand Up @@ -40,12 +40,6 @@ context-compiler = "context_compiler.repl:main"
[tool.hatch.build.targets.wheel]
packages = ["src/context_compiler"]

[tool.hatch.build.targets.wheel.force-include]
"demos" = "demos"
"examples" = "examples"
"host_support" = "host_support"
"src/context_compiler/py.typed" = "context_compiler/py.typed"

[tool.hatch.build.targets.sdist]
include = [
"/README.md",
Expand All @@ -57,7 +51,6 @@ include = [
]

[project.optional-dependencies]
examples = []
demos = [
"litellm>=1.0.0",
]
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading