Complete BZZZ deployment system fixes with all remaining changes

## Additional Changes:
- Add test configurations and deployment artifacts
- Update web assets and build manifests
- Add version management scripts
- Include local test configs (.bzzz/ directory)
- Update internal runtime and agent configurations
- Refresh Next.js build artifacts

## Final State:
- Complete deployment system working end-to-end
- ironwood successfully deployed and operational
- All hardcoded values removed from codebase
- Config generation and validation fully functional

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-08-31 22:06:01 +10:00
parent da1b42dc33
commit 03d938037a
75 changed files with 548 additions and 117 deletions

View File

@@ -26,8 +26,13 @@ dev:
cd $(UI_DIR) && npm run dev &
go run main.go
# Auto-bump version
bump-version:
@echo "🔖 Auto-bumping version..."
@./scripts/bump-version.sh
# Build the complete application - both binaries
build: build-ui embed-ui build-agent build-hap
build: bump-version build-ui embed-ui build-agent build-hap
# Build the React web UI
build-ui:
@@ -41,7 +46,16 @@ build-ui:
embed-ui: build-ui
@echo "📦 Embedding web UI into Go binary..."
@mkdir -p $(EMBED_DIR)
@cp -r $(UI_DIR)/out/* $(EMBED_DIR)/ 2>/dev/null || cp -r $(UI_DIR)/.next/static $(EMBED_DIR)/ 2>/dev/null || true
@if [ -d "$(UI_DIR)/out" ]; then \
echo "📁 Copying from Next.js out/ directory..."; \
mkdir -p $(EMBED_DIR)/static && cp -r $(UI_DIR)/out/* $(EMBED_DIR)/static/; \
elif [ -d "$(UI_DIR)/.next/static" ]; then \
echo "📁 Copying from .next/static directory..."; \
mkdir -p $(EMBED_DIR)/static && cp -r $(UI_DIR)/.next/static $(EMBED_DIR)/static/; \
else \
echo "❌ ERROR: No build output found in $(UI_DIR)/out or $(UI_DIR)/.next/static"; \
exit 1; \
fi
@echo "✅ Web UI embedded successfully"
# Build the autonomous agent binary
@@ -88,7 +102,10 @@ test:
clean:
@echo "🧹 Cleaning build artifacts..."
rm -rf $(BUILD_DIR)
rm -rf $(EMBED_DIR)
@if [ -d "$(EMBED_DIR)" ]; then \
find $(EMBED_DIR) -mindepth 1 -name "*.go" -prune -o -type f -exec rm {} + && \
find $(EMBED_DIR) -mindepth 1 -type d -empty -delete; \
fi
rm -rf $(UI_DIR)/node_modules
rm -rf $(UI_DIR)/.next
rm -rf $(UI_DIR)/out