Repository navigation
Releases: Glacis-io/glacis-python
Releases · Glacis-io/glacis-python
Release list
v0.8.0
What's New
- Async-safe pipeline state: Replaced
threading.local()withcontextvars.ContextVarfor safe concurrent asyncio usage - New context managers:
GlacisTagScopeandGlacisOperationContextwith proper token-based cleanup - Fixed
get_evidence(): Now reads storage backend fromglacis.yamlconfig instead of hardcoding SQLite - Removed online attestation path
- Updated all provider integrations (OpenAI, Anthropic, Gemini, LiteLLM)
Breaking Changes
GlacisCallContextrenamed toGlacisTagScope(deprecated alias available for one release)online_attestation_demoandexamples/online_openai.pyremoved
v0.6.0
What's New
Custom Metadata
- All integration wrappers (
attested_openai,attested_anthropic,attested_gemini) now accept ametadataparameter for custom key-value pairs included in every attestation
Integration Refactor
- Consolidated ~270 lines of duplicate boilerplate across OpenAI, Anthropic, and Gemini integrations into shared helpers in
base.py - New
IntegrationContextdataclass +setup_integration(),check_input_block(),check_output_block(),attest_and_store()helpers - Single source of truth for the attestation pipeline
Controls & Models
- Staged input/output control pipeline (PII scanning, jailbreak detection, word filter)
- Control Plane Results (CPR) with per-control execution records
- Deterministic L1/L2 sampling with HMAC-based PRF
pip install glacis==0.6.0v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Initial release of GLACIS Python SDK.
Features
- Online mode: Server-witnessed attestations with Merkle proofs
- Offline mode: Local Ed25519 signing (UNVERIFIED status)
- OpenAI and Anthropic integrations with auto-attestation
- SQLite storage for offline receipts
- WASM runtime with PyNaCl fallback
- Streaming session support
- CLI for receipt verification
Installation
pip install glacis