Files
zeekayandHanzo Dev d3110e47ea Major refactor: Unified tools, palette system, dev mode, and shell improvements (v0.6.0)
🎨 **Tool Palette System**
- Created palette system for organizing development tools by ecosystem
- Pre-defined palettes: Python (Guido), Ruby (Matz), JavaScript, Go, Rust, DevOps, Full Stack, Minimal
- `palette` tool to list, activate, and manage tool sets
- Environment variables applied from active palette
- Keeps MCP interface clean while supporting specialized workflows

🔧 **Unified Process Tools with OO Design**
- Refactored all process execution to use clean base class hierarchy
- `BaseProcessTool`, `BaseBinaryTool`, `BaseScriptTool` for consistent interface
- Unified `bash`, `npx`, `uvx` tools with action-based approach (run/background)
- `process` tool for managing background processes
- All tools use same execution pipeline internally

🐚 **Smart Shell Detection**
- Shell tool now detects user's preferred shell from $SHELL environment
- Automatically uses zsh if .zshrc exists (perfect for your setup\!)
- Falls back to bash if no special configuration found
- All zsh aliases, functions, and configurations now available in MCP

🚀 **Development Mode with Hot Reload**
- Added `--dev` flag to hanzo-mcp CLI for development mode
- File watching with automatic reload detection using watchdog
- `hanzo-mcp-dev` command for dedicated dev server
- Watches Python files and config changes
- Debounced reloading to prevent spam

🛠️ **New Tools Added**
- `open`: Opens files/URLs in default application (platform-aware)
- `watch`: Monitors files/directories for changes with pattern matching
- `diff`: Compares files with unified/context diff formats
- `config`: Git-style configuration management

📚 **Documentation & Infrastructure**
- Comprehensive Sphinx documentation with black theme
- Automated deployment to mcp.hanzo.ai via Cloudflare Pages
- GitHub Actions workflow for docs deployment
- 25+ documentation pages organized by category

⚙️ **Configuration Improvements**
- Tool enable/disable system with palette override
- Per-project vs global indexing configuration
- Environment variable management through palettes
- Clean separation of concerns in tool registration

This release provides a much cleaner, more extensible architecture while
maintaining backward compatibility. The palette system makes it easy to
switch between development environments, and the unified process tools
eliminate code duplication while providing consistent behavior.

Co-authored-by: Hanzo Dev <[email protected]>
2025-06-26 17:59:24 -04:00

199 lines
3.9 KiB
CSS

/* Hanzo MCP Documentation - Black Theme with Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Base styles */
* {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
body {
background-color: #000000 !important;
color: #ffffff !important;
}
/* Navigation */
.wy-nav-side {
background-color: #000000 !important;
border-right: 1px solid #1a1a1a !important;
}
.wy-nav-content-wrap {
background-color: #000000 !important;
}
.wy-nav-content {
background-color: #000000 !important;
max-width: 100% !important;
}
/* Menu items */
.wy-menu-vertical a {
color: #cccccc !important;
}
.wy-menu-vertical a:hover {
background-color: #1a1a1a !important;
color: #ffffff !important;
}
.wy-menu-vertical li.current > a {
background-color: #1a1a1a !important;
color: #ffffff !important;
border-right: 2px solid #ffffff !important;
}
/* Headers */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important;
font-weight: 600 !important;
}
/* Links */
a {
color: #888888 !important;
text-decoration: none !important;
}
a:hover {
color: #ffffff !important;
}
/* Code blocks */
.highlight {
background-color: #0a0a0a !important;
border: 1px solid #1a1a1a !important;
border-radius: 4px !important;
}
.highlight pre {
background-color: #0a0a0a !important;
color: #ffffff !important;
font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace !important;
}
code, .rst-content tt, .rst-content code {
background-color: #1a1a1a !important;
color: #ffffff !important;
border: 1px solid #2a2a2a !important;
font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace !important;
}
/* Tables */
.wy-table-responsive table td, .wy-table-responsive table th {
background-color: #000000 !important;
color: #ffffff !important;
border-color: #1a1a1a !important;
}
.wy-table-odd td, .wy-table-striped tr:nth-child(2n-1) td {
background-color: #0a0a0a !important;
}
/* Search */
.wy-side-nav-search {
background-color: #000000 !important;
border-bottom: 1px solid #1a1a1a !important;
}
.wy-side-nav-search input[type="text"] {
background-color: #1a1a1a !important;
color: #ffffff !important;
border: 1px solid #2a2a2a !important;
}
/* Admonitions */
.admonition {
background-color: #0a0a0a !important;
border: 1px solid #1a1a1a !important;
}
.admonition-title {
background-color: #1a1a1a !important;
color: #ffffff !important;
}
/* Notes */
.note {
background-color: #0a0a0a !important;
border-left: 4px solid #444444 !important;
}
/* Warnings */
.warning {
background-color: #0a0a0a !important;
border-left: 4px solid #666666 !important;
}
/* Footer */
footer {
background-color: #000000 !important;
color: #666666 !important;
border-top: 1px solid #1a1a1a !important;
}
/* Breadcrumbs */
.wy-breadcrumbs {
color: #666666 !important;
}
.wy-breadcrumbs a {
color: #888888 !important;
}
/* Version selector */
.rst-versions {
background-color: #000000 !important;
border-top: 1px solid #1a1a1a !important;
}
/* Mobile menu */
.wy-nav-top {
background-color: #000000 !important;
}
/* Logo styling */
.wy-side-nav-search img {
filter: invert(1) !important;
}
/* Button styling */
.btn {
background-color: #1a1a1a !important;
color: #ffffff !important;
border: 1px solid #2a2a2a !important;
}
.btn:hover {
background-color: #2a2a2a !important;
}
/* Copy button for code blocks */
.copybtn {
background-color: #1a1a1a !important;
color: #ffffff !important;
opacity: 0.3;
}
.copybtn:hover {
opacity: 1;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
background: #2a2a2a;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #3a3a3a;
}