multica/server
LinYushen 606930725a
feat(daemon): support direct download update for non-Homebrew installs (#334)
* feat(daemon): support direct download update for non-Homebrew installs

Previously, CLI auto-update only worked for Homebrew installations. Non-brew
binaries would fail with "not installed via Homebrew". Now the daemon and
`multica update` fall back to downloading the release binary directly from
GitHub Releases when Homebrew is not detected.

Also fixes:
- Daemon restart now uses the current executable's absolute path instead of
  searching PATH, ensuring the updated binary is used
- Brew installs preserve the symlink path so the new Cellar version is picked up
- Daemon startup logs now include the CLI version
- Update UI auto-clears "restarting" status after 5s to show the new version

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(cli): remove dead DetectNewBinaryPath and guard against nil latest version

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:38:06 +08:00
..
cmd feat(daemon): support direct download update for non-Homebrew installs (#334) 2026-04-02 15:38:06 +08:00
internal feat(daemon): support direct download update for non-Homebrew installs (#334) 2026-04-02 15:38:06 +08:00
migrations merge: resolve conflicts with main 2026-03-31 16:25:20 +08:00
pkg fix(task): enforce per-issue serial execution in task claiming (#330) 2026-04-02 14:12:00 +08:00
go.mod fix(upload): add file type/size validation, Content-Disposition header 2026-03-31 14:55:27 +08:00
go.sum feat(upload): add file upload API with S3 + CloudFront signed cookies 2026-03-31 14:41:17 +08:00
sqlc.yaml feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00