|
|
50cf7165cb
|
Add sub-agent orchestration, MCP tools, and critical bug fixes
Major Features:
- Sub-agent orchestration system with dynamic specialist spawning
* spawn_sub_agent(): Create specialists with custom prompts
* delegate(): Convenience method for task delegation
* Cached specialists for reuse
* Separate conversation histories and focused context
- MCP (Model Context Protocol) tool integration
* Zettelkasten: fleeting_note, daily_note, permanent_note, literature_note
* Search: search_vault (hybrid search), search_by_tags
* Web: web_fetch for real-time data
* Zero-cost file/system operations on Pro subscription
Critical Bug Fixes:
- Fixed max tool iterations (15 → 30, configurable)
- Fixed max_tokens error in Agent SDK query() call
- Fixed MCP tool routing in execute_tool()
* Routes zettelkasten + web tools to async handlers
* Prevents "Unknown tool" errors
Documentation:
- SUB_AGENTS.md: Complete guide to sub-agent system
- MCP_MIGRATION.md: Agent SDK migration details
- SOUL.example.md: Sanitized bot identity template
- scheduled_tasks.example.yaml: Sanitized task config template
Security:
- Added obsidian vault to .gitignore
- Protected SOUL.md and MEMORY.md (personal configs)
- Sanitized example configs with placeholders
Dependencies:
- Added beautifulsoup4, httpx, lxml for web scraping
- Updated requirements.txt
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-16 07:43:31 -07:00 |
|
|
|
a8665d8c72
|
Refactor: Clean up obsolete files and organize codebase structure
This commit removes deprecated modules and reorganizes code into logical directories:
Deleted files (superseded by newer systems):
- claude_code_server.py (replaced by agent-sdk direct integration)
- heartbeat.py (superseded by scheduled_tasks.py)
- pulse_brain.py (unused in production)
- config/pulse_brain_config.py (obsolete config)
Created directory structure:
- examples/ (7 example files: example_*.py, demo_*.py)
- tests/ (5 test files: test_*.py)
Updated imports:
- agent.py: Removed heartbeat module and all enable_heartbeat logic
- bot_runner.py: Removed heartbeat parameter from Agent initialization
- llm_interface.py: Updated deprecated claude_code_server message
Preserved essential files:
- hooks.py (for future use)
- adapters/skill_integration.py (for future use)
- All Google integration tools (Gmail, Calendar, Contacts)
- GLM provider code (backward compatibility)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-15 09:57:39 -07:00 |
|