Skip to main content

Generated Python gRPC stubs for the Hannah voice assistant proto schema

Project description

hannah-proto

Protobuf/gRPC schema definitions for the Hannah voice assistant ecosystem (Core, satellites, WebUI, ioBroker adapter, Telegram bot, and other consumers). This repo is the single source of truth for the wire protocol shared across all of them.

The .proto files live flat at the repo root, one per functional area — satellite control, event streaming, the ioBroker agent bridge, user registry, timers, automations, and so on. Nothing here is application code, just schema.

Distribution

Three independent, tag-triggered publish targets — pick whichever matches your language. Each contains only generated gRPC stubs/types for the current tagged release.

Language Package Install
Python PyPI hannah-proto pip install hannah-proto
TypeScript npm @m1kad0/hannah-proto npm install @m1kad0/hannah-proto
Go github.com/NurPech/hannah-proto-go go get github.com/NurPech/hannah-proto-go

Go has no separate package registry, so that tagged GitHub repo is the package — go get resolves it directly.

Versioning: PROTO_VERSION

Alongside the semver package/tag version, every release carries a single-integer PROTO_VERSION (see the PROTO_VERSION file). Hannah Core and its clients exchange this value on every call and reject a mismatch at runtime — that's the actual compatibility gate, not the semver tag. A breaking schema change requires bumping PROTO_VERSION; CI enforces this on every merge request via buf breaking.

Compatibility checks

CI runs buf lint and buf breaking (against origin/master) on every MR. To check a local branch against a specific released version:

buf breaking --against '.git#tag=vX.Y.Z'

Changelog

See CHANGELOG.md for what changed release to release, including breaking changes and the consumers they affect.

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

hannah_proto-0.5.4.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

hannah_proto-0.5.4-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file hannah_proto-0.5.4.tar.gz.

File metadata

  • Download URL: hannah_proto-0.5.4.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for hannah_proto-0.5.4.tar.gz
Algorithm Hash digest
SHA256 079e633b2275e43026a480e2bf4a75408c4533a57d59a984d35b542be7df52f2
MD5 dd51fd0ddeba28fa6c6640780f963aad
BLAKE2b-256 667ac5f1c4b96bd0c822661d7bed9b7e561a1f996568b7f5567035007daa4b23

See more details on using hashes here.

File details

Details for the file hannah_proto-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: hannah_proto-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for hannah_proto-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce88484cc0b74f6b8373c967dfcc00dd1b49125afbf623f44b29c3a784fe7af2
MD5 e53ed1ebb2d9dfc3a88ce8e3a4937a44
BLAKE2b-256 c3ec9bbc51efa94568512d7610602e13c81d249618b0c877b3445533c8d178d2

See more details on using hashes here.

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