@wnzzer/agentdock 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.
- package/README.md +28 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,9 +6,15 @@ A host-native workspace for official Claude Code / Codex clients, built with Rus
|
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm i -g @wnzzer/agentdock # or: npx @wnzzer/agentdock
|
|
9
|
-
agentdock
|
|
9
|
+
agentdock # starts in the background and prints its URL
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
`agentdock` runs as a gateway: it starts a detached server, waits until that
|
|
13
|
+
server actually answers, and returns to the shell. `agentdock stop`, `restart`,
|
|
14
|
+
`status` and `logs` manage it; `agentdock serve` runs in the foreground instead,
|
|
15
|
+
which is what a supervisor such as systemd should use. A failed start prints the
|
|
16
|
+
reason from the log and exits non-zero rather than leaving a silent process.
|
|
17
|
+
|
|
12
18
|
One prebuilt binary per platform, carrying the Web client and the native bridge inside it. npm fetches only the one matching this machine, through `os`/`cpu` on its optional dependencies; there is no postinstall step, so `--ignore-scripts` installs work. Prebuilt for macOS (arm64, x64) and Linux (x64, arm64, static musl). Other platforms build from source below.
|
|
13
19
|
|
|
14
20
|
Node is a requirement rather than an extra: the native-history and conversation bridges run as Node subprocesses, and Claude Code and Codex are themselves installed from npm.
|
|
@@ -25,7 +31,7 @@ pnpm run build:web
|
|
|
25
31
|
cargo run -p agentdock-server
|
|
26
32
|
```
|
|
27
33
|
|
|
28
|
-
Open **http://127.0.0.1:
|
|
34
|
+
Open **http://127.0.0.1:28789/**. The Rust server serves the built Web client and API on the same origin.
|
|
29
35
|
|
|
30
36
|
For development, run `pnpm run dev` to start Cargo + Vite, then open **http://127.0.0.1:5173/**. If Rust is already running, use only `pnpm run dev:web`. Vite proxies `/api` and WebSockets to Rust. pnpm manages the workspace and dependencies; Vite, Vue SFC typechecking, tests and the native-history bridge run under Node. Rust builds still use Cargo.
|
|
31
37
|
|
|
@@ -130,7 +136,7 @@ SQLite schema 6 adds explicit environment maps with empty defaults, preserving o
|
|
|
130
136
|
AGENTDOCK_DB # optional database path
|
|
131
137
|
AGENTDOCK_HOME # installation/state home; default ~/.agentdock for new installs
|
|
132
138
|
AGENTDOCK_STATE_DIR # optional persistent state directory
|
|
133
|
-
AGENTDOCK_ADDR # default 127.0.0.1:
|
|
139
|
+
AGENTDOCK_ADDR # default 127.0.0.1:28789
|
|
134
140
|
AGENTDOCK_WEB_DIR # state-dir/web if installed, else source apps/web/dist
|
|
135
141
|
AGENTDOCK_NATIVE_BRIDGE # optional path to packages/native-bridge/history.mjs
|
|
136
142
|
AGENTDOCK_JS_RUNTIME # native helper/chat/account runtime; default node (absolute path supported)
|
|
@@ -149,9 +155,26 @@ AGENTDOCK_INSTANCE_LABEL # optional UI label for isolated preview deploymen
|
|
|
149
155
|
|
|
150
156
|
## Private remote access
|
|
151
157
|
|
|
152
|
-
|
|
158
|
+
```sh
|
|
159
|
+
agentdock --lan
|
|
160
|
+
```
|
|
153
161
|
|
|
154
|
-
|
|
162
|
+
Binds every interface, generates an access token if `AGENTDOCK_TOKEN` does not
|
|
163
|
+
provide one, and prints it; `agentdock status` prints it again. The token is
|
|
164
|
+
kept in the state directory, readable only by its owner — a background gateway
|
|
165
|
+
cannot show it to you any other way, and deleting the file issues a new one.
|
|
166
|
+
|
|
167
|
+
Reaching the machine at its own address needs nothing further: a `Host` that is
|
|
168
|
+
an IP literal on the bound port is answered for, because DNS rebinding requires
|
|
169
|
+
a *name* and cannot produce one. `AGENTDOCK_ALLOWED_ORIGINS` remains for the
|
|
170
|
+
hostnames a reverse proxy serves under. Cross-site requests stay blocked by the
|
|
171
|
+
Origin and `sec-fetch-site` checks either way.
|
|
172
|
+
|
|
173
|
+
Traffic is plain HTTP, so on a network you do not control, prefer SSH port
|
|
174
|
+
forwarding — `ssh -L 28789:127.0.0.1:28789 user@server` — or put an HTTPS
|
|
175
|
+
reverse proxy in front that preserves Host and WebSocket upgrades. Do not expose
|
|
176
|
+
this trusted-host workspace to untrusted users: whoever holds the token can run
|
|
177
|
+
agents, read and write files, and open terminals on that machine.
|
|
155
178
|
|
|
156
179
|
## Boundaries
|
|
157
180
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wnzzer/agentdock",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Remote multi-agent development workspace for the official Claude Code and Codex CLIs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/wnzzer/agentdock",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"agentdock": "bin/agentdock.js"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@wnzzer/agentdock-darwin-arm64": "0.1.
|
|
26
|
-
"@wnzzer/agentdock-darwin-x64": "0.1.
|
|
27
|
-
"@wnzzer/agentdock-linux-x64": "0.1.
|
|
28
|
-
"@wnzzer/agentdock-linux-arm64": "0.1.
|
|
25
|
+
"@wnzzer/agentdock-darwin-arm64": "0.1.3",
|
|
26
|
+
"@wnzzer/agentdock-darwin-x64": "0.1.3",
|
|
27
|
+
"@wnzzer/agentdock-linux-x64": "0.1.3",
|
|
28
|
+
"@wnzzer/agentdock-linux-arm64": "0.1.3"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"bin/",
|