introspection-remote-proto
Python bindings for the introspection dev tunnel wire protocol.
The canonical schema is crates/protocol/proto/remote.proto
in this repository — the single source of truth for the WebSocket tunnel
between the introspection dev CLI and the cloud-side Data Plane. The Rust CLI
codegens it via prost (crates/protocol); this package carries the generated
Python protobuf module so the cloud consumes exactly the same contract
instead of hand-syncing its own copy.
from introspection_remote_proto import remote_pb2, SCHEMA_VERSION
frame = remote_pb2.Frame()
frame.heartbeat.SetInParent()
wire = frame.SerializeToString()
Regenerating
remote_pb2.py is generated from the canonical .proto — never hand-edited.
After changing crates/protocol/proto/remote.proto, regenerate from this
directory:
./gen.sh
The script runs protoc --python_out against the canonical proto and writes
src/introspection_remote_proto/remote_pb2.py. Keep the protobuf protoc
version aligned with the runtime pin in pyproject.toml (protobuf>=5.29,<6);
the generated header records the version it was produced with.
Versioning
The package version tracks the schema. SCHEMA_VERSION (mirroring the Rust
crate's constant) bumps only on breaking envelope changes; additive,
proto3-default-compatible field changes are a minor/patch release that both the
CLI and the Data Plane can adopt independently.
Published to PyPI from this repo's release workflow. The Data Plane depends on
it (introspection-remote-proto) and re-exports remote_pb2 through
introspection_common.remote.
Releases are change-gated: the package publishes a new version only when the
schema (or this package) actually changes — it is versioned independently of
the CLI, starting at 0.1.0, not on every CLI release.
Metadata
Release files for introspection-remote-proto 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| introspection_remote_proto-0.2.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| introspection_remote_proto-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / introspection_remote_proto-0.2.0.tar.gz
| Download URL | introspection_remote_proto-0.2.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38b46d82e985714ff50ea24d2139d04f737cc58fb8a3dd9692740e850dfa9271
|
|
BLAKE2b-256 checksum How to use checksums |
dfe3f9f9788e944d51eb69ae9e7f9361fb687265c2106107be6102692e01b34f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency logRelease files / introspection_remote_proto-0.2.0-py3-none-any.whl
| Download URL | introspection_remote_proto-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b83a5b5f6a154044db49fc16fea42324d82d72f0b15648e09b52408cfe901cc
|
|
BLAKE2b-256 checksum How to use checksums |
3380578289714558793990cf3fda0566573c140184dd25445991897ed7193978
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency log