From 24c5287c3df9d7330a63edde8dace111ae93fc01 Mon Sep 17 00:00:00 2001 From: Brett Adams Date: Fri, 24 Jul 2026 17:40:07 +1000 Subject: [PATCH] build: regenerate derived files to match merged proto sources Re-runs the canonical codegen pipeline so committed generated output matches proto/. The only drift was packages/typescript/src/charging/charging.ts, which still had a stale source-of-record comment removed from proto/charging/charging.proto by a later follow-up commit that wasn't regenerated. DashcamSei's generated files were already in sync. --- .changeset/regenerate-charging-comment.md | 5 +++++ packages/typescript/src/charging/charging.ts | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 .changeset/regenerate-charging-comment.md diff --git a/.changeset/regenerate-charging-comment.md b/.changeset/regenerate-charging-comment.md new file mode 100644 index 0000000..4f942fa --- /dev/null +++ b/.changeset/regenerate-charging-comment.md @@ -0,0 +1,5 @@ +--- +"@teslemetry/tesla-protocol": patch +--- + +Regenerate `packages/typescript/src/charging/charging.ts` from `proto/charging/charging.proto` to drop a stale source-of-record comment block that was removed from the proto source but never re-synced into the generated output. diff --git a/packages/typescript/src/charging/charging.ts b/packages/typescript/src/charging/charging.ts index 5185623..5d796ec 100644 --- a/packages/typescript/src/charging/charging.ts +++ b/packages/typescript/src/charging/charging.ts @@ -9,12 +9,6 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export const protobufPackage = "com.tesla.proto.charging.v1"; -/** - * TESLEMETRY SOURCE-OF-RECORD - no upstream. - * Provenance: Tesla EV charge-session energy metering / billing ("STEM") - * schema, from our own observations and contributions from the community. - */ - /** * Split integer energy representation: whole watt-hours plus a * sub-watt-hour remainder in milli-watt-hours.