Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

etaoi_schema-0.5.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

etaoi_schema-0.5.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

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

Hashes for etaoi_schema-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8f6385981a9d1224e8a9ee945226ff7d119d0fc3d1a23eb692a69950af4887e9
MD5 25b642cacfdaee7ebf1f49efee6c24b7
BLAKE2b-256 d7cf19cc83e81e18c4a27bc7229929c14721d4e639290e6b050231af2b2e360a

See more details on using hashes here.

Provenance

The following attestation bundles were made for etaoi_schema-0.5.0.tar.gz:

Publisher: publish-schema-py.yml on Klaus073/Tracer---Vigil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for etaoi_schema-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d2db63073ee549b90f3702d07e59bcd06b0901a7ec32fdefb839672405d019
MD5 707b43cc109a604c91e6faa227ce9113
BLAKE2b-256 907dd7765e3f59d3197eccc43095c1e9b746d883b9b87c42877309c07270b962

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page