@agent-os/telemetry-protocol
Purpose
Section titled “Purpose”Backend-neutral telemetry vocabulary shared by runtime, backend protocol, and backend interpreters.
Invariant
Section titled “Invariant”Telemetry semantics have one owner. Runtime and backend packages may emit or project telemetry, and wire adapters may convert telemetry to OTLP or vendor protocols, but trace context validation and agentOS telemetry tree shape live in this package.
Minimal Usage
Section titled “Minimal Usage”Runtime and backend implementations import trace context schemas and telemetry tree types from @agent-os/telemetry-protocol. Kernel packages do not depend on telemetry vocabulary.
Verification
Section titled “Verification”Run the package and graph gates:
cd packages/telemetry-protocol && bun run testbun run typecheck