agentxchain 0.4.2 → 0.4.3
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/README.md +4 -2
- package/package.json +1 -1
- package/src/adapters/cursor.js +2 -0
package/README.md
CHANGED
|
@@ -20,11 +20,13 @@ npx agentxchain init
|
|
|
20
20
|
agentxchain init # create a project (template selection)
|
|
21
21
|
cd my-project/
|
|
22
22
|
echo "CURSOR_API_KEY=your_key" >> .env # from cursor.com/settings -> Cloud Agents
|
|
23
|
+
# In Cursor, connect GitHub account (needed for private repos)
|
|
24
|
+
# Cursor Settings -> GitHub integration
|
|
23
25
|
agentxchain start --ide cursor # launch agents
|
|
24
26
|
agentxchain watch # coordinate turns automatically
|
|
25
27
|
```
|
|
26
28
|
|
|
27
|
-
> `CURSOR_API_KEY` is required for Cursor commands (`start/watch/stop/claim/release` when using Cursor sessions).
|
|
29
|
+
> `CURSOR_API_KEY` is required for Cursor commands (`start/watch/stop/claim/release` when using Cursor sessions). Your Cursor account also needs GitHub access to the target repository.
|
|
28
30
|
|
|
29
31
|
## Commands
|
|
30
32
|
|
|
@@ -81,7 +83,7 @@ bash scripts/publish-npm.sh 0.5.0 # explicit version + publish
|
|
|
81
83
|
bash scripts/publish-npm.sh patch --dry-run
|
|
82
84
|
```
|
|
83
85
|
|
|
84
|
-
If `NPM_TOKEN` exists in `
|
|
86
|
+
If `NPM_TOKEN` exists in `agentXchain.dev/.env` (project root), the script uses it automatically.
|
|
85
87
|
|
|
86
88
|
## Links
|
|
87
89
|
|
package/package.json
CHANGED
package/src/adapters/cursor.js
CHANGED
|
@@ -91,6 +91,8 @@ export async function launchCursorAgents(config, root, opts) {
|
|
|
91
91
|
console.log(chalk.dim(' Fix by setting the branch explicitly in agentxchain.json:'));
|
|
92
92
|
console.log(chalk.bold(' "cursor": { "ref": "your-default-branch" }'));
|
|
93
93
|
console.log(chalk.dim(' Or switch to the target branch locally, then re-run start.'));
|
|
94
|
+
console.log(chalk.dim(' If the branch exists on GitHub, verify your Cursor account has GitHub access'));
|
|
95
|
+
console.log(chalk.dim(' to this repository (Cursor Settings -> GitHub integration).'));
|
|
94
96
|
console.log('');
|
|
95
97
|
}
|
|
96
98
|
|