@wnzzer/agentdock 0.1.0 → 0.1.2

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 +10 -4
  2. 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:8787/**. The Rust server serves the built Web client and API on the same origin.
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:8787
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,7 +155,7 @@ AGENTDOCK_INSTANCE_LABEL # optional UI label for isolated preview deploymen
149
155
 
150
156
  ## Private remote access
151
157
 
152
- Simplest: keep loopback binding and use SSH port forwarding, `ssh -L 8787:127.0.0.1:8787 user@server`.
158
+ Simplest: keep loopback binding and use SSH port forwarding, `ssh -L 28789:127.0.0.1:28789 user@server`.
153
159
 
154
160
  For a network bind, configure `AGENTDOCK_TOKEN` (24+ random characters), `AGENTDOCK_ALLOWED_ORIGINS=https://your-host`, and an HTTPS reverse proxy that preserves Host and WebSocket upgrades. Then sign in using the token in the Web UI. Do not expose this trusted-host workspace to untrusted users.
155
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wnzzer/agentdock",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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.0",
26
- "@wnzzer/agentdock-darwin-x64": "0.1.0",
27
- "@wnzzer/agentdock-linux-x64": "0.1.0",
28
- "@wnzzer/agentdock-linux-arm64": "0.1.0"
25
+ "@wnzzer/agentdock-darwin-arm64": "0.1.2",
26
+ "@wnzzer/agentdock-darwin-x64": "0.1.2",
27
+ "@wnzzer/agentdock-linux-x64": "0.1.2",
28
+ "@wnzzer/agentdock-linux-arm64": "0.1.2"
29
29
  },
30
30
  "files": [
31
31
  "bin/",