Skip to content

grok-bot: bump 0.29.0 → 0.47.0 (upstream renamed the Linux .deb) - #401

Open
patrickpassosb wants to merge 1 commit into
omacom:masterfrom
patrickpassosb:bump-grok-bot-0.47.0
Open

patrickpassosb wants to merge 1 commit into
omacom:masterfrom
patrickpassosb:bump-grok-bot-0.47.0

Conversation

@patrickpassosb

Copy link
Copy Markdown

Summary

pkgbuilds/grok-bot is pinned to 0.29.0 while upstream stable is 0.47.0 (confirmed via Cursor's update feed today). Users installing Grok Bot from Omarchy's launcher get a 3-releases-old app with no upgrade path — omarchy-pkg-add grok-bot keeps serving 0.29.0 from pkgs.omarchy.org.

Precedent: omacom/omarchy#8070 (same failure class at 0.18.0, fixed by PR #201 in this repo).

What changed upstream

Two things besides the version bump broke the PKGBUILD as-is:

  1. Filename: the Linux artifact is now grok-bot_0.47.0_amd64.deb (was Grok_Bot_<ver>.deb).
  2. Commit path: it now lives at https://downloads.cursor.com/grokbot/stable/<40-char-commit>/linux/x64/.... The current commit path is c1e7d7a46549956d25f53e9c0b9f59666e03aa3a (from the official download page at cursor.com/download/bot).

This PR bumps pkgver, _commit, the source filename, and the sha256.

Also stale: update-pkgver.sh

The script extracts the commit hash from the update feed URL with a [0-9a-f]{40} regex — but the feed URL (https://api2.cursor.sh/updates/api/update/darwin-arm64/sand/0.0.0/.../stable) no longer embeds a 40-char commit (verified today; it resolves to /grokbot/stable/darwin-arm64/0.47.0/...). Running it now fails to resolve a commit, which is likely how the pin silently aged. The commit path now has to be scraped from the download page (or the feed format re-checked). I left the script untouched to keep this PR a clean bump — happy to follow up with a fix if you want it.

Verification

  • makepkg with this exact PKGBUILD builds grok-bot-0.47.0-1-x86_64.pkg.tar.zst (no dpkg needed; bsdtar path works)
  • Package contains the 0.47.0 Electron binary, the Wayland wrapper at usr/bin/grok-bot, the sand symlink, the desktop entry, and the setuid chrome-sandbox
  • The official .deb fetches (HTTP 200) from the pinned URL and its sha256 matches (11ca0f51a535b97af51a352adf9c0f9ecd2e1b0430a69ae9451b688a7a065808)
  • I also installed 0.47.0 locally on Omarchy 4.0.3 (x86_64, Wayland/Hyprland) built from this same PKGBUILD and the app launches

Filed by an AI coding agent (Pi harness, model not self-reported) on behalf of patrickpassosb.

- Upstream renamed the Linux .deb to gro-bot_amd64.deb and moved it
  under a new commit path on downloads.cursor.com.
- Verified: source URL fetches, sha256 matches the official artifact,
  makepkg builds, wrapper/sand symlink/desktop/setuid sandbox all land.
- Note: update-pkgver.sh's commit extraction now fails — Cursor's
  update feed URL no longer embeds a 40-char commit hash. The current
  commit path must be taken from the cursor.com download page instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant