Add search command, history browser, install script, and systemd timers

- /search command to search across memory, history, and configuration
- history-browser.py for browsing and analyzing session history
- install.sh for first-time setup with directory creation and validation
- daily-maintenance.sh for scheduled backup, cleanup, and validation
- systemd timer units for automated daily maintenance at 6 AM
- Updated shell completions with 11 aliases
- Test suite now covers 19 tests
- Bump version to 1.1.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-01 18:41:07 -08:00
parent 86baab7e96
commit 125bb4904b
16 changed files with 1004 additions and 4 deletions

View File

@@ -43,10 +43,33 @@ _claude_restore() {
fi
}
# Search completion
_claude_search() {
_arguments \
'--memory[Search only memory]' \
'--history[Search only history]' \
'--config[Search only config]' \
'--recent[Show recent items]:days:' \
'*:query:'
}
# History browser completion
_claude_history() {
_arguments \
'--list[List recent sessions]' \
'--all[Show all sessions]' \
'--show[Show session details]:session_id:' \
'--stats[Show statistics]' \
'--unsummarized[List unsummarized sessions]' \
'--limit[Limit results]:count:'
}
# Register completions
compdef _memory_add memory-add.py
compdef _memory_list memory-list.py
compdef _claude_restore restore.sh
compdef _claude_search search.py
compdef _claude_history history-browser.py
# Aliases
alias claude-validate='~/.claude/automation/validate-setup.sh'
@@ -56,5 +79,12 @@ alias claude-restore='~/.claude/automation/restore.sh'
alias claude-clean='~/.claude/automation/clean.sh'
alias claude-memory-add='python3 ~/.claude/automation/memory-add.py'
alias claude-memory-list='python3 ~/.claude/automation/memory-list.py'
alias claude-search='python3 ~/.claude/automation/search.py'
alias claude-history='python3 ~/.claude/automation/history-browser.py'
alias claude-install='~/.claude/automation/install.sh'
alias claude-test='~/.claude/automation/test-scripts.sh'
alias claude-maintenance='~/.claude/automation/daily-maintenance.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}"