Skip to content

Add versioned, cross-language Selene API models - #212

Open
trvto wants to merge 7 commits into
0.3-seriesfrom
travis/versioned-trace-schema
Open

Add versioned, cross-language Selene API models#212
trvto wants to merge 7 commits into
0.3-seriesfrom
travis/versioned-trace-schema

Conversation

@trvto

@trvto trvto commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Introduces the selene-protocol workspace for versioned, serializable Selene API models.

  • Adds trace schema v0.1.0 plus Python, Rust, and TypeScript packages.
  • Adds validation, examples, compatibility documentation, CI, Just recipes, and pre-commit coverage.
  • Encodes all uint64 trace values as canonical decimal strings in JSON for cross-language precision safety.
  • Coordinates package releases under a shared selene-api-models-v tag.

Before the first release, configure:

  • A PyPI trusted publisher for selene-api-models, tied to this repository’s api_models.yml workflow.
  • Repository secret CARGO_REGISTRY_TOKEN, authorized to publish selene-api-models on crates.io.
  • Repository secret NPM_TOKEN, authorized to publish @quantinuum/selene-api-models on npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant