remotelink 0.3.14 → 0.4.1

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 CHANGED
@@ -17,7 +17,8 @@ On first run, `remotelink`:
17
17
  2. opens the Remote Arc pairing page in your browser;
18
18
  3. asks you to sign in and approve the device;
19
19
  4. stores a device credential locally in `~/.remotearc/config.json`;
20
- 5. connects the computer to Remote Arc over an outbound WebSocket.
20
+ 5. connects in the foreground while you choose device permissions;
21
+ 6. if Background connection remains selected, installs a user-level login service only after you finish browser setup.
21
22
 
22
23
  No public IP, VPN, router port forwarding, repository clone, or manual token
23
24
  copy is required.
@@ -39,12 +40,15 @@ https://remotearc.app
39
40
  ## Commands
40
41
 
41
42
  ```text
42
- npx remotelink Connect with dashboard-managed skills
43
- npx remotelink --safe Hard local read-only cap
44
- npx remotelink --developer Legacy alias for dashboard-managed capabilities
45
- npx remotelink --reset Remove local pairing credentials
46
- npx remotelink --version Show the CLI version
47
- npx remotelink --help Show help
43
+ npx remotelink Pair, reconnect, or ensure the configured connection mode
44
+ npx remotelink --safe Hard local read-only cap
45
+ npx remotelink --developer Legacy alias for dashboard-managed capabilities
46
+ npx remotelink --foreground Keep this run attached to the terminal
47
+ npx remotelink --background Enable/repair login background mode
48
+ npx remotelink --no-background Disable login background mode and stay foreground
49
+ npx remotelink --reset Remove local pairing and background registration
50
+ npx remotelink --version Show the CLI version
51
+ npx remotelink --help Show help
48
52
  ```
49
53
 
50
54
  The package also exposes the aliases `remote-link` and `remote-arc`.
@@ -72,6 +76,18 @@ while the relay enforces the saved per-device policy before forwarding a call.
72
76
  Use `--safe` when you want an additional local hard cap that prevents write
73
77
  skills from running even if they are enabled in the dashboard.
74
78
 
79
+ Device permissions, Trusted Write Locations, Sensitive Path settings, Approval
80
+ Broker decisions, and Undo policy are managed from Remote Arc Cloud and enforced
81
+ again by the local execution core. The
82
+ CLI does not keep a second editable copy of those policies. Local options such as
83
+ `--safe` may only make access stricter; they cannot silently broaden Dashboard
84
+ permissions.
85
+
86
+ Background mode is different because it is operating-system state. The Dashboard
87
+ can request a change while the device is online, but the local agent reports the
88
+ actual launchd, Task Scheduler, or systemd-user result back before the Dashboard
89
+ shows the setting as enabled.
90
+
75
91
  ## Local Undo
76
92
 
77
93
  Remote Arc snapshots the previous local file state before supported
@@ -89,20 +105,28 @@ Local Undo covers Remote Arc file writes only. It cannot reverse external side
89
105
  effects such as publishing a package, deploying cloud infrastructure, sending a
90
106
  request to another service, or mutating a remote database.
91
107
 
92
- ## Workspace and sensitive-path policy
108
+ ## Trusted Write Locations, approvals and sensitive paths
93
109
 
94
- The dashboard can configure allowed workspace roots, additional protected
110
+ The dashboard can configure Trusted Write Locations, additional protected
95
111
  paths, and narrow sensitive-path exceptions per device. Online devices also
96
- support a local directory picker so workspace roots can be selected without
97
- typing paths manually. Sensitive-path
98
- protection stays on by default for common credential locations and `.env`
99
- files; an exception bypasses only sensitive-path protection, not Workspace
100
- Scope.
112
+ support a local directory picker so trusted write roots can be selected without
113
+ typing paths manually.
114
+
115
+ Ordinary non-sensitive read-only file tools may inspect paths outside Trusted
116
+ Write Locations. Supported mutations stay inside trusted write roots unless an
117
+ out-of-scope write receives a matching Approval Broker grant. The dashboard and
118
+ an interactive remotelink terminal can approve once, allow the same file
119
+ briefly, trust the parent folder, or deny the request.
120
+
121
+ Sensitive-path protection remains independent and stays enabled for common
122
+ credential locations and `.env` files. A sensitive-path exception grants
123
+ visibility to that path; it does not grant write authority outside Trusted Write
124
+ Locations.
101
125
 
102
126
  Filesystem paths are canonicalized and checked locally immediately before
103
- execution. If workspace roots are configured, file operations must stay under
104
- those roots. Full terminal mode requires an in-scope `cwd`, but shell commands
105
- are not an OS sandbox and can still reference other paths.
127
+ execution. Full terminal mode requires an in-scope `cwd` when trusted write
128
+ roots are configured, but shell commands are not an OS sandbox and can still
129
+ reference other paths, credentials, processes or network services.
106
130
 
107
131
  ## Safety Guard
108
132