@bniladridas/cursor 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,7 +57,7 @@ jobs:
57
57
  fi
58
58
 
59
59
  git config user.name "brand-cursor[bot]"
60
- git config user.email "4087321+brand-cursor[bot]@users.noreply.github.com"
60
+ git config user.email "294867837+brand-cursor[bot]@users.noreply.github.com"
61
61
  git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/palmshed/homebrew-cursor
62
62
  branch="formula-sha-${tag}"
63
63
  git checkout -b "$branch"
@@ -71,6 +71,7 @@ jobs:
71
71
  # build bottle
72
72
  mkdir -p bottle/cursor/${version}/bin
73
73
  cp ../build/bin/cursor-agent bottle/cursor/${version}/bin/cursor-agent
74
+ cp ../.env.example bottle/cursor/${version}/.env.example
74
75
  tar -C bottle -czf cursor-${version}.arm64_sequoia.bottle.tar.gz cursor
75
76
 
76
77
  - uses: actions/upload-artifact@v6
@@ -189,21 +190,22 @@ jobs:
189
190
  sed -i "s|sha256 arm64_sequoia: \".*\"|sha256 arm64_sequoia: \"${BOTTLE_SHA}\"|" Formula/cursor.rb
190
191
  fi
191
192
  git config user.name "brand-cursor[bot]"
192
- git config user.email "4087321+brand-cursor[bot]@users.noreply.github.com"
193
+ git config user.email "294867837+brand-cursor[bot]@users.noreply.github.com"
193
194
  git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/palmshed/homebrew-cursor
194
195
  branch="release/${GITHUB_REF_NAME}"
195
196
  git checkout -b "$branch"
196
197
  git add Formula/cursor.rb
197
198
  git commit -m "chore: update formula for ${GITHUB_REF_NAME}"
198
199
  git push origin "$branch"
199
- gh pr create \
200
+ pr_url=$(gh pr create \
200
201
  --repo palmshed/homebrew-cursor \
201
202
  --base main \
202
203
  --head "$branch" \
203
204
  --title "chore: update formula for ${GITHUB_REF_NAME}" \
204
205
  --body "Automated formula update for ${GITHUB_REF_NAME}." \
205
- --fill
206
- gh pr merge --squash --delete-branch --repo palmshed/homebrew-cursor || \
206
+ --fill)
207
+ echo "Created PR: $pr_url"
208
+ gh pr merge "$pr_url" --squash --delete-branch || \
207
209
  echo "merge failed (race or conflict), PR is open for manual merge"
208
210
 
209
211
  - name: Update package version
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Cursor
2
2
 
3
3
  [![CI](https://github.com/bniladridas/cursor/actions/workflows/ci.yml/badge.svg)](https://github.com/bniladridas/cursor/actions/workflows/ci.yml)
4
- [![Release](https://github.com/bniladridas/cursor/actions/workflows/release.yml/badge.svg)](https://github.com/bniladridas/cursor/actions/workflows/release.yml)
4
+ [![Release](https://img.shields.io/github/v/release/bniladridas/cursor?label=release&logo=github)](https://github.com/bniladridas/cursor/releases)
5
5
  [![npm](https://img.shields.io/npm/v/@bniladridas/cursor)](https://www.npmjs.com/package/@bniladridas/cursor)
6
6
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
7
7
 
@@ -17,15 +17,20 @@ npm i -g @bniladridas/cursor
17
17
  **Homebrew** (binary: `cursor-agent`):
18
18
  ```bash
19
19
  brew tap palmshed/cursor
20
- brew install cursor
20
+ brew install palmshed/cursor/cursor --formula
21
21
  ```
22
22
 
23
23
  **Curl** (binary: `cursor-agent`):
24
24
  ```bash
25
- curl -fsSL https://github.com/bniladridas/cursor/raw/main/install.sh | sh
25
+ curl -fsSL https://github.com/bniladridas/cursor/raw/main/install.sh | sudo sh
26
26
  ```
27
27
 
28
- **From source** (binary: `cursor`):
28
+ To install to a writable directory without `sudo`:
29
+ ```bash
30
+ curl -fsSL https://github.com/bniladridas/cursor/raw/main/install.sh | INSTALL_DIR=~/.local/bin sh
31
+ ```
32
+
33
+ **From source** (binary: `cursor-agent`):
29
34
  ```bash
30
35
  cmake -S . -B build && cmake --build build
31
36
  ./build/cursor-tests # run tests
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@bniladridas/cursor",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "Cross-platform AI coding agent",
5
5
  "bin": {
6
- "cursor": "cli.js"
6
+ "cursor": "cli.js",
7
+ "cursor-agent": "cli.js"
7
8
  },
8
9
  "scripts": {
9
10
  "postinstall": "node install.js"
@@ -1,4 +1,4 @@
1
- b3b000bb7c246f2f7c2ef259a9953f7608d5df26f3cc50c475bbc756fb3c9dc4 release/cursor-macos/cursor-0.1.16.arm64_sequoia.bottle.tar.gz
2
- baf6a6e79276f784ac738842ef4d4a7e2c92824b6c19daa4c0aa4d7ec13bba60 release/cursor-macos/cursor_v0.1.16_darwin_arm64.tar.gz
3
- d4caf8a82698fec9486fd9ee6e279c3c102d0a910fc6029a4593aacc496affaa release/cursor-linux/cursor_v0.1.16_linux_amd64.tar.gz
4
- 5ec19d44d38ba5db60c2612796c1ce0851a2c7e22f5f2b18417d25449d1e52cb release/cursor-windows/cursor__windows_amd64.zip
1
+ 2ff08d50eccab30794af1ba14a38b687270dd5d31d7565043df0750d3d793395 release/cursor-macos/cursor_v0.1.18_darwin_arm64.tar.gz
2
+ fb6c8f1ebc720215c1264be0599f8412458f6826783a6f4da2b01d9f76270efe release/cursor-macos/cursor-0.1.18.arm64_sequoia.bottle.tar.gz
3
+ 4901f6e8c246e06b17c0079070b3917d5cf1b453680337cd53042d0063486aa0 release/cursor-linux/cursor_v0.1.18_linux_amd64.tar.gz
4
+ e5cb825a007d33f8defc7af8c6aa43e891108b796fd14086d374e2387cb1b8c2 release/cursor-windows/cursor__windows_amd64.zip