Metadata-Version: 2.5
Name: dreamscale-core
Version: 0.1.0a19
Summary: Shared Dreamscale client and service contracts
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: <3.15,>=3.11
Requires-Dist: numpy<3,>=1.26.4
Requires-Dist: pydantic>=2.9.0
Description-Content-Type: text/markdown

# Dreamscale Core

Shared contracts for the Dreamscale Python SDK and service. `catalog` and `families` describe public model IDs and deployment contracts. Use the family modules for camera roles, state and action layouts, units, rates, and horizons.

Use `training_data` for LeRobot dataset metadata, column mappings, and validation.
Use `training_inputs.rate_hz` and `chunk_rows` to validate a training rate and action chunk.
`training_grid.on_grid` aligns an episode’s camera, state, and action rows to that rate.

Applications can install the [Dreamscale SDK](https://docs.dreamscalelabs.com)
to use the training and dataset APIs.

`dreamscale_core.llm` defines robot tool profiles, observations, tool receipts,
and the session and turn messages exchanged by SDK clients and the service.

`optimization` defines the SDK and service configuration vocabulary. `model_refs`
parses account-scoped model names. `regions` defines region measurements and
`errors.error_payload` constructs the standard REST error response.
`deploy_errors` holds the canonical deployment error codes and their default fix text.

Use `dreamscale_core.training_families` to resolve offline base aliases and dataset limits.
`dreamscale_core.training_quotes` describes quoted terms, sample and evaluation schedules, and charges against a supplied or recorded rate. The service issues new quotes.
