fix: install release asset by default#5
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughAdds a dev installer that symlinks the source plugin, refactors the release installer to download and validate the latest release asset, updates build checks and README, and wires a configurable update log into the plugin's release-updater and UI. ChangesDual installation modes and updater logging
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
b3c9dda to
41d91ce
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@bin/agent-watch.30s.sh`:
- Line 21: The AGENTWATCH_UPDATE_LOG variable may contain a literal tilde from
xbar metadata; normalize it immediately after it's read by expanding any leading
"~" to the user's $HOME so all subsequent checks and file ops use a real
filesystem path. Locate where AGENTWATCH_UPDATE_LOG is set/read (symbol
AGENTWATCH_UPDATE_LOG in the script) and replace that value with a normalized
form (expand a leading tilde or otherwise resolve to $HOME) before any calls
that use it (exists checks, open/write, append operations that reference
AGENTWATCH_UPDATE_LOG).
In `@scripts/install-dev-swiftbar.sh`:
- Around line 4-11: Check that the source plugin file referenced by the PLUGIN
variable exists and is readable before creating TARGET_DIR, making the symlink,
or changing permissions; if it does not exist, print a clear error (including
the PLUGIN value) and exit non‑zero. Update the script around the
PLUGIN/TARGET_DIR/TARGET logic so the existence check (for PLUGIN) runs first,
then mkdir -p "$TARGET_DIR", ln -sf "$PLUGIN" "$TARGET", and chmod +x "$PLUGIN"
only when the check passes.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: d138cf79-35af-4a56-bf3e-9e80252c738c
📒 Files selected for processing (5)
README.mdbin/agent-watch.30s.shscripts/check.shscripts/install-dev-swiftbar.shscripts/install-swiftbar.sh
✅ Files skipped from review due to trivial changes (1)
- scripts/check.sh
🚧 Files skipped from review as they are similar to previous changes (1)
- scripts/install-swiftbar.sh
Summary
Validation
Summary by CodeRabbit
New Features
Documentation
Improvements
Bug Fixes