Skip to content

armgit / Wake

Public Imported from GitHub
0

All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.

Rust
485 B
Raw Blame
#!/bin/sh
# SessionStart hook (Claude Code and Codex): prints where your agents left off in this
# project, which the agent adds to the new session's context. `wake-cli context` prints
# nothing when the project has no recent sessions. When Wake is not installed or has no
# index yet, this stays quiet too — a hook should never get in the way of starting a
# session.
cd "${CLAUDE_PROJECT_DIR:-.}" 2>/dev/null || exit 0
sh "$(dirname "$0")/wake" wake-cli context 2>/dev/null
exit 0