brain_deer.commands.definitions

Register the BrainDeer viewer command surface against a live BrainDeerAPI.

These commands are the operations exposed to both the command palette and the AI. Handlers are thin adapters over brain_deer.application.brain_deer_api.BrainDeerAPI and return small JSON-friendly dicts so results are useful to an LLM tool loop.

Functions

register_viewer_commands(...)

Register display / camera / scene / layer / ROI commands bound to api.

Module Contents

brain_deer.commands.definitions.register_viewer_commands(registry: brain_deer.commands.registry.CommandRegistry, api: Any) → brain_deer.commands.registry.CommandRegistry

Register display / camera / scene / layer / ROI commands bound to api.