Shared wire schema for VIZ (Pydantic v2 source of truth)
Project description
agentviz-schema (Python)
Shared wire schema for VIZ — the Pydantic v2 source of truth for every type that crosses the SDK / server / UI boundary.
This package is consumed by:
agentviz— Python SDK that streams telemetry over WebSocketagentviz-server— FastAPI backend that persists events to ClickHouse and fans them out over SSEagentviz-ui— Next.js UI (via the TypeScript mirror in../typescript/)
The TypeScript mirror in ../typescript/ is hand-maintained from this source.
A CI msgpack-roundtrip parity test (Phase 1 Plan 07) prevents drift.
Public surface
from agentviz_schema import (
# Core domain
Session, Trace, Span,
# Events (discriminated union on `kind`)
SpanStartEvent, SpanDeltaEvent, SpanEndEvent, Event,
# Envelope (D-04)
Envelope,
# Handshake (D-06)
Hello, Welcome, MismatchError,
# Versioning policy (D-05)
is_major_compatible,
# Constants
SCHEMA_VERSION,
WS_CLOSE_SCHEMA_MISMATCH, # 4400
SSE_MISMATCH_HTTP_STATUS, # 426
)
See CONTRIBUTING.md for the additive-only-within-major
versioning policy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file etaoi_schema-0.5.0.tar.gz.
File metadata
- Download URL: etaoi_schema-0.5.0.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f6385981a9d1224e8a9ee945226ff7d119d0fc3d1a23eb692a69950af4887e9
|
|
| MD5 |
25b642cacfdaee7ebf1f49efee6c24b7
|
|
| BLAKE2b-256 |
d7cf19cc83e81e18c4a27bc7229929c14721d4e639290e6b050231af2b2e360a
|
Provenance
The following attestation bundles were made for etaoi_schema-0.5.0.tar.gz:
Publisher:
publish-schema-py.yml on Klaus073/Tracer---Vigil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
etaoi_schema-0.5.0.tar.gz -
Subject digest:
8f6385981a9d1224e8a9ee945226ff7d119d0fc3d1a23eb692a69950af4887e9 - Sigstore transparency entry: 1680118146
- Sigstore integration time:
-
Permalink:
Klaus073/Tracer---Vigil@3369ecac4ed06e4c97075d472e4c57c937ceba63 -
Branch / Tag:
refs/tags/schema-v0.5.0 - Owner: https://github.com/Klaus073
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-schema-py.yml@3369ecac4ed06e4c97075d472e4c57c937ceba63 -
Trigger Event:
push
-
Statement type:
File details
Details for the file etaoi_schema-0.5.0-py3-none-any.whl.
File metadata
- Download URL: etaoi_schema-0.5.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2d2db63073ee549b90f3702d07e59bcd06b0901a7ec32fdefb839672405d019
|
|
| MD5 |
707b43cc109a604c91e6faa227ce9113
|
|
| BLAKE2b-256 |
907dd7765e3f59d3197eccc43095c1e9b746d883b9b87c42877309c07270b962
|
Provenance
The following attestation bundles were made for etaoi_schema-0.5.0-py3-none-any.whl:
Publisher:
publish-schema-py.yml on Klaus073/Tracer---Vigil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
etaoi_schema-0.5.0-py3-none-any.whl -
Subject digest:
e2d2db63073ee549b90f3702d07e59bcd06b0901a7ec32fdefb839672405d019 - Sigstore transparency entry: 1680118245
- Sigstore integration time:
-
Permalink:
Klaus073/Tracer---Vigil@3369ecac4ed06e4c97075d472e4c57c937ceba63 -
Branch / Tag:
refs/tags/schema-v0.5.0 - Owner: https://github.com/Klaus073
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-schema-py.yml@3369ecac4ed06e4c97075d472e4c57c937ceba63 -
Trigger Event:
push
-
Statement type: