aquaman-proxy 0.5.1 → 0.7.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 +21 -13
- package/dist/cli/index.js +254 -110
- package/dist/cli/index.js.map +1 -1
- package/dist/core/audit/index.d.ts +5 -0
- package/dist/core/audit/index.d.ts.map +1 -0
- package/dist/core/audit/index.js +5 -0
- package/dist/core/audit/index.js.map +1 -0
- package/dist/core/audit/logger.d.ts +53 -0
- package/dist/core/audit/logger.d.ts.map +1 -0
- package/dist/core/audit/logger.js +262 -0
- package/dist/core/audit/logger.js.map +1 -0
- package/dist/core/credentials/backends/keepassxc.d.ts +45 -0
- package/dist/core/credentials/backends/keepassxc.d.ts.map +1 -0
- package/dist/core/credentials/backends/keepassxc.js +229 -0
- package/dist/core/credentials/backends/keepassxc.js.map +1 -0
- package/dist/core/credentials/backends/onepassword.d.ts +38 -0
- package/dist/core/credentials/backends/onepassword.d.ts.map +1 -0
- package/dist/core/credentials/backends/onepassword.js +218 -0
- package/dist/core/credentials/backends/onepassword.js.map +1 -0
- package/dist/core/credentials/backends/vault.d.ts +56 -0
- package/dist/core/credentials/backends/vault.d.ts.map +1 -0
- package/dist/core/credentials/backends/vault.js +206 -0
- package/dist/core/credentials/backends/vault.js.map +1 -0
- package/dist/core/credentials/index.d.ts +8 -0
- package/dist/core/credentials/index.d.ts.map +1 -0
- package/dist/core/credentials/index.js +8 -0
- package/dist/core/credentials/index.js.map +1 -0
- package/dist/core/credentials/store.d.ts +102 -0
- package/dist/core/credentials/store.d.ts.map +1 -0
- package/dist/core/credentials/store.js +289 -0
- package/dist/core/credentials/store.js.map +1 -0
- package/dist/core/index.d.ts +14 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +18 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/types.d.ts +81 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +11 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/utils/config.d.ts +19 -0
- package/dist/core/utils/config.d.ts.map +1 -0
- package/dist/core/utils/config.js +136 -0
- package/dist/core/utils/config.js.map +1 -0
- package/dist/core/utils/hash.d.ts +27 -0
- package/dist/core/utils/hash.d.ts.map +1 -0
- package/dist/core/utils/hash.js +348 -0
- package/dist/core/utils/hash.js.map +1 -0
- package/dist/core/utils/index.d.ts +6 -0
- package/dist/core/utils/index.d.ts.map +1 -0
- package/dist/core/utils/index.js +6 -0
- package/dist/core/utils/index.js.map +1 -0
- package/dist/daemon.d.ts +4 -19
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +34 -96
- package/dist/daemon.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/migration/openclaw-migrator.d.ts +27 -1
- package/dist/migration/openclaw-migrator.d.ts.map +1 -1
- package/dist/migration/openclaw-migrator.js +94 -0
- package/dist/migration/openclaw-migrator.js.map +1 -1
- package/dist/oauth-token-cache.d.ts +1 -1
- package/dist/oauth-token-cache.d.ts.map +1 -1
- package/dist/openclaw/env-writer.d.ts +7 -7
- package/dist/openclaw/env-writer.d.ts.map +1 -1
- package/dist/openclaw/env-writer.js +8 -13
- package/dist/openclaw/env-writer.js.map +1 -1
- package/dist/openclaw/integration.d.ts +5 -3
- package/dist/openclaw/integration.d.ts.map +1 -1
- package/dist/openclaw/integration.js +7 -14
- package/dist/openclaw/integration.js.map +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -8,15 +8,16 @@ Credential isolation proxy and CLI for [aquaman](https://github.com/tech4242/aqu
|
|
|
8
8
|
Agent / OpenClaw Gateway Aquaman Proxy
|
|
9
9
|
┌──────────────────────┐ ┌──────────────────────┐
|
|
10
10
|
│ │ │ │
|
|
11
|
-
│ ANTHROPIC_BASE_URL
|
|
12
|
-
│ =
|
|
13
|
-
│
|
|
14
|
-
│ fetch() interceptor
|
|
15
|
-
│ redirects channel │
|
|
11
|
+
│ ANTHROPIC_BASE_URL │══ Unix ════>│ Keychain / 1Pass / │
|
|
12
|
+
│ = aquaman.local │ Domain │ Vault / Encrypted │
|
|
13
|
+
│ │<═ Socket ═══│ │
|
|
14
|
+
│ fetch() interceptor │══ (UDS) ══=>│ + Auth injected: │
|
|
15
|
+
│ redirects channel │ │ header / url-path │
|
|
16
16
|
│ API traffic │ │ basic / oauth │
|
|
17
17
|
│ │ │ │
|
|
18
|
-
│ No credentials. │
|
|
19
|
-
│
|
|
18
|
+
│ No credentials. │ ~/.aquaman/ │ │
|
|
19
|
+
│ No open ports. │ proxy.sock │ │
|
|
20
|
+
│ Nothing to steal. │ (chmod 600) │ │
|
|
20
21
|
└──────────────────────┘ └───┬──────────┬───────┘
|
|
21
22
|
│ │
|
|
22
23
|
│ ▼
|
|
@@ -28,26 +29,33 @@ Agent / OpenClaw Gateway Aquaman Proxy
|
|
|
28
29
|
slack.com/api ...
|
|
29
30
|
```
|
|
30
31
|
|
|
31
|
-
This package is the right side. A reverse proxy that
|
|
32
|
+
This package is the right side. A reverse proxy that listens on a Unix domain socket (`~/.aquaman/proxy.sock`) and injects credentials from secure backends. No TCP port, no network exposure. 23 builtin services, four auth modes.
|
|
32
33
|
|
|
33
34
|
## Quick Start
|
|
34
35
|
|
|
35
36
|
With OpenClaw:
|
|
36
37
|
|
|
37
38
|
```bash
|
|
38
|
-
npm install -g aquaman-proxy #
|
|
39
|
-
aquaman setup #
|
|
40
|
-
|
|
41
|
-
openclaw # 4. Proxy starts automatically via plugin
|
|
39
|
+
npm install -g aquaman-proxy # install the proxy CLI
|
|
40
|
+
aquaman setup # stores keys, installs plugin, configures OpenClaw
|
|
41
|
+
openclaw # proxy starts automatically via plugin
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
> `aquaman setup` auto-detects your credential backend. macOS defaults to Keychain,
|
|
45
|
+
> Linux defaults to encrypted file. Override with `--backend`:
|
|
46
|
+
> `aquaman setup --backend keepassxc`
|
|
47
|
+
> Options: `keychain`, `encrypted-file`, `keepassxc`, `1password`, `vault`
|
|
48
|
+
|
|
49
|
+
Existing plaintext credentials are migrated automatically during setup.
|
|
50
|
+
Run again anytime to migrate new credentials: `aquaman migrate openclaw --auto`
|
|
51
|
+
|
|
44
52
|
Standalone:
|
|
45
53
|
|
|
46
54
|
```bash
|
|
47
55
|
npm install -g aquaman-proxy
|
|
48
56
|
aquaman init
|
|
49
57
|
aquaman credentials add anthropic api_key
|
|
50
|
-
aquaman daemon
|
|
58
|
+
aquaman daemon # listens on ~/.aquaman/proxy.sock
|
|
51
59
|
```
|
|
52
60
|
|
|
53
61
|
Troubleshooting: `aquaman doctor`
|