promethios-bridge 1.5.0 → 1.5.1

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 (2) hide show
  1. package/README.md +89 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # promethios-bridge
2
2
 
3
- Run Promethios agent frameworks locally on your computer — with full access to your files, terminal, and browser.
3
+ Run Promethios agent frameworks locally on your computer — with full access to your files, terminal, browser, and **Native Framework Mode** (run OpenClaw and other frameworks in their original interface, powered by the bridge).
4
+
5
+ [![npm version](https://img.shields.io/npm/v/promethios-bridge.svg)](https://www.npmjs.com/package/promethios-bridge)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
7
 
5
8
  ## Quick Start
6
9
 
@@ -10,6 +13,8 @@ npx promethios-bridge --token <your-setup-token>
10
13
 
11
14
  Get your setup token from **Promethios → Settings → Local Bridge → Generate Setup Token**.
12
15
 
16
+ ---
17
+
13
18
  ## What it does
14
19
 
15
20
  The bridge connects your computer to Promethios so that agent frameworks can execute tools locally instead of (or in addition to) the cloud sandbox.
@@ -22,17 +27,67 @@ Once running, open any thread in Promethios and use the **Cloud / My Computer /
22
27
  | 💻 My Computer | All tools run on your machine via this bridge |
23
28
  | ⚡ Hybrid | Agent decides per-tool — local for files/terminal, cloud for APIs |
24
29
 
30
+ ---
31
+
32
+ ## Native Framework Mode *(new in v1.5.0)*
33
+
34
+ Native Framework Mode lets you run supported frameworks — like **OpenClaw** — in their original interface, while staying connected to Promethios for identity, memory, and cross-device sync.
35
+
36
+ ### How it works
37
+
38
+ When the bridge is running and a supported framework is detected on your machine, the **Native** button on the Promethios marketplace card turns **green**. Clicking it opens the framework's native UI through a secure bridge tunnel — no port forwarding, no CORS issues, no extra setup.
39
+
40
+ ```
41
+ Promethios UI → /native/detect → Bridge → TCP probe localhost:18789
42
+ ↓ detected
43
+ Native button turns green ✓
44
+ ↓ clicked
45
+ Promethios UI → /native/proxy/18789/ → Bridge → localhost:18789 (OpenClaw Gateway)
46
+ ```
47
+
48
+ ### Supported frameworks
49
+
50
+ | Framework | Default Port | Notes |
51
+ |---|---|---|
52
+ | **OpenClaw** | `18789` | OpenClaw Gateway — full ClawHub plugin support |
53
+ | OpenClaw (alt) | `18790` | Secondary instance |
54
+ | Custom | `8080`, `3000`, `3001`, `4000`, `5000` | Any framework with an HTTP gateway |
55
+
56
+ ### Requirements
57
+
58
+ - **Bridge v1.5.0+** (this version)
59
+ - The framework must be running locally before clicking Native
60
+ - For OpenClaw: start with `openclaw start` — the Gateway listens on port 18789 by default
61
+
62
+ ### What the bridge adds
63
+
64
+ The bridge exposes two new local endpoints that Promethios uses for Native mode:
65
+
66
+ | Endpoint | Purpose |
67
+ |---|---|
68
+ | `GET /native/probe?port=18789&framework=openclaw` | TCP + HTTP health check — powers the green/grey Native button state |
69
+ | `ALL /proxy/:port/*` | Transparent HTTP proxy to `localhost:<port>` — tunnels the framework UI through the bridge |
70
+
71
+ ---
72
+
25
73
  ## Permissions
26
74
 
27
75
  The first time a framework requests local execution, Promethios shows you exactly what it wants access to. You approve or deny each capability before anything runs.
28
76
 
29
77
  Capabilities the bridge supports:
30
- - `filesystem.read` — Read files on your machine
31
- - `filesystem.write` Write files on your machine
32
- - `terminal.execute` — Run shell commands
33
- - `terminal.readonly` Run read-only commands (ls, cat, etc.)
34
- - `browser.open` Open URLs in your browser
35
- - `network.http` Make HTTP requests (useful for localhost APIs)
78
+
79
+ | Capability | What it allows |
80
+ |---|---|
81
+ | `filesystem.read` | Read files on your machine |
82
+ | `filesystem.write` | Write files on your machine |
83
+ | `terminal.execute` | Run shell commands |
84
+ | `terminal.readonly` | Run read-only commands (`ls`, `cat`, etc.) |
85
+ | `browser.open` | Open URLs in your browser |
86
+ | `network.http` | Make HTTP requests (useful for localhost APIs) |
87
+ | `native.probe_port` | Check if a framework gateway is running on a local port |
88
+ | `native.proxy` | Forward HTTP requests to a local framework gateway |
89
+
90
+ ---
36
91
 
37
92
  ## Options
38
93
 
@@ -43,13 +98,38 @@ Capabilities the bridge supports:
43
98
  --dev Verbose debug logging
44
99
  ```
45
100
 
101
+ ---
102
+
46
103
  ## Security
47
104
 
48
- - The bridge only listens on `127.0.0.1` (localhost) — it is not accessible from the internet.
105
+ - The bridge only listens on `127.0.0.1` (localhost) — it is **not** accessible from the internet.
49
106
  - All tool calls are authenticated and signed by the Promethios cloud.
107
+ - The proxy endpoint only allows a fixed allowlist of ports: `18789, 18790, 7788, 8080, 3000, 3001, 4000, 5000`.
50
108
  - Destructive commands (`rm -rf /`, `mkfs`, etc.) are blocked at the executor level.
51
109
  - You can disconnect at any time with `Ctrl+C`.
52
110
 
111
+ ---
112
+
113
+ ## Changelog
114
+
115
+ ### v1.5.0
116
+ - **Native Framework Mode**: `probe_local_port` tool + `proxy_local_request` tool
117
+ - New local HTTP endpoints: `GET /native/probe` and `ALL /proxy/:port/*`
118
+ - Capabilities manifest updated with `native.probe_port` and `native.proxy`
119
+ - OpenClaw v2026.3.22 support (ClawHub, per-agent reasoning, OpenShell, Exa/Tavily/Firecrawl search)
120
+
121
+ ### v1.4.1
122
+ - Desktop path resolution for Windows OneDrive sync
123
+ - Binary file read and upload-to-thread tools
124
+ - Playwright browser control with real Chrome profile support
125
+
126
+ ### v1.4.0
127
+ - Firestore relay polling for tool calls (works behind firewalls and NAT)
128
+ - Hybrid mode support
129
+ - `local_shell`, `local_file_read`, `local_file_write` tool aliases
130
+
131
+ ---
132
+
53
133
  ## License
54
134
 
55
- MIT
135
+ MIT — [Promethios](https://promethios.ai)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promethios-bridge",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Run Promethios agent frameworks locally on your computer with full file, terminal, browser access, and Native Framework Mode (run OpenClaw and other frameworks in their native interface via the bridge).",
5
5
  "main": "src/index.js",
6
6
  "bin": {