Skip to content

Releases: snvtac/ago-cli

v0.1.2

17 Jun 17:21

Choose a tag to compare

ago-cli v0.1.2

Self-use enhancements for the launcher: pin your everyday projects and resume a specific past session.

Features

  • Project pinningago pin [name] / ago unpin [name]. Pinned projects sort to the top of the list with a marker. [name] resolves by current directory (no arg), directory path, or unique fuzzy name. Pins are stored in ~/.ago/state.json; config.json stays hand-edited and is never written by ago.
  • Historical session picker — when a tool has ≥2 recorded sessions for a project, the CLI menu offers “选择历史会话…” to pick and resume a specific past session. Codex sessions come from the existing scan; Claude sessions are scanned lazily from the project's transcript directory with a first-message preview. “← 返回” returns to the tool menu.
  • ago doctor now reports state.pinnedCount and a warning-only state.pinned_paths_exist check when a pinned path no longer exists (does not affect the exit code; report formatVersion stays 1.0).

Fixes

  • ago unpin can remove a pin whose directory no longer exists — it matches the stored pins directly instead of requiring the path to exist on disk.
  • Claude session previews skip slash-command boilerplate (<local-command-caveat> / <local-command-stdout>) and surface the <command-name> instead, eliminating noise previews.

No new runtime dependencies. Read-only commands remain read-only. Node >= 18.

v0.1.1

09 Jun 13:46

Choose a tag to compare

Add two read-only diagnostic commands.

Highlights

  • ago doctor — JSON health report covering runtime, config, state, commands, history sources, and the project index. Read-only (never writes config/state); exits non-zero only when a check is an error (warnings keep exit 0).
  • ago config show — prints the normalized config with each key's source (file or default). Missing config → defaults, exit 0; invalid JSON → validJson: false, exit non-zero.

Both output JSON only; no --fix or text mode in v1. The existing interactive flow and -a/-n/-c/-l / ago - are unchanged.

v0.1.0

04 Jun 07:55

Choose a tag to compare

ago-cli v0.1.0 🎉

Still built for developers with goldfish memory 🐟🧠 — and now it actually remembers your Claude side too.

🔴 Big fix: your Claude history is back

Recent Claude Code stopped writing sessions-index.json, so ago was silently dropping every Claude project and only showing Codex. It now reads ~/.claude/history.jsonl + the newest transcript per project (for the true cwd), with the old index kept as a legacy fallback — paths are taken from real cwd/project fields, never decoded from directory names. On a real machine this went from 0 → 21 Claude-backed projects. 🚑

✨ What's new

  • 📈 frecency ranking — projects sort by frequency × recency, so your daily repos stay on top instead of whatever you touched once yesterday.
  • ago - (alias ago --last) — instantly reopen the last project + CLI you launched, zero menus. Graceful fallback to the list if the path/CLI is gone.
  • 🔁 Continue last session — the CLI menu now offers "continue last session", resuming the exact session id (claude --resume <id> / codex resume <id>).

🧰 Under the hood

  • Codex/Claude observations now carry their sessionId.
  • Robust epoch parsing (millisecond and second timestamps).
  • Three-source Claude collection deduplicated by session id.
  • lastLaunch persisted in ~/.ago/state.json.
  • Test suite grew 20 → 38, zero new runtime dependencies.

Grab it: npm i -g ago-cli or npx ago-cli 🚀

v0.0.5

23 Mar 14:03

Choose a tag to compare

ago-cli v0.0.5 🎉

Built for developers with goldfish memory 🐟🧠

  • New -c: pass initial content directly into codex / claude
  • ago -n project_name -c "content....": finds the project, then launches straight into context 🚀
  • Single match still fast-tracks you past the project list ✅
  • Multiple matches still let you pick the project first, then pick CLI (codex or claude) ⚡
  • No match? same behavior as before, nice and predictable 👻

Under the hood: added tests and docs for the new -c launch flow, and bumped version to 0.0.5.

v0.0.4

18 Mar 17:43

Choose a tag to compare

ago-cli v0.0.4 🎉

Built for developers with goldfish memory 🐟🧠

  • Finds projects from your local codex / claude history
  • ago: shows only exists projects ✅
  • ago -al: shows everything, including missing ghosts 👻
  • -n: fuzzy search; if one match, it fast-tracks you to launch 🚀
  • Pick project, then pick CLI (codex or claude), and go ⚡

Under the hood: migrated to TypeScript, publish dist-only package, Node >=18.