hermes-to-claude 0.1.10 โ†’ 0.2.0

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 CHANGED
@@ -1,12 +1,12 @@
1
- # Hermes-Claude-Bridge (h2c)
1
+ # Hermes-to-Claude (h2c)
2
2
 
3
3
  **Hermes-Agent** controls multiple **Claude Code** instances via HTTP โ€” one agent, many Claude workers. No Pro/Max subscription required.
4
4
 
5
5
  ```
6
6
  ๐Ÿ“ฑ User ----HTTP----> ๐Ÿค– Hermes-Agent ----h2c----> ๐Ÿญ Claude Code (deploy role)
7
- โ”œโ”€โ”€โ”€h2cโ”€โ”€โ”€> ๐Ÿ”ง Claude Code (coding role)
8
- โ”œโ”€โ”€โ”€h2cโ”€โ”€โ”€> ๐Ÿงช Claude Code (testing role)
9
- โ””โ”€โ”€โ”€h2cโ”€โ”€โ”€> ๐Ÿ”ฌ Claude Code (building role)
7
+ โ”œ----h2c----> ๐Ÿ”ง Claude Code (coding role)
8
+ โ”œ----h2c----> ๐Ÿงช Claude Code (testing role)
9
+ โ””----h2c----> ๐Ÿ”ฌ Claude Code (building role)
10
10
  ```
11
11
 
12
12
  ---
@@ -33,11 +33,22 @@ h2c requires **Node.js โ‰ฅ 20**. Install it for your platform:
33
33
  | macOS | `brew install node` |
34
34
  | Windows | `winget install OpenJS.NodeJS` or download from https://nodejs.org |
35
35
 
36
- ### Install
36
+ ### Installation
37
+
38
+ **For End User**, One command to install globally:
39
+
40
+ ```bash
41
+ npm install -g hermes-to-claude
42
+ ```
43
+
44
+ This makes the `h2c` command available everywhere on your system.
45
+
46
+
47
+ **For Developer**, For contributors who want to hack on h2c itself:
37
48
 
38
49
  ```bash
39
50
  git clone https://github.com/xuhancn/hermes-to-claude.git
40
- cd hermes-claude-bridge
51
+ cd hermes-to-claude
41
52
  npm install && npm run build
42
53
  ```
43
54
 
@@ -60,7 +71,14 @@ This starts the HTTP server. The port is derived from the working directory (see
60
71
  When Hermes-Agent runs on a server with no display, no manual command is needed. Export the **environment variable** before starting h2c:
61
72
 
62
73
  ```bash
63
- export H2C_HOME=1 # environment variable โ€” auto-starts h2c
74
+ # Linux / macOS
75
+ H2C_HOME=1
76
+
77
+ # Windows (Command Prompt)
78
+ set H2C_HOME=1
79
+
80
+ # Windows (PowerShell)
81
+ $env:H2C_HOME = "1"
64
82
  ```
65
83
 
66
84
  With Home mode active, the server listens on `127.0.0.1` only. Authentication is **disabled** โ€” safe because only local processes can reach it. Hermes-Agent connects without managing keys.
@@ -73,7 +91,7 @@ The port is **deterministic**: `MD5(cwd)` โ†’ first 2 bytes โ†’ `9200 + (value %
73
91
  - Claude reads its own CLAUDE.md, skills, and project files from that directory
74
92
  - Port = project โ€” you always know which Claude you're talking to
75
93
 
76
- The auth key (`hb_` + 8 random base52 characters) is written to `~/.h2c_key` once and reused across all directories on the same machine. All HTTP endpoints (except `/health`) require HTTP Basic Auth with username `bridge` and the key as password.
94
+ The auth key (`h2c_` + 8 random base52 characters) is written to `~/.h2c_key` once and reused across all directories on the same machine. All HTTP endpoints (except `/health`) require HTTP Basic Auth with username `bridge` and the key as password.
77
95
 
78
96
  ---
79
97
 
package/dist/hbridge.mjs CHANGED
@@ -1582,7 +1582,7 @@ function stopStatusBar(intervalId) {
1582
1582
 
1583
1583
  // src/hbridge/cli.mjs
1584
1584
  import { networkInterfaces } from "os";
1585
- var H2C_VERSION = "v206.0.cebaec7";
1585
+ var H2C_VERSION = "v214.0.24bb25b";
1586
1586
  var server = null;
1587
1587
  var statusBarInterval = null;
1588
1588
  function getLocalIPs() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-to-claude",
3
- "version": "0.1.10",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Local HTTP bridge connecting Hermes Agent to Claude Code โ€” no Pro/Max subscription required",
6
6
  "license": "MIT",