hermes-cursor-acp 0.1.1 → 0.1.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/bin/cli.js +7 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -36,7 +36,7 @@ hermes plugins enable cursor-acp
36
36
  ## Use
37
37
 
38
38
  ```bash
39
- hermes --provider cursor -m claude-opus-5-5
39
+ hermes --provider cursor-acp -m claude-opus-5-5
40
40
  ```
41
41
 
42
42
  Or run `/model` inside Hermes and pick **Cursor Subscription (ACP)**.
package/bin/cli.js CHANGED
@@ -9,8 +9,11 @@ const fs = require("node:fs");
9
9
  const os = require("node:os");
10
10
  const path = require("node:path");
11
11
 
12
- const REPO = "https://github.com/neerazz/hermes-cursor-acp";
13
- const PLUGIN = "cursor-acp";
12
+ const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf8"));
13
+ let REPO = pkg.repository?.url || "https://github.com/neerazz/hermes-cursor-acp";
14
+ if (REPO.startsWith("git+")) REPO = REPO.slice(4);
15
+ if (REPO.endsWith(".git")) REPO = REPO.slice(0, -4);
16
+ const PLUGIN = pkg.name.replace(/^hermes-/, "");
14
17
  const CURSOR_INSTALLER = "https://cursor.com/install";
15
18
  const HERMES_DOCS = "https://hermes-agent.nousresearch.com/docs";
16
19
 
@@ -74,8 +77,8 @@ async function install() {
74
77
  }
75
78
 
76
79
  console.log(`\n✓ Done! Start Hermes with your Cursor subscription:\n`);
77
- console.log(` hermes --provider cursor -m claude-opus-5-5`);
78
- console.log(` hermes --provider cursor -m composer-2.5\n`);
80
+ console.log(` hermes --provider cursor-acp -m claude-opus-5-5`);
81
+ console.log(` hermes --provider cursor-acp -m composer-2.5\n`);
79
82
  console.log(`Or select 'Cursor Subscription (ACP)' from /model inside Hermes.`);
80
83
  }
81
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-cursor-acp",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "One-command Cursor subscription models for Hermes Agent: installs the cursor-acp provider plugin and verifies the Cursor CLI ACP server.",
5
5
  "bin": {
6
6
  "hermes-cursor-acp": "bin/cli.js"