@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.
- package/.github/workflows/formula-sha.yml +1 -1
- package/.github/workflows/release.yml +6 -4
- package/README.md +9 -4
- package/package.json +3 -2
- package/release/checksums.txt +4 -4
- package/release/cursor-linux/cursor_v0.1.18_linux_amd64.tar.gz +0 -0
- package/release/cursor-macos/cursor-0.1.18.arm64_sequoia.bottle.tar.gz +0 -0
- package/release/cursor-macos/cursor_v0.1.18_darwin_arm64.tar.gz +0 -0
- package/release/cursor-windows/cursor__windows_amd64.zip +0 -0
- package/release/cursor-linux/cursor_v0.1.16_linux_amd64.tar.gz +0 -0
- package/release/cursor-macos/cursor-0.1.16.arm64_sequoia.bottle.tar.gz +0 -0
- package/release/cursor-macos/cursor_v0.1.16_darwin_arm64.tar.gz +0 -0
|
@@ -57,7 +57,7 @@ jobs:
|
|
|
57
57
|
fi
|
|
58
58
|
|
|
59
59
|
git config user.name "brand-cursor[bot]"
|
|
60
|
-
git config user.email "
|
|
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 "
|
|
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
|
-
|
|
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
|
[](https://github.com/bniladridas/cursor/actions/workflows/ci.yml)
|
|
4
|
-
[](https://github.com/bniladridas/cursor/releases)
|
|
5
5
|
[](https://www.npmjs.com/package/@bniladridas/cursor)
|
|
6
6
|
[](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
|
-
|
|
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.
|
|
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"
|
package/release/checksums.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|