No description
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo/workflows | ||
| .gitignore | ||
| PKGBUILD | ||
| README.md | ||
| self-fix-prompt.md | ||
| update.sh | ||
| windsurf-edit-predictions.patch | ||
zed-windsurf
Arch package of Zed with Windsurf / Devin Desktop edit predictions. Private build, not for the AUR: it uses Windsurf's private API.
PKGBUILD: Arch's officialzedPKGBUILD pluswindsurf-edit-predictions.patch.update.sh: applies the patch to the newest Zed release and bumps the PKGBUILD..forgejo/workflows/release.yaml: does that daily in CI, builds, and publishes to the Forgejo Arch registry.
Install from the registry
curl -o /tmp/forgejo.key https://git.cozygalvinism.dev/api/packages/cozyGalvinism/arch/repository.key
sudo pacman-key --add /tmp/forgejo.key
sudo pacman-key --lsign-key 'cozyGalvinism@noreply.git.cozygalvinism.dev'
Add to /etc/pacman.conf:
[cozyGalvinism.personal.git.cozygalvinism.dev]
SigLevel = Required
Server = https://git.cozygalvinism.dev/api/packages/cozyGalvinism/arch/personal/$arch
Then sudo pacman -Syu zed-windsurf. Updates arrive with normal pacman -Syu.
CI setup (once)
Repository secrets:
| Secret | Value |
|---|---|
RELEASE_TOKEN |
Access token with write:repository and write:package |
CLAUDE_CODE_OAUTH_TOKEN |
Output of claude setup-token |
The job runs on the docker runner in an archlinux:base-devel container.
What happens on a new Zed release
- The daily run sees a Zed tag newer than the published package.
update.shapplies the patch to that tag withgit am --3way.Cargo.lockconflicts are regenerated automatically.- If the patch conflicts or no longer compiles, Claude Code adapts it (instructions in
self-fix-prompt.md; it may only edit files and runcargo check/cargo testand read-only git commands). The result must passcargo check -p zedand the Windsurf tests. - The package is built with
makepkgand uploaded. - Clean updates are committed to
main. Self-fixed ones are published too, but land on anupdate/zed-<version>branch with a PR for you to review.
Push a pkgrel bump to main to force a rebuild of the same Zed version.
Locally
./update.sh # SELF_FIX=1 to let Claude repair a broken patch
makepkg -si