Skip to content

Commit b4b1a25

Browse files
committed
docs(agents): stop hardcoding HA's protobuf pin
The pinned version drifts (HA moved 6.32.0 -> 7.36.0); point at the authoritative file instead of a stale number.
1 parent 2725e70 commit b4b1a25

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,11 @@ shims, not generated code. To pick up new message definitions, bump the floor in
204204
`pyproject.toml` — there is no local regeneration step.
205205

206206
**Runtime-version pin (Home Assistant compatibility).** protobuf refuses to load
207-
gencode stamped *newer* than the installed runtime. Home Assistant core pins
208-
`protobuf==6.32.0`, so any `tesla-protocol` version depended on must stamp
209-
gencode **≤ 6.32.0** and declare a `protobuf` requirement compatible with
210-
`==6.32.0` — check both before bumping. Keep `pyproject.toml`'s `protobuf` floor
211-
in sync with what `tesla-protocol` requires, and keep the `tesla-protocol` floor
212-
at `>=1.4.0` (earlier `.pyi` imports fail strict pyright; 1.4.0 is also the first
213-
release allowing protobuf 7).
207+
gencode stamped *newer* than the installed runtime. Check Home Assistant core's
208+
current `protobuf` pin (`homeassistant/package_constraints.txt`) before bumping
209+
`tesla-protocol` — any version depended on must stamp gencode at or below that
210+
pin and declare a `protobuf` requirement compatible with it. Keep
211+
`pyproject.toml`'s `protobuf` floor in sync with what `tesla-protocol` requires.
214212

215213
Command coverage is locked by `tests/test_proto_coverage_lock.py`, which fails if
216214
any `VehicleAction`/`GetVehicleData` field has no wrapper (`commands.py`) or

CLAUDE.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!-- Points Claude at AGENTS.md via import; edit AGENTS.md, not this file. -->
2+
@AGENTS.md

0 commit comments

Comments
 (0)