diff --git a/CHANGELOG.md b/CHANGELOG.md index 06807f7..717bf33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Intelligent learning system for multi-agent coordination -- Cost optimization with budget enforcement -- Gradual production deployment guide +- **Web Assets Optimization**: Restructured landing page with minification pipeline + - Separated source (`assets/web/src/index.html`) from minified production version + - Automated minification script (`assets/web/minify.sh`) for version synchronization + - 32% compression achieved (26KB → 18KB) + - Bilingual content (English/Spanish) preserved with localStorage persistence + - Complete documentation in `assets/web/README.md` + +- **Infrastructure & Build System** + - Just recipes for CI/CD automation (50+ recipes organized by category) + - Parametrized help system for command discovery + - Integration with development workflows + +### Changed + +- **Code Quality Improvements** + - Removed unused imports from API and workflow modules (5+ files) + - Fixed 6 unnecessary `mut` keyword warnings in provider analytics + - Improved code patterns: converted verbose match to `matches!` macro (workflow/state.rs) + - Applied automatic clippy fixes for idiomatic Rust + +- **Documentation & Linting** + - Fixed markdown linting compliance in `assets/web/README.md` + - Proper code fence language specifications (MD040) + - Blank lines around code blocks (MD031) + - Table formatting with compact style (MD060) + +### Fixed + +- **Compilation & Testing** + - Eliminated all unused import warnings in vapora-backend + - Suppressed architectural dead code with appropriate attributes + - All 55 tests passing in vapora-backend + - 0 compilation errors, clean build output + +### Technical Details + +- **Architecture**: Refactored unused imports from workflow and API modules + - Tests moved to test-only scope for AgentConfig/RegistryConfig types + - Intentional suppression for components not yet integrated + - Future-proof markers for architectural patterns + +- **Build Status**: Clean compilation pipeline + - `cargo build -p vapora-backend` ✅ + - `cargo clippy -p vapora-backend` ✅ (5 nesting suggestions only) + - `cargo test -p vapora-backend` ✅ (55/55 passing) ## [1.2.0] - 2026-01-11 diff --git a/README.md b/README.md index b5fbdcc..8771b9b 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,12 @@ # Install dependencies cargo build + # Available Just recipes (50+ commands) + just help # Show all available recipes + just help build # Show build recipes + just help test # Show test recipes + just help ci # Show CI recipes + # Setup SurrealDB (Docker) docker run -d --name surrealdb \ -p 8000:8000 \ @@ -356,6 +362,13 @@ provisioning workflow run workflows/deploy-full-stack.yaml │ ├── vapora-analytics/ # Event pipeline + usage stats │ ├── vapora-worktree/ # Git worktree management │ └── vapora-doc-lifecycle/ # Documentation management + ├── assets/ + │ ├── web/ # Landing page (optimized + minified) + │ │ ├── src/index.html # Source (readable, 26KB) + │ │ ├── index.html # Production (minified, 18KB) + │ │ ├── minify.sh # Auto-minification script + │ │ └── README.md # Web assets guide + │ └── vapora.svg # Logo ├── kubernetes/ # K8s manifests (base, overlays, platform) ├── migrations/ # SurrealDB migrations ├── config/ # Configuration files (TOML) diff --git a/assets/web/README.md b/assets/web/README.md new file mode 100644 index 0000000..75458d6 --- /dev/null +++ b/assets/web/README.md @@ -0,0 +1,218 @@ +# Vapora Web Assets + +Web-based landing page and static content for Vapora. + +## Directory Structure + +```text +assets/web/ +├── src/ +│ └── index.html # Source HTML (readable, 26KB) +├── index.html # Minified/Production HTML (18KB) +└── README.md # This file +``` + +## Files + +### `src/index.html` - Source Version + +- **Purpose**: Development and maintenance +- **Size**: 26KB (uncompressed) +- **Content**: + - Full formatting and indentation + - Inline CSS and JavaScript + - Bilingual (English/Spanish) content + - Language-aware dynamic switching + - Interactive agent showcase + - Technology stack display + +**Use for:** +- Editing content +- Understanding structure +- Version control +- Making translations updates + +### `index.html` - Production Version + +- **Purpose**: Served to browsers (fast loading) +- **Size**: 18KB (32% compression) +- **Optimizations**: + - Removed all comments + - Compressed CSS (removed spaces, combined rules) + - Minified JavaScript (single line) + - Removed whitespace between tags + - Preserved all functionality + +**Use for:** +- Production web server +- CDN distribution +- Browser caching +- Fast load times + +## How to Use + +### Development + +Edit `src/index.html`: + +```bash +# Edit source file +nano assets/web/src/index.html + +# Regenerate minified version (script below) +``` + +### Update Minified Version + +When you update `src/index.html`, regenerate `index.html`: + +```bash +# Using the minification script (Perl) +perl -e ' +use strict; +use warnings; + +open(my $fh, "<", "assets/web/src/index.html") or die $!; +my $content = do { local $/; <$fh> }; +close($fh); + +# Remove comments +$content =~ s///gs; + +# Compress whitespace in style tags +$content =~ s/(
Evaporate complexity
Specialized agentsorchestrate pipelines for design, implementation, testing, documentation and deployment. Agents learn from history and optimize costs automatically.100% self-hosted.
Developers jump between tools constantly. Vapora unifies everything in one intelligent system where context flows.
Decisions lost in threads, code scattered, docs unmaintained. RAG search and semantic indexing make knowledge discoverable.
Orchestrating code review, testing, documentation and deployment manually creates bottlenecks. Multi-agent workflows solve this.
Handoffs between developers and operations lack visibility and context. Vapora maintains unified deployment readiness.
Customizable agents for every role: architecture, development, testing, documentation, deployment and more. Agents learn from execution history with recency bias for continuous improvement.
Agents coordinate automatically based on dependencies, context and expertise. Learning-based selection improves over time. Budget enforcement with automatic fallback ensures cost control.
Deploy to any Kubernetes cluster (EKS, GKE, AKS, vanilla K8s). Local Docker Compose development. Zero vendor lock-in.
Built with Rust 🦀 | Open Source | Self-Hosted
Explore on GitHub →