@aloud/runner 0.3.1 → 0.3.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 +12 -5
- package/dist/cli.js +309 -107
- package/package.json +1 -1
- package/src/cli.ts +199 -35
- package/src/config/policy.ts +1 -1
- package/src/discovery.ts +28 -18
- package/src/loop.ts +20 -3
- package/src/protocol/presence.ts +83 -0
- package/src/run/execute.ts +1 -1
- package/src/run/sanitise.ts +36 -14
- package/src/ui/output.ts +2 -1
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ The first `aloud start` downloads Chromium, about 350 MB, once.
|
|
|
23
23
|
| `aloud login [--token <token>]` | Connect this machine to your workspace |
|
|
24
24
|
| `aloud start [--once] [--quiet] [--no-update]` | Update, then wait for studies and run them here |
|
|
25
25
|
| `aloud status` | What is set up, what is not, and whether it is running |
|
|
26
|
-
| `aloud allow <host>` |
|
|
26
|
+
| `aloud allow <host>` | Approve a private or local host on this machine |
|
|
27
27
|
| `aloud mcp` | Connect an MCP host to the web workspace selected by its MCP access token |
|
|
28
28
|
| `aloud logout` | Forget the token on this machine |
|
|
29
29
|
| `aloud --version` | Print the installed runner version |
|
|
@@ -34,6 +34,9 @@ Starting with 0.3.1, `aloud start` asks the connected Aloud server which officia
|
|
|
34
34
|
it recommends. If a newer one is available, it installs that exact `@aloud/runner` version and
|
|
35
35
|
relaunches it before claiming work. It never replaces code during an active study.
|
|
36
36
|
|
|
37
|
+
Starting with 0.3.3, a runner that is already waiting does the same update automatically while it
|
|
38
|
+
is idle. A customer does not have to notice a release, stop the process, or start it again.
|
|
39
|
+
|
|
37
40
|
If an optional update cannot be installed, the terminal says why and a still-compatible runner may
|
|
38
41
|
continue. If the server requires the update, nothing starts and the command exits non-zero with the
|
|
39
42
|
manual repair command. `--no-update` is available for managed environments, but it cannot make an
|
|
@@ -53,10 +56,14 @@ the web app without deleting existing study history.
|
|
|
53
56
|
|
|
54
57
|
## What it will open
|
|
55
58
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
Public websites work automatically. The runner grants only the public domain named by the current
|
|
60
|
+
lease, checks DNS again immediately before launch and on every later network request, and forces
|
|
61
|
+
private-network access off for that study. The grant disappears with the lease and is never written
|
|
62
|
+
to `~/.aloud/credentials.json`.
|
|
63
|
+
|
|
64
|
+
Localhost, private IPs, and names that resolve inside a private network remain explicit. Add those
|
|
65
|
+
once with `aloud allow <host>`; that list lives only on this machine. Nothing the server sends can
|
|
66
|
+
widen it, and cloud metadata and link-local targets are always refused.
|
|
60
67
|
|
|
61
68
|
The token is stored in that same file at mode 0600, and `aloud logout` deletes it. Revoking a
|
|
62
69
|
machine from the web app takes effect immediately, including for a study already running.
|