Metadata-Version: 2.4
Name: fred-portable
Version: 0.1.0
Summary: Zero-dependency portable contracts and utilities for Fred — observability, context, tracing taxonomy.
Author-email: Thales <noreply@thalesgroup.com>
License: Apache-2.0
Requires-Python: <3.13,>=3.12
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: bandit>=1.8.6; extra == "dev"
Requires-Dist: basedpyright==1.31.0; extra == "dev"
Requires-Dist: detect-secrets>=1.5.0; extra == "dev"
Requires-Dist: pytest>=8.4.2; extra == "dev"
Requires-Dist: pytest-cov>=6.2.1; extra == "dev"
Requires-Dist: pytest-socket>=0.7.0; extra == "dev"
Requires-Dist: ruff>=0.12.5; extra == "dev"

# GenAI SDK (Clean-Room Mimic)

This folder provides a **clean-room mimic** of the observability contract pattern used by the internal GenAI SDK.

Goals:
- Provide Apache 2.0 compatible contracts and minimal helpers.
- Keep the surface small and explicit (tracing taxonomy + provider ports + testkit).
- Enable the Fred runtime to inject tracing/metrics/event providers consistently.

Non-goals:
- Copying any code or specs from the internal SDK.
- Shipping a full runtime or platform.

Structure:
- `src/genai_sdk_contracts`: clean-room contracts (context + tracing taxonomy)
- `src/genai_sdk_observability`: provider interfaces + minimal tracer implementations
- `src/genai_sdk_testkit`: small helpers for span assertions

All implementations here are intentionally minimal and meant to be extended by Fred runtime adapters.
