Add /export and /mcp-status commands
- /export command to export session data as Markdown or JSON - Export for sharing with other Claude instances - Include session details, topics, summary, and memory items - /mcp-status command to check MCP integration health - Gmail venv and credentials status - Calendar API dependencies - Delegation helpers presence - MCP server configuration - Updated shell completions with 15 aliases total - Test suite now covers 23 tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -83,6 +83,21 @@ _claude_debug() {
|
||||
'--paths[Show paths only]'
|
||||
}
|
||||
|
||||
# Export completion
|
||||
_claude_export() {
|
||||
_arguments \
|
||||
'--list[List sessions]' \
|
||||
'--format[Output format]:format:(json markdown md)' \
|
||||
'--output[Output file]:file:_files' \
|
||||
'*:session_id:'
|
||||
}
|
||||
|
||||
# MCP status completion
|
||||
_claude_mcp_status() {
|
||||
_arguments \
|
||||
'--json[JSON output]'
|
||||
}
|
||||
|
||||
# Register completions
|
||||
compdef _memory_add memory-add.py
|
||||
compdef _memory_list memory-list.py
|
||||
@@ -91,6 +106,8 @@ compdef _claude_search search.py
|
||||
compdef _claude_history history-browser.py
|
||||
compdef _claude_log log-viewer.py
|
||||
compdef _claude_debug debug.sh
|
||||
compdef _claude_export session-export.py
|
||||
compdef _claude_mcp_status mcp-status.sh
|
||||
|
||||
# Aliases
|
||||
alias claude-validate='~/.claude/automation/validate-setup.sh'
|
||||
@@ -107,7 +124,9 @@ alias claude-test='~/.claude/automation/test-scripts.sh'
|
||||
alias claude-maintenance='~/.claude/automation/daily-maintenance.sh'
|
||||
alias claude-log='python3 ~/.claude/automation/log-viewer.py'
|
||||
alias claude-debug='~/.claude/automation/debug.sh'
|
||||
alias claude-export='python3 ~/.claude/automation/session-export.py'
|
||||
alias claude-mcp='~/.claude/automation/mcp-status.sh'
|
||||
|
||||
echo "Claude Code completions loaded (zsh)"
|
||||
echo " Aliases: claude-{validate,status,backup,restore,clean,memory-add,memory-list}"
|
||||
echo " claude-{search,history,install,test,maintenance,log,debug}"
|
||||
echo " claude-{search,history,install,test,maintenance,log,debug,export,mcp}"
|
||||
|
||||
Reference in New Issue
Block a user