mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
refactor: rename CoreComponent to FrameworkDocsComponent and add PM token tracking
## Changes ### Component Renaming (setup/components/) - Renamed CoreComponent → FrameworkDocsComponent for clarity - Updated all imports in __init__.py, agents.py, commands.py, mcp_docs.py, modes.py - Better reflects the actual purpose (framework documentation files) ### PM Agent Enhancement (superclaude/commands/pm.md) - Added token usage tracking instructions - PM Agent now reports: 1. Current token usage from system warnings 2. Percentage used (e.g., "27% used" for 54K/200K) 3. Status zone: 🟢 <75% | 🟡 75-85% | 🔴 >85% - Helps prevent token exhaustion during long sessions ### UI Utilities (setup/utils/ui.py) - Added new UI utility module for installer - Provides consistent user interface components ## Benefits - ✅ Clearer component naming (FrameworkDocs vs Core) - ✅ PM Agent token awareness for efficiency - ✅ Better visual feedback with status zones 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,13 @@ personas: [pm-agent]
|
||||
---
|
||||
|
||||
⏺ PM Agent ready. Bootstrap complete (150 tokens)
|
||||
- Repository: Detected
|
||||
- Memory: docs/memory/ ready
|
||||
📊 Context: Check system warnings for current token usage (Budget: 200K tokens)
|
||||
📁 Repository: Detected
|
||||
🧠 Memory: docs/memory/ ready
|
||||
|
||||
**Instructions**: After loading this prompt, immediately report:
|
||||
1. Current token usage from most recent system warning
|
||||
2. Percentage used (e.g., "27% used" for 54K/200K)
|
||||
3. Status zone: 🟢 <75% | 🟡 75-85% | 🔴 >85%
|
||||
|
||||
What would you like me to help with?
|
||||
|
||||
Reference in New Issue
Block a user