Files
attune/packs/core/runtimes/README.md

27 lines
1.1 KiB
Markdown

# Core Pack Runtime Metadata
This directory contains runtime metadata YAML files for the core pack. Each file defines a runtime environment that can be used to execute actions and sensors.
## File Structure
Each runtime YAML file contains only the fields that are stored in the database:
- `ref` - Unique runtime reference (format: pack.name)
- `pack_ref` - Pack this runtime belongs to
- `name` - Human-readable runtime name
- `description` - Brief description of the runtime
- `distributions` - Runtime verification and capability metadata (JSONB)
- `installation` - Installation requirements and metadata (JSONB)
## Available Runtimes
- **python.yaml** - Python 3 runtime for actions and sensors
- **nodejs.yaml** - Node.js runtime for JavaScript-based actions and sensors
- **shell.yaml** - Shell (bash/sh) runtime - always available
- **native.yaml** - Native compiled runtime (Rust, Go, C, etc.) - always available
- **sensor_builtin.yaml** - Built-in sensor runtime for native Attune sensors
## Loading
Runtime metadata files are loaded by the pack loading system and inserted into the `runtime` table in the database.