Conversation
…ape)
Distribution + first-run UX overhaul. No new TUI features; instead make
existing functionality easier to install and pick up one new integration
that no other dashboard covers.
DX:
- README opens with a 3-line Quick Start (brew for macOS, curl-pipe-sh
for Linux, run agenttop). Current Installation section moves under
'Other install methods'.
- scripts/install.sh: detects OS+arch, downloads matching tarball from
the latest GitHub release, verifies SHA256 (falls back to printing the
hash when no .sha256 sibling exists yet), installs to
~/.local/bin/agenttop, hints PATH if needed.
- Homebrew tap published via release workflow:
- homebrew/agenttop.rb in this repo is the source of truth.
- release.yml computes SHA256s, renders the formula with the new
version + four SHAs, and pushes Formula/agenttop.rb to
tech4242/homebrew-agenttop. Gated on HOMEBREW_TAP_TOKEN secret —
skips silently with a warning if absent.
- Release tarballs now ship .sha256 siblings used by both the brew
bumper and the install script.
opencode native scraper:
- src/scraper/opencode_sessions.rs reads ~/.local/share/opencode/opencode.db
read-only via rusqlite (bundled). Aggregates per-session tokens from
assistant messages, matches running opencode PIDs to sessions by cwd.
Defensive against schema drift: any rusqlite error downgrades to 'no
opencode sessions' rather than crashing the scraper.
- Wired into Scraper::tick alongside Claude Code session scraping.
Renders in the same Live panel with agent_id='opencode'.
- 5 new tests with in-test SQLite fixtures.
Internal:
- ROADMAP.md added to .gitignore (personal scratch for post-v0.4.0).
- Bumped Cargo.toml to 0.4.0.
Verification: 78 lib tests + integration tests pass, clippy clean under
-D warnings, fmt clean. Coverage maintained (new scraper at >90%).
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4 +/- ##
==========================================
+ Coverage 73.92% 74.20% +0.27%
==========================================
Files 25 26 +1
Lines 4698 4904 +206
==========================================
+ Hits 3473 3639 +166
- Misses 1225 1265 +40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DX-focused release. No new TUI features — instead make existing functionality easier to install and pick up one new integration (opencode native SQLite scrape) that no other dashboard covers.
Quick Start (the new headline UX)
Distribution
homebrew/agenttop.rbin this repo is the source of truth.release.ymlcomputes SHA256s, renders the formula with the new version + four SHAs, and pushesFormula/agenttop.rbtotech4242/homebrew-agenttop. Gated on theHOMEBREW_TAP_TOKENsecret — skips silently with a warning if absent so we don't break the release workflow while the tap repo is being set up..sha256sibling files (used by both the brew bumper and the install script).scripts/install.sh: detects OS+arch, downloads matching tarball from the latest GitHub release, verifies SHA256, installs to~/.local/bin/agenttop, hints PATH if needed. ~120 LOC of POSIX shell.opencode native scrape
src/scraper/opencode_sessions.rsreads~/.local/share/opencode/opencode.dbread-only viarusqlite(bundled — no system sqlite needed). Aggregates per-session tokens from assistant messages, matches running opencode PIDs to sessions bycwd.Scraper::tickalongside Claude Code session scraping. Renders in the same Live panel withagent_id="opencode".What's NOT in v0.4.0 (parked in ROADMAP)
.deb/.rpm,cargo binstall, crates.io publishTap setup checklist (one-time)
tech4242/homebrew-agenttop.reposcope.HOMEBREW_TAP_TOKENontech4242/agenttop.Test plan
cargo test— 78 lib tests + integration tests passingcargo clippy --all-targets -- -D warnings— cleancargo fmt --all -- --check— clean*.tar.gzand*.tar.gz.sha256for all four targetscurl -fsSL .../install.sh | shworks on a fresh Linux VMbrew install tech4242/agenttop/agenttopworks on a fresh Mac