installer updates, bmd module added and moved out of src, created a plan for module installation tool for custom modules, minor flow improvements

This commit is contained in:
Brian Madison
2025-10-19 11:59:27 -05:00
parent eb9a214115
commit 0a048f2ccc
69 changed files with 5244 additions and 617 deletions

View File

@@ -101,7 +101,7 @@ create-module/
**Installer Infrastructure**
- Creates install-module-config.yaml for deployment
- Creates install-config.yaml for deployment
- Sets up optional installer.js for complex installation logic
- Configures post-install messaging and instructions
@@ -125,7 +125,7 @@ create-module/
### Generated Files
- **Module Directory**: Complete module structure at `{project-root}/bmad/{module_code}/`
- **Configuration Files**: config.yaml, install-module-config.yaml
- **Configuration Files**: config.yaml, install-config.yaml
- **Documentation**: README.md, TODO.md development roadmap
- **Component Placeholders**: Structured folders for agents, workflows, and tasks
@@ -184,7 +184,7 @@ The workflow creates a complete module ready for development:
**Issue**: Installation configuration invalid
- **Solution**: Review install-module-config.yaml syntax and paths
- **Solution**: Review install-config.yaml syntax and paths
- **Check**: Ensure all referenced paths use {project-root} variables correctly
## Customization

View File

@@ -73,7 +73,7 @@
### Install Configuration
- [ ] `install-module-config.yaml` exists in `_module-installer`
- [ ] `install-config.yaml` exists in `_module-installer`
- [ ] Installation steps defined
- [ ] Directory creation steps present
- [ ] File copy operations specified

View File

@@ -178,7 +178,7 @@ async function initDatabase(/* config */) {
console.log(' Initializing database...');
// TODO: Add database initialization
// This function can be called from install-module-config.yaml
// This function can be called from install-config.yaml
console.log(' ✓ Database initialized');
}

View File

@@ -168,7 +168,7 @@
```
{{module_code}}/
├── _module-installer/
│ ├── install-module-config.yaml
│ ├── install-config.yaml
│ ├── installer.js (optional)
│ └── assets/ # Files to copy during install
├── config.yaml # Runtime configuration
@@ -261,7 +261,7 @@ data_folder: "{{determined_module_path}}/data"
<step n="7" goal="Setup module installer">
<action>Load installer templates from: {installer_templates}</action>
Create install-module-config.yaml:
Create install-config.yaml:
```yaml
# {{module_name}} Installation Configuration

View File

@@ -21,7 +21,7 @@ project-root/
└── bmad/{module-code}/ # Runtime instance
├── _module-installer/ # Installation files
│ ├── install-module-config.yaml
│ ├── install-config.yaml
│ ├── installer.js # Optional
│ └── assets/ # Install assets
├── config.yaml # User config
@@ -134,7 +134,7 @@ Tasks should be used for:
## Installation Infrastructure
### Required: install-module-config.yaml
### Required: install-config.yaml
```yaml
module_name: 'Module Name'