# Hyperstack Configuration File
#
# This file is OPTIONAL for single-stack projects.
# The CLI can auto-discover AST files in .hyperstack/ directories.
#
# Run `hs init` to auto-generate this file.
[project]
name = "my-project"
# SDK generation settings (optional)
[sdk]
output_dir = "./generated" # Default for both languages
# typescript_output_dir = "./frontend/src/generated" # Override for TypeScript
# rust_output_dir = "./crates/generated" # Override for Rust
# typescript_package = "@myorg/my-sdk"
# Build preferences (optional)
# [build]
# watch_by_default = true
# Stacks - only needed for multi-stack projects or custom naming
# The CLI auto-discovers .hyperstack/*.ast.json files if no stacks are defined.
# Example stack:
# [[stacks]]
# name = "my-game" # Custom name (optional - defaults to kebab-case of entity)
# ast = "SettlementGame" # Entity name from AST OR path to .ast.json file
# description = "My game stack" # Optional description
# typescript_output_file = "./src/generated/my-game/index.ts" # Override output file path
# rust_output_crate = "./crates/my-game-stack" # Override output crate directory
# Commands:
# hs init # Initialize project (auto-detects ASTs)
# hs up # Deploy all stacks
# hs stack list # List all stacks
# hs stack show <name> # Show stack details
# hs sdk create typescript <name> # Generate TypeScript SDK