All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.
Rust
docs: add README badges; fix version/CI/count claims from doc review
Corey Chiu4c2327ffa42f
diff --git a/README.md b/README.mdindex ce94563..d48a388 100644--- a/README.md+++ b/README.md@@ -1,5 +1,10 @@# Wake+[](https://github.com/iAmCorey/Wake/releases)+[](https://github.com/iAmCorey/Wake/actions/workflows/ci.yml)+[](https://github.com/iAmCorey/Wake/releases)+[](LICENSE)+A native macOS app that gathers every coding-agent session on your machine into one place — browse, full-text search, and resume any conversation in seconds. Built with **Rust + GPUI** (gpui 0.2 + gpui-component 0.5).Your agent history is scattered across `~/.claude`, `~/.codex`, and five other private directories. Wake reads them all, read-only, and gives you one fast window into it. Everything stays local: no network requests, ever.@@ -39,7 +44,7 @@ Cursor IDE chats, Windsurf, and Trae encrypt their local data; Amp, Factory, and## Performance-On the author's machine (282 sessions, ~800 MB of JSONL): full index ~4 s, subsequent launches are instant (mtime-based incremental scan), search results in under 1 ms.+On the author's machine (~289 sessions, ~800 MB of JSONL): full index ~4 s, subsequent launches are instant (mtime-based incremental scan), search results in under 1 ms.## Install@@ -58,6 +63,7 @@ The app is ad-hoc signed, so if you download a prebuilt copy instead of building```bashcargo run -p wake # run in dev modescripts/test.sh # one-command test entry: data-layer tests + UI compile gate+scripts/test.sh --smoke # adds a real-data scan baseline (reads your local agent dirs, read-only)cargo test -p wake-core # data-layer tests only (adapter contracts, FTS, scanner)cargo run -p wake-core --bin scan # data-layer smoke test: scan and print statscargo run -p wake-core --bin scan -- --search "useEffect(" # search smoke test@@ -66,7 +72,7 @@ git config core.hooksPath scripts/hooks # optional: run tests before every compython3 scripts/demo-home.py # build a synthetic fake-home dataset for screenshots/demos```-CI runs `cargo test -p wake-core` plus a full app build on every push and PR. Tests parse synthetic fixture sessions only — your real agent data is never touched.+CI runs `cargo test -p wake-core` plus a full app build on every push to main and every PR. The test suite parses synthetic fixture sessions only — your real agent data is never touched.## Architecturediff --git a/scripts/make-app.sh b/scripts/make-app.shindex 871c882..ac57a2c 100755--- a/scripts/make-app.sh+++ b/scripts/make-app.sh@@ -30,7 +30,9 @@ rm -rf "$APP"mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"cp "$BUILD/Wake" "$APP/Contents/MacOS/Wake"cp dist/wake.icns "$APP/Contents/Resources/wake.icns"-cat > "$APP/Contents/Info.plist" <<'PLIST'+# 版本号从 workspace Cargo.toml 单一来源读取,勿在此硬编码+VERSION=$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -1)+cat > "$APP/Contents/Info.plist" <<PLIST<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0">@@ -41,8 +43,8 @@ cat > "$APP/Contents/Info.plist" <<'PLIST'<key>CFBundleExecutable</key><string>Wake</string><key>CFBundleIconFile</key><string>wake</string><key>CFBundlePackageType</key><string>APPL</string>- <key>CFBundleShortVersionString</key><string>0.2.0</string>- <key>CFBundleVersion</key><string>0.2.0</string>+ <key>CFBundleShortVersionString</key><string>${VERSION}</string>+ <key>CFBundleVersion</key><string>${VERSION}</string><key>LSMinimumSystemVersion</key><string>13.0</string><!-- 恢复会话要驱动 Terminal/iTerm,删除会话要驱动 Finder。缺这个键,macOS 的自动化授权框没有说明文字,启用 hardened runtime 后更会被