From 0fb07ceda98162d3047d59933444c8a395da0438 Mon Sep 17 00:00:00 2001 From: John McGrath Date: Fri, 4 Sep 2026 06:53:00 -0500 Subject: [PATCH] chore: bump to 0.2.1, fix crates.io category and PyPI readme Replace invalid database::database-engines with caching. Ship sdk/python/README.md so PyPI has a project description. --- Cargo.lock | 6 ++--- Cargo.toml | 4 +-- README.md | 6 ++--- deploy/helm/conproxy/Chart.yaml | 4 +-- docs/deployment.md | 10 +++---- examples/docker-compose/docker-compose.yml | 2 +- sdk/python/Cargo.toml | 2 +- sdk/python/README.md | 31 ++++++++++++++++++++++ sdk/python/pyproject.toml | 9 ++++++- sdk/rust/Cargo.toml | 2 +- 10 files changed, 57 insertions(+), 19 deletions(-) create mode 100644 sdk/python/README.md diff --git a/Cargo.lock b/Cargo.lock index 5584901..ab976b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -741,7 +741,7 @@ dependencies = [ [[package]] name = "conproxy" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "arc-swap", @@ -812,7 +812,7 @@ dependencies = [ [[package]] name = "conproxy-python" -version = "0.2.0" +version = "0.2.1" dependencies = [ "conproxy", "conproxy-sdk", @@ -824,7 +824,7 @@ dependencies = [ [[package]] name = "conproxy-sdk" -version = "0.2.0" +version = "0.2.1" dependencies = [ "dirs", "prost", diff --git a/Cargo.toml b/Cargo.toml index b814966..a03e554 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,13 +4,13 @@ resolver = "2" [package] name = "conproxy" -version = "0.2.0" +version = "0.2.1" edition = "2021" description = "Cache proxy server for heterogeneous RAG/vector search backends with cascade, scope, and MCP" repository = "https://github.com/jmcgrath207/conproxy" homepage = "https://github.com/jmcgrath207/conproxy" keywords = ["cache", "proxy", "rag", "vector-search", "mcp"] -categories = ["web-programming::http-server", "database::database-engines"] +categories = ["web-programming::http-server", "caching"] license = "MIT" readme = "README.md" default-run = "conproxy" diff --git a/README.md b/README.md index 6b03f2a..70c1210 100644 --- a/README.md +++ b/README.md @@ -130,10 +130,10 @@ gRPC client crate: `cargo add conproxy-sdk`. Shared cache in front of a backend — the default when multiple agents share one cache. [Full walkthrough](docs/quickstart.md). ```bash -docker pull ghcr.io/jmcgrath207/conproxy:0.2.0 +docker pull ghcr.io/jmcgrath207/conproxy:0.2.1 docker run -d --name conproxy -p 9999:9999 -p 10000:10000 \ -v "$PWD/conproxy.toml:/etc/conproxy/conproxy.toml:ro" \ - ghcr.io/jmcgrath207/conproxy:0.2.0 + ghcr.io/jmcgrath207/conproxy:0.2.1 curl -s http://127.0.0.1:10000/health ``` @@ -150,7 +150,7 @@ curl -s http://127.0.0.1:9090/query \ Compose (proxy + Meilisearch): `examples/docker-compose/` · [docs/docker-compose.md](docs/docker-compose.md). -Helm: `helm install conproxy oci://ghcr.io/jmcgrath207/charts/conproxy --version 0.2.0` +Helm: `helm install conproxy oci://ghcr.io/jmcgrath207/charts/conproxy --version 0.2.1` `release` = `mcp` + `persistence` + `embed-api` + `pgvector`. Flags: [docs/feature-flags.md](docs/feature-flags.md). diff --git a/deploy/helm/conproxy/Chart.yaml b/deploy/helm/conproxy/Chart.yaml index e83736f..629902b 100644 --- a/deploy/helm/conproxy/Chart.yaml +++ b/deploy/helm/conproxy/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: conproxy description: Cache proxy for heterogeneous RAG/vector search backends type: application -version: 0.2.0 -appVersion: "0.2.0" +version: 0.2.1 +appVersion: "0.2.1" home: https://github.com/jmcgrath207/conproxy maintainers: - name: conproxy diff --git a/docs/deployment.md b/docs/deployment.md index 71106d6..0462272 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -67,7 +67,7 @@ Published multi-arch images (linux/amd64 + linux/arm64) are pushed to GHCR on ev ```bash # Latest tag -docker pull ghcr.io/jmcgrath207/conproxy:0.2.0 +docker pull ghcr.io/jmcgrath207/conproxy:0.2.1 # Floating docker pull ghcr.io/jmcgrath207/conproxy:latest @@ -80,10 +80,10 @@ docker pull ghcr.io/jmcgrath207/conproxy:latest docker build -t conproxy:dev . # Versioned local build -make docker-build VERSION=0.2.0 +make docker-build VERSION=0.2.1 # Multi-arch smoke (requires buildx) -make docker-buildx VERSION=0.2.0 PLATFORMS=linux/amd64,linux/arm64 +make docker-buildx VERSION=0.2.1 PLATFORMS=linux/amd64,linux/arm64 ``` ### Run @@ -95,7 +95,7 @@ make docker-buildx VERSION=0.2.0 PLATFORMS=linux/amd64,linux/arm64 docker run -d \ -p 9999:9999 \ -v $(pwd):/var/lib/conproxy:ro \ - ghcr.io/jmcgrath207/conproxy:0.2.0 start --listen 0.0.0.0:9999 + ghcr.io/jmcgrath207/conproxy:0.2.1 start --listen 0.0.0.0:9999 ``` ### Docker Compose @@ -124,7 +124,7 @@ services: ports: ["7700:7700"] conproxy: - image: ghcr.io/jmcgrath207/conproxy:0.2.0 + image: ghcr.io/jmcgrath207/conproxy:0.2.1 depends_on: meilisearch: { condition: service_healthy } ports: diff --git a/examples/docker-compose/docker-compose.yml b/examples/docker-compose/docker-compose.yml index a5c5f62..2c96f37 100644 --- a/examples/docker-compose/docker-compose.yml +++ b/examples/docker-compose/docker-compose.yml @@ -40,7 +40,7 @@ services: conproxy: # Match the published release; :latest is fine for local play but unstable. - image: ghcr.io/jmcgrath207/conproxy:0.2.0 + image: ghcr.io/jmcgrath207/conproxy:0.2.1 container_name: conproxy-compose-proxy depends_on: meilisearch: diff --git a/sdk/python/Cargo.toml b/sdk/python/Cargo.toml index 83c1b4e..757fe1c 100644 --- a/sdk/python/Cargo.toml +++ b/sdk/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "conproxy-python" -version = "0.2.0" +version = "0.2.1" edition = "2021" publish = false diff --git a/sdk/python/README.md b/sdk/python/README.md new file mode 100644 index 0000000..d226b5a --- /dev/null +++ b/sdk/python/README.md @@ -0,0 +1,31 @@ +# conproxy + +Retrieval-leg cache for **agentic RAG**. Native Rust bindings: in-process `Engine` or gRPC `ConproxyClient`. + +Not an LLM-answer cache (that's GPTCache / RedisVL). Hits skip embed + upstream search when agents re-query. + +```bash +pip install conproxy +``` + +```python +from conproxy import Engine + +engine = Engine(config="conproxy.toml") +result = await engine.query("how does X work", top_k=10) +# result.cache_status: 1=hit, 2=miss, 3=stale, 4=frozen +``` + +Talk to a running daemon instead: + +```python +from conproxy import ConproxyClient + +client = ConproxyClient(grpc_url="http://localhost:9999") +resp = client.query("how does X work", top_k=5) +``` + +Extras: `pip install conproxy[langchain]` · `pip install conproxy[llama-index]` + +- Docs: [Python SDK](https://github.com/jmcgrath207/conproxy/blob/main/docs/sdk-python.md) · [Engine](https://github.com/jmcgrath207/conproxy/blob/main/docs/engine.md) +- Source: [github.com/jmcgrath207/conproxy](https://github.com/jmcgrath207/conproxy) diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index 423c971..c446fc6 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -4,7 +4,9 @@ build-backend = "maturin" [project] name = "conproxy" -description = "Python SDK for conproxy cache proxy (native Rust bindings)" +description = "Python SDK for conproxy — retrieval-leg cache for agentic RAG" +readme = "README.md" +license = { text = "MIT" } requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", @@ -15,6 +17,11 @@ classifiers = [ "Programming Language :: Rust", ] +[project.urls] +Homepage = "https://github.com/jmcgrath207/conproxy" +Documentation = "https://github.com/jmcgrath207/conproxy/blob/main/docs/sdk-python.md" +Repository = "https://github.com/jmcgrath207/conproxy" + [project.optional-dependencies] onnx = [] persist = [] diff --git a/sdk/rust/Cargo.toml b/sdk/rust/Cargo.toml index 04c2c1c..df64769 100644 --- a/sdk/rust/Cargo.toml +++ b/sdk/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "conproxy-sdk" -version = "0.2.0" +version = "0.2.1" edition = "2021" description = "Rust SDK client for conproxy cache proxy" license = "MIT"