v0.6.0
v0.6.0 (2026-04-21)
This release is published under the MIT License.
Features
- Multi-scope memory_tools, per-request auth_verifier, commit_sha helper (
3ca218c)
Three additive capabilities for agents that serve real users over HTTP:
-
memory_tools(namespaces={suffix: ns, ...}) — builds parallel remember_ / recall_ tool pairs, each closed over its own namespace. Enables per-user + per-household (or per-org) memory scopes from a single agent build. Single-namespace form (namespace=...) is unchanged and still returns [remember, recall].
-
make_app(auth_verifier=...) — opt-in per-request auth for /chat and /chat/stream. Callable (token) -> {session_id, ...} | None; a 401 is returned on missing/invalid tokens. When configured, session_id is derived from the verifier dict (not the request body) so clients can't spoof another user's session. The full context dict is passed to agent_factory(session_id, context=ctx) IF the factory accepts a
contextkwarg (detected via inspect) — keeps existing camping-db factories working unchanged. -
commit_sha() + make_app(health_info=...) — /health can advertise the deployed revision without shelling out. Reads .git/HEAD (supports worktrees + packed-refs). Pair with health_info=lambda: {"commit": commit_sha()} so deploy pipelines (n8n, GHA) can verify a push actually landed.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Detailed Changes: v0.5.0...v0.6.0