ruimte 0.17.0 → 0.18.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 +6 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ruimte
|
|
2
2
|
|
|
3
|
-
Ruimte for a
|
|
3
|
+
Ruimte for a computer without the app. It runs the machine your terminals, agents and browsers live on, and you reach it from the Ruimte app on another computer or from [station.ruimte.app](https://station.ruimte.app).
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
npx ruimte # start the machine on 127.0.0.1:4210
|
|
@@ -17,11 +17,11 @@ npx ruimte --version
|
|
|
17
17
|
|
|
18
18
|
`bunx ruimte` works the same way. Node is enough; Bun does not have to be installed.
|
|
19
19
|
|
|
20
|
-
It runs on
|
|
20
|
+
It runs on Macs with Apple silicon and on Linux, on x64 and arm64. Windows is not supported yet.
|
|
21
21
|
|
|
22
22
|
## Reaching it
|
|
23
23
|
|
|
24
|
-
`npx ruimte login` puts the machine on your Ruimte account; the Ruimte app on any device signed in to that account then lists it. On the same network
|
|
24
|
+
`npx ruimte login` puts the machine on your Ruimte account; the Ruimte app on any device signed in to that account then lists it. On the same network or tailnet, the app connects to it directly through the door the machine keeps open on port 4220 (its own port plus 10; `--lan-port` moves it and `--no-lan` closes it). From anywhere else it connects through the broker. `npx ruimte status` says which of those are open.
|
|
25
25
|
|
|
26
26
|
## The background service
|
|
27
27
|
|
|
@@ -33,19 +33,19 @@ On Linux, systemd stops a user's services when that user logs out. To keep the m
|
|
|
33
33
|
loginctl enable-linger "$USER"
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Running `npx ruimte@latest service install` again installs the newer binary. A
|
|
36
|
+
Running `npx ruimte@latest service install` again installs the newer binary. A running machine switches to it as soon as no agent or shell is busy on it.
|
|
37
37
|
|
|
38
38
|
`RUIMTE_HOME` (default `~/.ruimte`) is where the machine keeps its identity, the devices it let in and its projects.
|
|
39
39
|
|
|
40
40
|
## Awake with the lid closed
|
|
41
41
|
|
|
42
|
-
Keep awake keeps a Mac from sleeping while agents work, but a closed lid still sleeps it unless an external display and the power adapter are connected. Only root can turn that off, so
|
|
42
|
+
Keep awake keeps a Mac from sleeping while agents work, but a closed lid still sleeps it unless an external display and the power adapter are connected. Only root can turn that off, so you install one rule, once:
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
npx ruimte closed-lid install
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
It prints the rule before sudo asks for your password. The rule goes in `/etc/sudoers.d/ruimte-closed-lid-<uid>` and lets you run
|
|
48
|
+
It prints the rule before sudo asks for your password. The rule goes in `/etc/sudoers.d/ruimte-closed-lid-<uid>` and lets you run `/usr/bin/pmset -a disablesleep 1` and `/usr/bin/pmset -a disablesleep 0` without a password, and nothing else. Then turn on "Also with the lid closed" under keep awake, from Ruimte on your phone or in the app on the Mac.
|
|
49
49
|
|
|
50
50
|
Sleep stays off only while keep awake holds: on the power adapter, or on battery when keep awake may hold there and the battery is at 20% or more. It comes back on when keep awake lets go, when the machine stops, and through a small watchdog when the machine is killed. `npx ruimte status` says whether keep awake and the closed lid hold right now. `npx ruimte closed-lid remove` turns sleep back on and removes the rule. Removing Ruimte leaves the rule in place, so remove it first.
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ruimte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Ruimte for a machine without the app: the machine that terminals, agents and browsers run on, reachable from the Ruimte app and station.ruimte.app.",
|
|
5
5
|
"license": "FSL-1.1-MIT",
|
|
6
6
|
"author": "Bas Milius",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@ruimte/darwin-arm64": "0.
|
|
25
|
-
"@ruimte/linux-x64": "0.
|
|
26
|
-
"@ruimte/linux-arm64": "0.
|
|
24
|
+
"@ruimte/darwin-arm64": "0.18.0",
|
|
25
|
+
"@ruimte/linux-x64": "0.18.0",
|
|
26
|
+
"@ruimte/linux-arm64": "0.18.0"
|
|
27
27
|
}
|
|
28
28
|
}
|