Module: ClaudeMemory::MCP::Handlers::ShortcutHandlers
- Included in:
- Tools
- Defined in:
- lib/claude_memory/mcp/handlers/shortcut_handlers.rb
Overview
Shortcut tool handlers (decisions, conventions, architecture)
Instance Method Summary collapse
Instance Method Details
#architecture(args) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/claude_memory/mcp/handlers/shortcut_handlers.rb', line 22 def architecture(args) return {error: "Architecture shortcut requires StoreManager"} unless @manager results = Recall.architecture_choices(@manager, limit: args["limit"] || 10) format_shortcut_results(results, "architecture") end |
#conventions(args) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/claude_memory/mcp/handlers/shortcut_handlers.rb', line 15 def conventions(args) return {error: "Conventions shortcut requires StoreManager"} unless @manager results = Recall.conventions(@manager, limit: args["limit"] || 20) format_shortcut_results(results, "conventions") end |
#decisions(args) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/claude_memory/mcp/handlers/shortcut_handlers.rb', line 8 def decisions(args) return {error: "Decisions shortcut requires StoreManager"} unless @manager results = Recall.recent_decisions(@manager, limit: args["limit"] || 10) format_shortcut_results(results, "decisions") end |