# Distribution Build Output\n\n**Purpose**: Compiled binaries and bundled libraries ready for packaging and distribution.\n\n## Contents\n\nThis directory contains the build output from the core platform build system:\n\n### Subdirectories\n\n- **`core/`** - Nushell core libraries and CLI bundles (from `bundle-core.nu`)\n  - Nushell provisioning CLI wrapper\n  - Core libraries (lib_provisioning)\n  - Configuration system\n  - Template system\n  - Extensions and plugins\n\n- **`platform/`** - Compiled Rust binaries (from `compile-platform.nu`)\n  - provisioning-orchestrator binary\n  - control-center binary\n  - control-center-ui binary\n  - mcp-server-rust binary\n  - All cross-platform target binaries\n\n- **`config/`** - Configuration files and templates\n  - Default configurations\n  - Configuration examples\n  - Schema definitions\n\n- **`provisioning-kcl-1.0.0/`** - Deprecated KCL distribution (archived)\n  - Historical reference only\n  - Migrated to `.coder/archive/kcl/` for long-term storage\n\n## Usage\n\nThis directory is generated by the build system. Do not commit contents to git (configured in .gitignore).\n\nBuild the distribution:\n\n```{$detected_lang}\njust build-all          # Complete build (platform + core)\njust build-platform     # Platform binaries only\njust build-core         # Core libraries only\n```\n\nView distribution contents:\n\n```{$detected_lang}\nls dist/core/           # Nushell libraries\nls dist/platform/       # Compiled binaries\nls dist/config/         # Configuration files\n```\n\n## Cleanup\n\nRemove all distribution artifacts:\n\n```{$detected_lang}\njust clean-dist         # Remove dist/ directory\n```\n\n## Related Directories\n\n- `distribution/` - Distribution package generation\n- `package/` - Package creation (deb, rpm, tar.gz, etc.)\n- `release/` - Release management and versioning
