chore: fix CI release artifacts, modernize sidebar tools, bump MCP to 2.2.2

- ci.yml: scope find pattern to hanzo-ai-* to prevent stale/duplicate release assets
- sidebar.ts: consolidate 10 tool categories into 5 (Core, Intelligence, Workflow, Dev, Cloud)
- mcp/package.json: bump to 2.2.2 with updated description
This commit is contained in:
Hanzo Dev
2026-03-06 00:39:28 -08:00
parent 6b31b22d0d
commit e6b369a5d2
3 changed files with 9 additions and 12 deletions
+2 -1
View File
@@ -257,7 +257,8 @@ jobs:
- name: Collect release assets
run: |
mkdir -p release
find artifacts -type f \( -name '*.zip' -o -name '*.vsix' -o -name '*.dxt' \) -exec cp {} release/ \;
# Only collect artifacts with our expected naming patterns (prevents stale/duplicate files)
find artifacts -type f \( -name 'hanzo-ai-*.zip' -o -name 'hanzo-ai-*.vsix' -o -name 'hanzoai-*.dxt' \) -exec cp {} release/ \;
echo "Release assets:" && ls -la release/
- name: Create Release
+5 -9
View File
@@ -781,15 +781,11 @@ class HanzoSidebar {
// Built-in @hanzo/mcp tool categories (always available)
static BUILTIN_TOOLS = [
{ category: 'File Operations', tools: ['read_file', 'write_file', 'list_files', 'get_file_info', 'directory_tree'] },
{ category: 'Search', tools: ['grep', 'find_files', 'search'] },
{ category: 'Shell', tools: ['bash', 'run_command', 'run_background', 'list_processes', 'kill_process'] },
{ category: 'Edit', tools: ['edit_file', 'multi_edit', 'create_file', 'delete_file', 'move_file'] },
{ category: 'AI Tools', tools: ['think', 'critic', 'consensus', 'agent'] },
{ category: 'AST Search', tools: ['ast_search', 'find_symbol', 'analyze_dependencies'] },
{ category: 'Vector Search', tools: ['vector_index', 'vector_search', 'vector_stats'] },
{ category: 'Todo', tools: ['todo_add', 'todo_list', 'todo_update', 'todo_delete', 'todo_stats'] },
{ category: 'Modes', tools: ['mode_switch', 'mode_list', 'preset_select', 'preset_list', 'shortcut'] },
{ category: 'Core', tools: ['read', 'write', 'list', 'info', 'tree', 'create', 'delete', 'move', 'edit', 'patch', 'grep', 'find', 'search', 'bash', 'bg', 'ps', 'logs', 'kill'] },
{ category: 'Intelligence', tools: ['ai', 'ast', 'vector'] },
{ category: 'Workflow', tools: ['todo', 'plan', 'memory', 'mode'] },
{ category: 'Dev', tools: ['vcs', 'refactor'] },
{ category: 'Cloud', tools: ['iam', 'kms', 'paas', 'commerce', 'storage', 'auth', 'api'] },
];
renderBuiltinTools() {
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@hanzo/mcp",
"version": "1.0.0",
"description": "Hanzo MCP Server - Model Context Protocol tools for AI development",
"version": "2.2.2",
"description": "Hanzo MCP Server - Unified tool surface with AI, cloud control, vector search, and multi-framework UI",
"main": "dist/index.js",
"type": "module",
"bin": {