@geohar/un-bien 0.8.0 → 0.9.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 +223 -254
- package/dist/bin/launcher.js +38 -0
- package/dist/bin/launcher.js.map +1 -0
- package/dist/config.d.ts +28 -1
- package/dist/config.js.map +1 -1
- package/dist/daemon/install.d.ts +33 -35
- package/dist/daemon/install.js +43 -73
- package/dist/daemon/install.js.map +1 -1
- package/dist/enrich_tool_args.d.ts +9 -0
- package/dist/enrich_tool_args.js +171 -0
- package/dist/enrich_tool_args.js.map +1 -0
- package/dist/image_codec.d.ts +22 -0
- package/dist/image_codec.js +149 -0
- package/dist/image_codec.js.map +1 -0
- package/dist/index.d.ts +0 -26
- package/dist/index.js +200 -1236
- package/dist/index.js.map +1 -1
- package/dist/launch.d.ts +34 -0
- package/dist/launch.js +171 -0
- package/dist/launch.js.map +1 -0
- package/dist/launcher/launcher.d.ts +6 -0
- package/dist/launcher/launcher.js +188 -0
- package/dist/launcher/launcher.js.map +1 -0
- package/dist/pairing/peer_trust.d.ts +20 -0
- package/dist/pairing/peer_trust.js +82 -0
- package/dist/pairing/peer_trust.js.map +1 -0
- package/dist/panel_bridge.d.ts +3 -1
- package/dist/panel_bridge.js +10 -10
- package/dist/panel_bridge.js.map +1 -1
- package/dist/rooms.d.ts +16 -0
- package/dist/rooms.js +22 -0
- package/dist/rooms.js.map +1 -1
- package/dist/session/debug_log.js +2 -2
- package/dist/session/debug_log.js.map +1 -1
- package/dist/session/local_config.js +2 -0
- package/dist/session/local_config.js.map +1 -1
- package/dist/session/rpc_envelope.d.ts +18 -0
- package/dist/session/rpc_envelope.js +1 -1
- package/dist/session/rpc_envelope.js.map +1 -1
- package/dist/session/rpc_inbound.d.ts +2 -2
- package/dist/session/rpc_inbound.js +1 -1
- package/dist/session/rpc_inbound.js.map +1 -1
- package/dist/subagent_rooms.d.ts +49 -0
- package/dist/subagent_rooms.js +787 -0
- package/dist/subagent_rooms.js.map +1 -0
- package/dist/transport/peer_channel.d.ts +7 -1
- package/dist/transport/peer_channel.js +8 -1
- package/dist/transport/peer_channel.js.map +1 -1
- package/dist/transport/relay_client.d.ts +19 -0
- package/dist/transport/relay_client.js.map +1 -1
- package/docs/daemon.md +65 -64
- package/package.json +13 -11
- package/service-templates/launchd.plist.template +5 -5
- package/service-templates/systemd.service.template +2 -2
- package/service-templates/task-launcher.vbs.template +5 -5
- package/service-templates/task-scheduler.xml.template +1 -1
- package/dist/bin/supervisord.js +0 -86
- package/dist/bin/supervisord.js.map +0 -1
- package/dist/daemon/client.d.ts +0 -20
- package/dist/daemon/client.js +0 -131
- package/dist/daemon/client.js.map +0 -1
- package/dist/daemon/control_protocol.d.ts +0 -176
- package/dist/daemon/control_protocol.js +0 -63
- package/dist/daemon/control_protocol.js.map +0 -1
- package/dist/daemon/cron_log.d.ts +0 -45
- package/dist/daemon/cron_log.js +0 -71
- package/dist/daemon/cron_log.js.map +0 -1
- package/dist/daemon/cron_registry.d.ts +0 -80
- package/dist/daemon/cron_registry.js +0 -198
- package/dist/daemon/cron_registry.js.map +0 -1
- package/dist/daemon/id.d.ts +0 -24
- package/dist/daemon/id.js +0 -36
- package/dist/daemon/id.js.map +0 -1
- package/dist/daemon/registry.d.ts +0 -63
- package/dist/daemon/registry.js +0 -153
- package/dist/daemon/registry.js.map +0 -1
- package/dist/daemon/rpc_child.d.ts +0 -194
- package/dist/daemon/rpc_child.js +0 -419
- package/dist/daemon/rpc_child.js.map +0 -1
- package/dist/daemon/supervisor.d.ts +0 -93
- package/dist/daemon/supervisor.js +0 -666
- package/dist/daemon/supervisor.js.map +0 -1
- /package/dist/bin/{supervisord.d.ts → launcher.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
> **Derived from [remote-pi](https://github.com/jacobaraujo7/remote_pi)** by Jacob
|
|
2
2
|
> Moura, used under the MIT License (preserved in [`LICENSE`](LICENSE)). This tree
|
|
3
|
-
> is part of the [
|
|
4
|
-
> below still carries upstream branding and is being rebranded to un-bien.
|
|
3
|
+
> is part of the [Un Bien](../README.md) monorepo.
|
|
5
4
|
|
|
6
5
|
<p align="center">
|
|
7
|
-
<img src="https://raw.githubusercontent.com/georgeharker/un-bien/main/app/icons/un-bien-macos-1024.png" width="160" alt="
|
|
6
|
+
<img src="https://raw.githubusercontent.com/georgeharker/un-bien/main/app/icons/un-bien-macos-1024.png" width="160" alt="Un Bien logo" />
|
|
8
7
|
</p>
|
|
9
8
|
|
|
10
|
-
<h1 align="center">
|
|
9
|
+
<h1 align="center">Un Bien</h1>
|
|
11
10
|
|
|
12
11
|
> Extend the [Pi coding agent](https://github.com/earendil-works/pi) with two
|
|
13
|
-
> superpowers:
|
|
14
|
-
>
|
|
12
|
+
> superpowers: **remote-control Pi from your phone** (native iOS/macOS app over a
|
|
13
|
+
> relay you host), and a **local agent mesh** where several Pi sessions talk to
|
|
14
|
+
> each other.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
`/remote-pi` is a single slash command that wires both at once. Run it; the
|
|
19
|
-
first time it asks a couple of questions and you are done.
|
|
16
|
+
`/unbien` is a single slash command that wires both at once. Run it; the first
|
|
17
|
+
time it asks a couple of questions and you are done.
|
|
20
18
|
|
|
21
19
|
## Protocol & Security
|
|
22
20
|
|
|
@@ -32,22 +30,28 @@ document — this README only covers user-facing setup.
|
|
|
32
30
|
Install the extension (one-time):
|
|
33
31
|
|
|
34
32
|
```bash
|
|
35
|
-
pi install npm
|
|
33
|
+
pi install npm:@geohar/un-bien
|
|
36
34
|
```
|
|
37
35
|
|
|
38
36
|
Then in any Pi terminal:
|
|
39
37
|
|
|
40
38
|
```text
|
|
41
|
-
/
|
|
39
|
+
/unbien
|
|
42
40
|
```
|
|
43
41
|
|
|
44
42
|
The first run shows a short interactive wizard (agent name, default session,
|
|
45
|
-
whether to
|
|
46
|
-
the local agent session and starts the relay automatically — no extra
|
|
43
|
+
whether to use the relay on this terminal). On every following run, `/unbien`
|
|
44
|
+
joins the local agent session and starts the relay automatically — no extra
|
|
45
|
+
typing.
|
|
46
|
+
|
|
47
|
+
> **You must configure a relay before the mobile app can connect.** Un Bien ships
|
|
48
|
+
> pointing at **nobody's** infrastructure — there is no built-in default relay.
|
|
49
|
+
> Self-host one (see [The relay](#the-relay)) and point the extension at it with
|
|
50
|
+
> `/unbien set-relay <url>`.
|
|
47
51
|
|
|
48
52
|
### Try the agent network in 30 seconds
|
|
49
53
|
|
|
50
|
-
Open **two** Pi terminals in the same directory and run `/
|
|
54
|
+
Open **two** Pi terminals in the same directory and run `/unbien` in each.
|
|
51
55
|
Both join the same session. Now just talk to the LLM — it has the tools.
|
|
52
56
|
|
|
53
57
|
In terminal A (say it ended up named `agent-A`):
|
|
@@ -78,8 +82,7 @@ normalize it.
|
|
|
78
82
|
|
|
79
83
|
## What it does
|
|
80
84
|
|
|
81
|
-
|
|
82
|
-
both:
|
|
85
|
+
Un Bien adds two independent layers on top of Pi. You can use either, or both:
|
|
83
86
|
|
|
84
87
|
### 1) Agent network (local broker, optional cross-PC relay)
|
|
85
88
|
|
|
@@ -97,7 +100,7 @@ current turn, and receive any later reply through the inbox/turn flow with
|
|
|
97
100
|
`re` correlating it to the original message id.
|
|
98
101
|
|
|
99
102
|
Peers on the same machine talk over a Unix domain socket at
|
|
100
|
-
`~/.pi/
|
|
103
|
+
`~/.pi/un-bien/sessions/<session-name>/broker.sock`. When sibling PCs are paired,
|
|
101
104
|
a leader-capable Extension or MCP participant bridges the opaque cross-PC
|
|
102
105
|
addresses over the relay; local-only use stays on UDS when relay access is off.
|
|
103
106
|
Useful for splitting work across roles (`backend`, `frontend`, `tests`,
|
|
@@ -109,22 +112,19 @@ over — the failover is invisible to the LLMs.
|
|
|
109
112
|
|
|
110
113
|
### 2) Mobile app (over the relay)
|
|
111
114
|
|
|
112
|
-
The companion
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
The companion native iOS/macOS app lets you **attach to a running Pi session — or
|
|
116
|
+
launch a new one** — and drive it from your phone: send prompts, read responses,
|
|
117
|
+
answer Pi's interactive prompts, and switch models. The phone and the Pi process
|
|
118
|
+
find each other through a **relay**: a small WebSocket server that ferries
|
|
119
|
+
messages between them. Pairing is one-time and per device, via QR code.
|
|
116
120
|
|
|
117
121
|
Communication uses WebSocket over TLS to the relay. Fields such as `ct` are
|
|
118
122
|
wire containers, not a systemwide end-to-end confidentiality guarantee: current
|
|
119
123
|
Pi-forward, cross-PC, app, and control envelopes visible to the relay are not
|
|
120
124
|
fully opaque or E2E encrypted. A relay operator can see routed plaintext
|
|
121
125
|
protocol content and metadata; see [`rpc-envelope`](../docs/rpc-envelope.md) for the exact
|
|
122
|
-
trust boundaries.
|
|
123
|
-
|
|
124
|
-
**Get the app** — all current download options (Google Play, App Store, and
|
|
125
|
-
direct builds while public releases roll out):
|
|
126
|
-
|
|
127
|
-
<https://remote-pi.jacobmoura.work/#get-the-app>
|
|
126
|
+
trust boundaries. **Host the relay yourself** to keep that operator role in your
|
|
127
|
+
own hands.
|
|
128
128
|
|
|
129
129
|
---
|
|
130
130
|
|
|
@@ -150,23 +150,25 @@ under "App actions".
|
|
|
150
150
|
It is **not** a generic slash-command picker. The Pi SDK does not expose
|
|
151
151
|
programmatic invocation for most builtins (those live in the TUI's
|
|
152
152
|
interactive loop), so the app exposes only the actions that have a clean
|
|
153
|
-
SDK call.
|
|
154
|
-
follows the same pattern.
|
|
153
|
+
SDK call.
|
|
155
154
|
|
|
156
155
|
### Images
|
|
157
156
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
157
|
+
Un Bien **displays images produced during a session** — when a tool or the agent
|
|
158
|
+
emits an image, the extension surfaces it to the app as a preview (customType
|
|
159
|
+
`un-bien:received-image`), capped at 10 MB.
|
|
160
|
+
|
|
161
|
+
On the inbound side, the wire and extension also support **image ingest**: a
|
|
162
|
+
`user_message` may carry an optional `images` field (`{ data: <base64>, mime }`),
|
|
163
|
+
which the extension turns into the SDK's multimodal content (an `ImageContent`
|
|
164
|
+
followed by the caption `TextContent`) and feeds to `sendUserMessage(content)`.
|
|
165
|
+
The mobile app does **not** yet expose an attach control, so this path is
|
|
166
|
+
available to clients but not surfaced in the app today.
|
|
164
167
|
|
|
165
168
|
Whether a model accepts images is surfaced as a `vision` flag on each
|
|
166
|
-
`WireModel` (derived from the SDK's `Model.input` including `"image"`)
|
|
167
|
-
greys out the attach button when the active model is text-only.
|
|
169
|
+
`WireModel` (derived from the SDK's `Model.input` including `"image"`).
|
|
168
170
|
|
|
169
|
-
The **relay is unchanged** —
|
|
171
|
+
The **relay is unchanged** — an image travels inside the same application
|
|
170
172
|
message container as the text, so there's no binary channel (large files are a
|
|
171
173
|
future track). Base64 or a field named `ct` is not an E2E confidentiality
|
|
172
174
|
boundary; the current Relay visibility follows the trust model above. Text-only
|
|
@@ -179,39 +181,39 @@ messages are unaffected.
|
|
|
179
181
|
Requirements: Node 20+, Pi (the host coding agent).
|
|
180
182
|
|
|
181
183
|
```bash
|
|
182
|
-
pi install npm
|
|
184
|
+
pi install npm:@geohar/un-bien
|
|
183
185
|
```
|
|
184
186
|
|
|
185
|
-
The extension self-registers the `/
|
|
187
|
+
The extension self-registers the `/unbien` slash command and deploys an
|
|
186
188
|
agent skill that teaches the LLM how to use `list_peers`, `agent_send`, and the
|
|
187
189
|
event-driven inbox/reply flow.
|
|
188
190
|
|
|
189
191
|
To verify:
|
|
190
192
|
|
|
191
193
|
```text
|
|
192
|
-
/
|
|
194
|
+
/unbien config
|
|
193
195
|
```
|
|
194
196
|
|
|
195
197
|
It should print the effective relay URL and where it came from
|
|
196
|
-
(`env` / `config` / `
|
|
198
|
+
(`env` / `config` / `unset`).
|
|
197
199
|
|
|
198
200
|
---
|
|
199
201
|
|
|
200
|
-
## Using `/
|
|
202
|
+
## Using `/unbien`
|
|
201
203
|
|
|
202
204
|
The bare command is the everyday entry point:
|
|
203
205
|
|
|
204
206
|
```text
|
|
205
|
-
/
|
|
207
|
+
/unbien
|
|
206
208
|
```
|
|
207
209
|
|
|
208
210
|
Behavior depends on whether there's a local config for this directory:
|
|
209
211
|
|
|
210
|
-
| State
|
|
211
|
-
|
|
|
212
|
-
| First run (no `.pi/
|
|
213
|
-
| Returning user, auto-start enabled
|
|
214
|
-
| Returning user, auto-start disabled
|
|
212
|
+
| State | What happens |
|
|
213
|
+
| ---------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
214
|
+
| First run (no `.pi/un-bien/config.json`) | Interactive wizard → saves config → joins agent session → starts relay (if you opted in) |
|
|
215
|
+
| Returning user, auto-start enabled | Joins agent session + starts relay automatically, then prints status |
|
|
216
|
+
| Returning user, auto-start disabled | Prints status only; join/relay must be run manually |
|
|
215
217
|
|
|
216
218
|
The wizard asks three questions:
|
|
217
219
|
|
|
@@ -220,36 +222,36 @@ The wizard asks three questions:
|
|
|
220
222
|
an address from this name. Defaults to the directory name.
|
|
221
223
|
2. **Default session** — the name of the agent-network room for this
|
|
222
224
|
directory. Multiple terminals in the same directory join the same session.
|
|
223
|
-
3. **
|
|
224
|
-
|
|
225
|
-
|
|
225
|
+
3. **Use the relay on this terminal?** — `Yes` if you want `/unbien` to also
|
|
226
|
+
connect to the relay so the mobile app (and paired PCs) can reach this Pi.
|
|
227
|
+
`No` for local-only use (agent network without mobile access).
|
|
226
228
|
|
|
227
|
-
Re-run the wizard later with `/
|
|
229
|
+
Re-run the wizard later with `/unbien setup`.
|
|
228
230
|
|
|
229
231
|
---
|
|
230
232
|
|
|
231
233
|
## Pairing a mobile device
|
|
232
234
|
|
|
233
|
-
Once the relay is up (`/
|
|
235
|
+
Once the relay is up (`/unbien relay status` shows `started` or `paired`):
|
|
234
236
|
|
|
235
237
|
```text
|
|
236
|
-
/
|
|
238
|
+
/unbien pair
|
|
237
239
|
```
|
|
238
240
|
|
|
239
|
-
A QR code is printed in the terminal. Scan it with the
|
|
241
|
+
A QR code is printed in the terminal. Scan it with the Un Bien mobile app.
|
|
240
242
|
Pairing is **per machine** — once a device is paired, every Pi process on
|
|
241
|
-
this machine accepts it (it lives in `~/.pi/
|
|
243
|
+
this machine accepts it (it lives in `~/.pi/un-bien/peers.json`).
|
|
242
244
|
|
|
243
245
|
To list paired devices:
|
|
244
246
|
|
|
245
247
|
```text
|
|
246
|
-
/
|
|
248
|
+
/unbien devices
|
|
247
249
|
```
|
|
248
250
|
|
|
249
251
|
To remove one:
|
|
250
252
|
|
|
251
253
|
```text
|
|
252
|
-
/
|
|
254
|
+
/unbien revoke <shortid>
|
|
253
255
|
```
|
|
254
256
|
|
|
255
257
|
The shortid is the first 8 chars shown by `devices`.
|
|
@@ -259,60 +261,36 @@ The shortid is the first 8 chars shown by `devices`.
|
|
|
259
261
|
## The relay
|
|
260
262
|
|
|
261
263
|
The relay is the network boundary. TLS protects transit, but the Relay can see
|
|
262
|
-
routed plaintext protocol content and metadata; use a relay you trust or
|
|
263
|
-
self-host
|
|
264
|
+
routed plaintext protocol content and metadata; **use a relay you trust or
|
|
265
|
+
self-host**. There is no systemwide or PC-mesh E2E guarantee. For Pi-to-Pi
|
|
264
266
|
forwarding, the Relay currently permits a route when any correctly signed Owner
|
|
265
267
|
blob lists both canonical Pi keys. That does not prove the Owner paired with or
|
|
266
268
|
controls either Pi.
|
|
267
269
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
Upgrade the **Relay to 0.3 first**: an old Extension can consume the new
|
|
271
|
-
Relay's UUID errors. Extension 0.6 carries a one-release legacy wire-label
|
|
272
|
-
shim, so mixed new/old Extensions interoperate when both select the same unique
|
|
273
|
-
colon-free signed nickname label, or when neither has one and both use the
|
|
274
|
-
canonical standard-padded key prefix. Delimiter or collision cases, like
|
|
275
|
-
divergent nickname views, are unsupported and may be silently dropped by the
|
|
276
|
-
old receiver. Upgrade all Extension/MCP participants in one maintenance window.
|
|
277
|
-
The shim does not replace the receiver-local aliases returned by `list_peers`;
|
|
278
|
-
addresses remain opaque.
|
|
279
|
-
|
|
280
|
-
Extension 0.6 accepts an old Relay's lowercase 32-hex trusted error ID only as
|
|
281
|
-
a narrow shim for an old Relay or Relay rollback; that shim is not why
|
|
282
|
-
Relay-first is safe.
|
|
270
|
+
**Un Bien ships with no default relay** — `/unbien config` reports `unset` until
|
|
271
|
+
you configure one, and the extension refuses to connect until you do.
|
|
283
272
|
|
|
284
|
-
|
|
273
|
+
### Self-host the relay
|
|
285
274
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
`https://relay-rp1.jacobmoura.work` (default). Zero setup. Good for trying
|
|
289
|
-
things out or for casual use. (The extension converts to `wss://…`
|
|
290
|
-
internally when opening the connection — both schemes point at the same
|
|
291
|
-
endpoint.)
|
|
292
|
-
|
|
293
|
-
Caveats:
|
|
294
|
-
|
|
295
|
-
- Shared infrastructure — availability is best-effort.
|
|
296
|
-
- **There is no IP allow-listing or VPN gating**.
|
|
297
|
-
|
|
298
|
-
### Option B — Self-host (recommended for privacy)
|
|
299
|
-
|
|
300
|
-
Run the relay yourself in Docker and put it behind a VPN like
|
|
275
|
+
Run the relay yourself and put it behind a VPN like
|
|
301
276
|
[Tailscale](https://tailscale.com), [WireGuard](https://www.wireguard.com),
|
|
302
277
|
or your own VPC. Because the relay's network-level protection is just TLS +
|
|
303
278
|
keypair authentication, layering a VPN on top means **only your devices** can
|
|
304
279
|
even reach the WebSocket port — defense in depth.
|
|
305
280
|
|
|
306
|
-
|
|
307
|
-
[relay README](
|
|
308
|
-
|
|
281
|
+
Build and run from the `relay/` crate in this monorepo (see the
|
|
282
|
+
[relay README](../relay/README.md) for environment variables and reverse-proxy
|
|
283
|
+
guidance):
|
|
309
284
|
|
|
310
285
|
```bash
|
|
286
|
+
# From the monorepo root:
|
|
287
|
+
docker build -t un-bien-relay ./relay
|
|
311
288
|
docker run -d \
|
|
312
|
-
--name
|
|
289
|
+
--name un-bien-relay \
|
|
313
290
|
-p 3000:3000 \
|
|
291
|
+
-v un-bien-data:/data \
|
|
314
292
|
--restart unless-stopped \
|
|
315
|
-
|
|
293
|
+
un-bien-relay
|
|
316
294
|
```
|
|
317
295
|
|
|
318
296
|
Bind the container to your VPN interface, terminate TLS in a reverse proxy,
|
|
@@ -323,7 +301,7 @@ and point both your Pi and your phone at the resulting `https://…` URL.
|
|
|
323
301
|
Once your relay is reachable, tell the extension:
|
|
324
302
|
|
|
325
303
|
```text
|
|
326
|
-
/
|
|
304
|
+
/unbien relay url https://relay.yourdomain.tld
|
|
327
305
|
```
|
|
328
306
|
|
|
329
307
|
The URL **must** be `http://` or `https://` — `ws://` / `wss://` are
|
|
@@ -331,21 +309,23 @@ rejected at validation. The extension converts to WebSocket internally when
|
|
|
331
309
|
it opens the connection. Same canonical form for the mobile app and any
|
|
332
310
|
self-hosting docs: paste the URL your reverse proxy exposes.
|
|
333
311
|
|
|
334
|
-
This writes
|
|
335
|
-
order (highest precedence first):
|
|
312
|
+
This writes the `relay` field into the global config at
|
|
313
|
+
`~/.pi/extensions/un-bien.json`. Resolution order (highest precedence first):
|
|
314
|
+
|
|
315
|
+
1. `UNBIEN_RELAY` environment variable (CI / one-off overrides)
|
|
316
|
+
2. `relay` field in `~/.pi/extensions/un-bien.json`
|
|
336
317
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
3. The built-in default (`https://relay-rp1.jacobmoura.work`)
|
|
318
|
+
There is **no built-in default** — when neither is set, the extension refuses
|
|
319
|
+
to connect and prompts you to configure a relay.
|
|
340
320
|
|
|
341
321
|
Verify the active URL and its source with:
|
|
342
322
|
|
|
343
323
|
```text
|
|
344
|
-
/
|
|
324
|
+
/unbien config
|
|
345
325
|
```
|
|
346
326
|
|
|
347
|
-
If you change the URL while connected, run `/
|
|
348
|
-
`/
|
|
327
|
+
If you change the URL while connected, run `/unbien relay stop` then
|
|
328
|
+
`/unbien relay start` (or `/unbien relay` to toggle).
|
|
349
329
|
|
|
350
330
|
The mobile app has its own relay-URL setting in its preferences pane — keep
|
|
351
331
|
both pointing at the same relay.
|
|
@@ -394,16 +374,16 @@ original message id.
|
|
|
394
374
|
|
|
395
375
|
The wire format is a 5-field envelope `{ from, to, id, re, body }` serialized
|
|
396
376
|
as one JSON line per message. The leader's broker writes an `audit.jsonl`
|
|
397
|
-
log at `~/.pi/
|
|
377
|
+
log at `~/.pi/un-bien/sessions/<name>/audit.jsonl` for postmortem inspection.
|
|
398
378
|
|
|
399
379
|
Useful commands:
|
|
400
380
|
|
|
401
|
-
| Command
|
|
402
|
-
|
|
|
403
|
-
| `/
|
|
404
|
-
| `/
|
|
405
|
-
| `/
|
|
406
|
-
| `/
|
|
381
|
+
| Command | What it does |
|
|
382
|
+
| ---------------------- | ----------------------------------------------------- |
|
|
383
|
+
| `/unbien` | Join the local mesh (and start the relay, if enabled) |
|
|
384
|
+
| `/unbien peers` | List local + cross-PC mesh peers, grouped by PC |
|
|
385
|
+
| `/unbien rename <new>` | Rename this agent in the current session |
|
|
386
|
+
| `/unbien stop` | Leave the local mesh and disconnect the relay |
|
|
407
387
|
|
|
408
388
|
Name collisions inside a session get a numeric suffix automatically
|
|
409
389
|
(`backend`, `backend#2`, `backend#3`). The broker assigns it and returns the
|
|
@@ -415,48 +395,48 @@ real name to the peer.
|
|
|
415
395
|
|
|
416
396
|
### Local session (one Pi, one terminal)
|
|
417
397
|
|
|
418
|
-
| Command
|
|
419
|
-
|
|
|
420
|
-
| `/
|
|
421
|
-
| `/
|
|
422
|
-
| `/
|
|
423
|
-
| `/
|
|
424
|
-
| `/
|
|
425
|
-
| `/
|
|
426
|
-
| `/
|
|
427
|
-
| `/
|
|
428
|
-
| `/
|
|
429
|
-
| `/
|
|
430
|
-
| `/
|
|
398
|
+
| Command | Description |
|
|
399
|
+
| ------------------------------------- | ------------------------------------------------------------------------------ |
|
|
400
|
+
| `/unbien` | Connect (join local mesh + start relay), or run setup on first use |
|
|
401
|
+
| `/unbien setup` | Run the setup wizard and update local config |
|
|
402
|
+
| `/unbien status` | Show local mesh + relay status |
|
|
403
|
+
| `/unbien stop` | Stop everything for **this** terminal (mesh + relay) |
|
|
404
|
+
| `/unbien pair` | Show QR code + copy-paste pairing URI for a new mobile device |
|
|
405
|
+
| `/unbien devices` | List paired mobile devices (online/offline per device) |
|
|
406
|
+
| `/unbien revoke <shortid>` | Revoke a paired device by its shortid |
|
|
407
|
+
| `/unbien set-relay <url>` | Persist a new relay URL (http:// or https://) |
|
|
408
|
+
| `/unbien relay [start\|stop\|status]` | Relay-only control — leaves local mesh membership untouched (no verb = toggle) |
|
|
409
|
+
| `/unbien relay url <url>` | Same as `set-relay` |
|
|
410
|
+
| `/unbien config` | Show the effective relay URL and its source (env / config / unset) |
|
|
431
411
|
|
|
432
412
|
### Daemon fleet (one supervisor, N background Pis — see [Daemon mode](#daemon-mode))
|
|
433
413
|
|
|
434
|
-
| Command
|
|
435
|
-
|
|
|
436
|
-
| `/
|
|
437
|
-
| `/
|
|
438
|
-
| `/
|
|
439
|
-
| `/
|
|
440
|
-
| `/
|
|
441
|
-
| `/
|
|
442
|
-
| `/
|
|
443
|
-
| `/
|
|
444
|
-
| `/
|
|
445
|
-
| `/
|
|
446
|
-
| `/
|
|
447
|
-
| `/
|
|
448
|
-
| `/
|
|
449
|
-
| `/
|
|
450
|
-
| `/
|
|
451
|
-
| `/
|
|
414
|
+
| Command | Description |
|
|
415
|
+
| ------------------------------------------- | ----------------------------------------------------------------------------- |
|
|
416
|
+
| `/unbien create <cwd> [--name X]` | Register a folder as a daemon |
|
|
417
|
+
| `/unbien remove <id>` | Unregister a daemon (local config preserved) |
|
|
418
|
+
| `/unbien daemons` | List registered daemons + state |
|
|
419
|
+
| `/unbien daemon start` | Start every registered daemon |
|
|
420
|
+
| `/unbien daemon stop` | Stop every running daemon (`/unbien stop` stops only the local terminal) |
|
|
421
|
+
| `/unbien daemon restart` | Stop + start all daemons |
|
|
422
|
+
| `/unbien daemon status` | Detailed runtime status (pid, uptime, restart count) |
|
|
423
|
+
| `/unbien daemon send <id> "<text>"` | Send a prompt to a specific daemon |
|
|
424
|
+
| `/unbien cron add <id> "<expr>" "<prompt>"` | Schedule a recurring prompt (`--tz`, `--wake`, `--no-skip-busy`, `--catchup`) |
|
|
425
|
+
| `/unbien cron list` | List scheduled jobs (schedule, enabled, next run, last status) |
|
|
426
|
+
| `/unbien cron run <jobId>` | Fire a job now (ignores its schedule) |
|
|
427
|
+
| `/unbien cron enable\|disable <jobId>` | Toggle a job on/off |
|
|
428
|
+
| `/unbien cron remove <jobId>` | Delete a job |
|
|
429
|
+
| `/unbien cron log [<jobId>] [--tail N]` | Read the fire/skip audit log |
|
|
430
|
+
| `/unbien install` | Install `pi-supervisord` as a system service |
|
|
431
|
+
| `/unbien uninstall` | Remove the system service (registry preserved) |
|
|
452
432
|
|
|
453
433
|
All commands above work both as Pi slash commands (interactive) and as
|
|
454
|
-
shell-level `
|
|
455
|
-
globally (`npm install -g
|
|
434
|
+
shell-level `unbien <subcommand>` when the package is installed
|
|
435
|
+
globally (`npm install -g @geohar/un-bien`).
|
|
456
436
|
|
|
457
437
|
### Scheduled prompts (`cron`)
|
|
458
438
|
|
|
459
|
-
`
|
|
439
|
+
`unbien cron` schedules **recurring prompts** to daemons through the
|
|
460
440
|
supervisor — e.g. a daily "summarise new PRs". Output flows fire-and-forget to
|
|
461
441
|
the mesh/app like any prompt; the cron layer only audits the dispatch.
|
|
462
442
|
|
|
@@ -464,22 +444,20 @@ the mesh/app like any prompt; the cron layer only audits the dispatch.
|
|
|
464
444
|
field is supported), with an optional IANA timezone via `--tz`:
|
|
465
445
|
|
|
466
446
|
```sh
|
|
467
|
-
|
|
447
|
+
unbien cron add a1b2c3d4 "0 9 * * *" "Summarise new PRs" --tz America/Sao_Paulo
|
|
468
448
|
```
|
|
469
449
|
|
|
470
450
|
- **Minimum interval is 60s** — more frequent schedules are rejected (guards
|
|
471
451
|
token cost + pileup). A fire is **skipped when the daemon is mid-turn**
|
|
472
452
|
(`--no-skip-busy` to override); `--wake` starts a stopped daemon first;
|
|
473
453
|
`--catchup` runs once on supervisor start if the previous run was missed.
|
|
474
|
-
- **Prerequisite**: the supervisor must run as a service (`
|
|
454
|
+
- **Prerequisite**: the supervisor must run as a service (`unbien install`).
|
|
475
455
|
Without it there is no scheduler, and `cron` commands say so instead of
|
|
476
456
|
silently pretending to schedule.
|
|
477
457
|
- **Audit**: every fire **and** every skip appends one line to
|
|
478
|
-
`~/.pi/
|
|
458
|
+
`~/.pi/un-bien/cron.jsonl` with a `result` of `delivered`,
|
|
479
459
|
`woke_and_delivered`, `deliver_failed`, `skipped_busy`, `skipped_down`, or
|
|
480
|
-
`skipped_disabled` — read it with `
|
|
481
|
-
|
|
482
|
-
Step-by-step walkthrough: the [daemon tutorial](https://remote-pi.jacobmoura.work/tutorials/daemon).
|
|
460
|
+
`skipped_disabled` — read it with `unbien cron log`.
|
|
483
461
|
|
|
484
462
|
### Footer + title
|
|
485
463
|
|
|
@@ -506,22 +484,22 @@ See [`docs/daemon.md`](./docs/daemon.md) for troubleshooting.
|
|
|
506
484
|
### One-time setup
|
|
507
485
|
|
|
508
486
|
```bash
|
|
509
|
-
# Install the package globally so `
|
|
510
|
-
# are on your PATH (`pi install npm
|
|
487
|
+
# Install the package globally so `unbien` and `pi-supervisord`
|
|
488
|
+
# are on your PATH (`pi install npm:@geohar/un-bien` alone makes the Pi
|
|
511
489
|
# extension available but does NOT expose the CLI binaries — see
|
|
512
490
|
# https://docs.npmjs.com/cli/v10/configuring-npm/package-json#bin).
|
|
513
|
-
npm install -g
|
|
491
|
+
npm install -g @geohar/un-bien
|
|
514
492
|
|
|
515
493
|
# Install the supervisor as a user-level system service. Linux uses
|
|
516
494
|
# systemd --user; macOS uses launchd LaunchAgent. Both auto-start at
|
|
517
495
|
# login and survive reboots.
|
|
518
|
-
|
|
496
|
+
unbien install
|
|
519
497
|
```
|
|
520
498
|
|
|
521
499
|
The `install` command:
|
|
522
500
|
|
|
523
|
-
- Writes `~/.config/systemd/user/
|
|
524
|
-
or `~/Library/LaunchAgents/dev.
|
|
501
|
+
- Writes `~/.config/systemd/user/unbien-supervisord.service` (Linux)
|
|
502
|
+
or `~/Library/LaunchAgents/dev.unbien.supervisord.plist` (macOS)
|
|
525
503
|
- Activates it via `systemctl --user enable --now` or `launchctl bootstrap`
|
|
526
504
|
- The supervisor starts immediately and re-starts on every login
|
|
527
505
|
|
|
@@ -532,25 +510,25 @@ For each agent you want to keep alive 24/7:
|
|
|
532
510
|
```bash
|
|
533
511
|
# 1. Configure the agent interactively first (one time).
|
|
534
512
|
cd ~/Movies
|
|
535
|
-
pi # /
|
|
513
|
+
pi # /unbien → setup wizard, /unbien pair, etc
|
|
536
514
|
|
|
537
515
|
# 2. Promote to a daemon. The id is derived from the cwd
|
|
538
516
|
# (sha256(realpath)[:8]), stable across machines.
|
|
539
|
-
|
|
517
|
+
unbien create ~/Movies --name "Video Editor"
|
|
540
518
|
# → Daemon registered: id=4e39152d name="Video Editor" cwd=/Users/x/Movies
|
|
541
519
|
|
|
542
520
|
# 3. Start it (supervisor spawns `pi --mode rpc` for this folder).
|
|
543
|
-
|
|
521
|
+
unbien daemon start
|
|
544
522
|
```
|
|
545
523
|
|
|
546
524
|
Now you can:
|
|
547
525
|
|
|
548
526
|
```bash
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
527
|
+
unbien daemons # list + state
|
|
528
|
+
unbien daemon status # uptime, pid, restart count
|
|
529
|
+
unbien daemon send 4e39152d "Cut the first 30 seconds of latest clip"
|
|
530
|
+
unbien daemon stop # stop all
|
|
531
|
+
unbien daemon restart # restart all
|
|
554
532
|
```
|
|
555
533
|
|
|
556
534
|
The agent receives the prompt as if a user typed it; its response flows
|
|
@@ -561,27 +539,27 @@ via the local UDS mesh.
|
|
|
561
539
|
### Removing or uninstalling
|
|
562
540
|
|
|
563
541
|
```bash
|
|
564
|
-
|
|
565
|
-
|
|
542
|
+
unbien remove <id> # unregister one daemon (config preserved)
|
|
543
|
+
unbien uninstall # remove the supervisor service (registry kept)
|
|
566
544
|
```
|
|
567
545
|
|
|
568
546
|
`uninstall` is reversible — re-running `install` later brings every
|
|
569
547
|
registered daemon back. To wipe the registry entirely, `rm
|
|
570
|
-
~/.pi/
|
|
548
|
+
~/.pi/un-bien/daemons.json`.
|
|
571
549
|
|
|
572
550
|
### Where to find logs
|
|
573
551
|
|
|
574
|
-
| Platform | Command
|
|
575
|
-
| -------- |
|
|
576
|
-
| Linux | `journalctl --user -u
|
|
577
|
-
| macOS | `tail -f ~/.pi/
|
|
552
|
+
| Platform | Command |
|
|
553
|
+
| -------- | -------------------------------------------- |
|
|
554
|
+
| Linux | `journalctl --user -u unbien-supervisord -f` |
|
|
555
|
+
| macOS | `tail -f ~/.pi/un-bien/supervisord.log` |
|
|
578
556
|
|
|
579
557
|
Each spawned daemon's stderr is forwarded into the supervisor's log
|
|
580
558
|
with a `[<cwd>]` prefix, so a single log stream shows every agent.
|
|
581
559
|
|
|
582
|
-
### Caveats
|
|
560
|
+
### Caveats
|
|
583
561
|
|
|
584
|
-
- **Tool
|
|
562
|
+
- **Tool execution is not gated.** Daemons inherit the same Pi config
|
|
585
563
|
the interactive run uses — Bash, Edit, Write etc. all execute without
|
|
586
564
|
prompting. Configure Pi's tool permissions to taste before promoting
|
|
587
565
|
a folder to daemon.
|
|
@@ -596,65 +574,80 @@ with a `[<cwd>]` prefix, so a single log stream shows every agent.
|
|
|
596
574
|
|
|
597
575
|
---
|
|
598
576
|
|
|
599
|
-
## Configuration
|
|
577
|
+
## Configuration & settings
|
|
600
578
|
|
|
601
|
-
|
|
602
|
-
| -------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------- |
|
|
603
|
-
| `<cwd>/.pi/remote-pi/config.json` | Per-directory | `agent_name`, `session_name`, `auto_start_relay` |
|
|
604
|
-
| `~/.pi/remote/config.json` | Per-user | `relay` URL; optional `defaults.auto_start_relay` (machine-wide fallback for per-directory configs) |
|
|
605
|
-
| `~/.pi/remote/peers.json` | Per-machine | Paired mobile devices |
|
|
606
|
-
| `~/.pi/remote/sessions/<name>/` | Per-session | Broker socket + `audit.jsonl` |
|
|
607
|
-
| `~/.pi/remote/skills/agent-network/SKILL.md` | Per-user | Agent skill the LLM reads |
|
|
579
|
+
### Files
|
|
608
580
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
581
|
+
| Path | Scope | What's in it |
|
|
582
|
+
| --------------------------------------------- | ----------------- | ------------------------------------------------------------------------------ |
|
|
583
|
+
| `~/.pi/extensions/un-bien.json` | Per-user (global) | `relay` URL, `defaults`, `identity`, `debug` — the global settings (see below) |
|
|
584
|
+
| `<cwd>/.pi/un-bien/config.json` | Per-directory | `agent_name`, `auto_start_relay`, `allow_remote_launch` |
|
|
585
|
+
| `~/.pi/un-bien/identity.json` | Per-machine | Paired identity keypair (file identity backend; `0600`) |
|
|
586
|
+
| `~/.pi/un-bien/peers.json` | Per-machine | Paired mobile devices |
|
|
587
|
+
| `~/.pi/un-bien/sessions/<name>/` | Per-session | Broker socket + `audit.jsonl` |
|
|
588
|
+
| `~/.pi/un-bien/daemons.json` | Per-machine | Daemon registry |
|
|
589
|
+
| `~/.pi/un-bien/cron.json` · `cron.jsonl` | Per-machine | Cron registry + fire/skip audit log |
|
|
590
|
+
| `~/.pi/un-bien/supervisor.sock` | Per-machine | Supervisor control socket |
|
|
591
|
+
| `~/.pi/un-bien/skills/agent-network/SKILL.md` | Per-user | Agent skill the LLM reads |
|
|
612
592
|
|
|
613
|
-
|
|
614
|
-
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
615
|
-
| `REMOTE_PI_DIR` | Absolute path to the state root. No suffix appended — set this to an XDG-style location like `~/.config/pi/remote-pi`. Takes priority over every other variable. |
|
|
616
|
-
| `REMOTE_PI_HOME` | Stand-in for `$HOME`; state lives at `<REMOTE_PI_HOME>/.pi/remote`. Kept for backward compatibility. |
|
|
593
|
+
### Global settings — `~/.pi/extensions/un-bien.json`
|
|
617
594
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
The global `config.json` (relay URL + defaults) is resolved separately, so it
|
|
623
|
-
can sit beside the coding agent's own settings rather than the state tree:
|
|
624
|
-
|
|
625
|
-
| Variable | Behaviour |
|
|
626
|
-
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
627
|
-
| `PI_CODING_AGENT_DIR` | The Pi host's settings root (default `~/.pi`). `config.json` lives at `<PI_CODING_AGENT_DIR>/remote/config.json`, so with the default agent dir the path stays exactly `~/.pi/remote/config.json`. Takes priority for config. |
|
|
628
|
-
|
|
629
|
-
When `PI_CODING_AGENT_DIR` is unset, `config.json` falls back to the state root
|
|
630
|
-
above (so a pure `REMOTE_PI_DIR` relocation still keeps config beside the rest).
|
|
631
|
-
|
|
632
|
-
### Global defaults
|
|
633
|
-
|
|
634
|
-
The global `~/.pi/remote/config.json` can include a `defaults` block that acts
|
|
635
|
-
as a fallback for every per-directory config that doesn't set the field:
|
|
595
|
+
This is a Pi **extension config** (it lives beside the coding agent's own
|
|
596
|
+
settings, under `PI_CODING_AGENT_DIR/extensions/`, not in the state tree). All
|
|
597
|
+
fields are optional:
|
|
636
598
|
|
|
637
599
|
```jsonc
|
|
638
600
|
{
|
|
601
|
+
// Relay URL in canonical http(s):// form. No default — unset means the
|
|
602
|
+
// extension refuses to connect. Set via `/unbien set-relay <url>`.
|
|
639
603
|
"relay": "https://relay.yourdomain.tld",
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
604
|
+
|
|
605
|
+
// Machine-wide fallback for every per-cwd config that doesn't set the field.
|
|
606
|
+
// Pin auto-start once instead of dropping a file into every repo.
|
|
607
|
+
"defaults": { "auto_start_relay": true },
|
|
608
|
+
|
|
609
|
+
// Machine-identity storage. `storage` selects the PRIMARY backend for this
|
|
610
|
+
// Pi's long-term Ed25519 seed: "keychain" (OS-secured, default) or "file"
|
|
611
|
+
// (a 0600 seed file — the SSH-private-key model: cat-able, portable,
|
|
612
|
+
// works headless). `path` overrides the file-backend location
|
|
613
|
+
// (default ~/.pi/un-bien/identity.json). The unselected backend is still
|
|
614
|
+
// READ to recover an existing identity, but never written.
|
|
615
|
+
"identity": { "storage": "keychain", "path": "~/.pi/un-bien/identity.json" },
|
|
616
|
+
|
|
617
|
+
// File-based diagnostic logs. Off by default. Read from config (not env)
|
|
618
|
+
// because the daemon fork usually runs detached without a shell's env.
|
|
619
|
+
"debug": { "envelope": false, "panels": false },
|
|
643
620
|
}
|
|
644
621
|
```
|
|
645
622
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
623
|
+
### Per-directory settings — `<cwd>/.pi/un-bien/config.json`
|
|
624
|
+
|
|
625
|
+
Written by the `/unbien` setup wizard:
|
|
649
626
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
627
|
+
| Field | Default | Meaning |
|
|
628
|
+
| --------------------- | -------------- | ------------------------------------------------------------------------------------------ |
|
|
629
|
+
| `agent_name` | directory name | Presentation leaf name for this agent (senders still use the opaque `list_peers` address) |
|
|
630
|
+
| `auto_start_relay` | `true` | On a fresh terminal, `/unbien` auto-joins the mesh and starts the relay |
|
|
631
|
+
| `allow_remote_launch` | `false` | Honor `session_launch` requests from a paired owner (spawn a new Pi session). Opt-in only. |
|
|
632
|
+
|
|
633
|
+
### Environment variables
|
|
634
|
+
|
|
635
|
+
| Variable | Purpose |
|
|
636
|
+
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
637
|
+
| `UNBIEN_RELAY` | Relay URL override (highest precedence, ahead of the config file). CI / one-off use. |
|
|
638
|
+
| `UNBIEN_DIR` | Absolute override of the **state** dir itself (no `.pi/un-bien` suffix). The knob for an XDG-style relocation. |
|
|
639
|
+
| `UNBIEN_HOME` | Stand-in `$HOME`; state lives at `<UNBIEN_HOME>/.pi/un-bien`. When both are set, `UNBIEN_DIR` wins. |
|
|
640
|
+
| `PI_CODING_AGENT_DIR` | The Pi host's settings root (default `~/.pi`); the global config lives at `<PI_CODING_AGENT_DIR>/extensions/un-bien.json`. |
|
|
641
|
+
| `UNBIEN_DIRECT_CONFIG` | Inline per-cwd config (JSON) instead of a `.pi/un-bien/config.json` file — used by the daemon supervisor. |
|
|
642
|
+
|
|
643
|
+
`UNBIEN_DIR`/`UNBIEN_HOME` relocate un-bien **state** (sessions, daemon
|
|
644
|
+
registries, cwd locks, paired identity). `PI_CODING_AGENT_DIR` relocates only
|
|
645
|
+
the global **config**, so it can sit beside the coding agent's own settings.
|
|
653
646
|
|
|
654
647
|
Override the relay for a single run without persisting:
|
|
655
648
|
|
|
656
649
|
```bash
|
|
657
|
-
|
|
650
|
+
UNBIEN_RELAY=https://staging.example.tld pi
|
|
658
651
|
```
|
|
659
652
|
|
|
660
653
|
---
|
|
@@ -664,13 +657,16 @@ REMOTE_PI_RELAY=https://staging.example.tld pi
|
|
|
664
657
|
**Footer says `🟡 relay waiting for pairing` even though I paired a device.**
|
|
665
658
|
The icon reflects whether _any_ device has been paired on this machine, not
|
|
666
659
|
whether one is connected right now. If you really have a paired device in
|
|
667
|
-
`/
|
|
660
|
+
`/unbien devices`, restart Pi — the cache may be stale (fixed in current
|
|
668
661
|
release; report a bug if it recurs).
|
|
669
662
|
|
|
670
663
|
**Mobile app times out connecting.** Verify the same relay URL is configured
|
|
671
664
|
on both sides. If you self-host behind a VPN, your phone must also be on the
|
|
672
665
|
VPN (Tailscale on iOS/Android works fine).
|
|
673
666
|
|
|
667
|
+
**`/unbien config` says the relay is `unset`.** Un Bien has no default relay.
|
|
668
|
+
Self-host one and set it with `/unbien set-relay <url>` (or `UNBIEN_RELAY`).
|
|
669
|
+
|
|
674
670
|
**`agent_request` keeps timing out.** It is deprecated because it blocks the
|
|
675
671
|
turn while waiting for another agent's content reply. Migrate to `agent_send`;
|
|
676
672
|
a unicast waits only for the delivery ACK, and the receiver can reply later
|
|
@@ -683,44 +679,17 @@ other terminal first.
|
|
|
683
679
|
|
|
684
680
|
---
|
|
685
681
|
|
|
686
|
-
## Branding
|
|
687
|
-
|
|
688
|
-
Official brand assets live in
|
|
689
|
-
[`/branding`](https://github.com/jacobaraujo7/remote_pi/tree/main/branding) —
|
|
690
|
-
SVG sources for the logo (full, foreground, background, monochrome) plus a
|
|
691
|
-
banner. See the
|
|
692
|
-
[branding README](https://github.com/jacobaraujo7/remote_pi/blob/main/branding/README.md)
|
|
693
|
-
for palette and export sizes.
|
|
694
|
-
|
|
695
|
-
<table>
|
|
696
|
-
<tr>
|
|
697
|
-
<td align="center">
|
|
698
|
-
<img src="https://raw.githubusercontent.com/jacobaraujo7/remote_pi/main/branding/logo-full.svg" width="96" alt="logo-full" /><br/>
|
|
699
|
-
<sub><code>logo-full</code></sub>
|
|
700
|
-
</td>
|
|
701
|
-
<td align="center">
|
|
702
|
-
<img src="https://raw.githubusercontent.com/jacobaraujo7/remote_pi/main/branding/logo-foreground.svg" width="96" alt="logo-foreground" /><br/>
|
|
703
|
-
<sub><code>logo-foreground</code></sub>
|
|
704
|
-
</td>
|
|
705
|
-
<td align="center">
|
|
706
|
-
<img src="https://raw.githubusercontent.com/jacobaraujo7/remote_pi/main/branding/logo-monochrome.svg" width="96" alt="logo-monochrome" /><br/>
|
|
707
|
-
<sub><code>logo-monochrome</code></sub>
|
|
708
|
-
</td>
|
|
709
|
-
</tr>
|
|
710
|
-
</table>
|
|
711
|
-
|
|
712
|
-
---
|
|
713
|
-
|
|
714
682
|
## Links
|
|
715
683
|
|
|
716
|
-
-
|
|
717
|
-
-
|
|
684
|
+
- Repository: <https://github.com/georgeharker/un-bien>
|
|
685
|
+
- Documentation: <https://docs.georgeharker.com/un-bien>
|
|
718
686
|
- Pi coding agent: <https://github.com/earendil-works/pi>
|
|
719
|
-
- Relay (self-hosting guide):
|
|
720
|
-
-
|
|
687
|
+
- Relay (self-hosting guide): [`../relay/README.md`](../relay/README.md)
|
|
688
|
+
- Upstream project (remote-pi, MIT): <https://github.com/jacobaraujo7/remote_pi>
|
|
721
689
|
|
|
722
690
|
---
|
|
723
691
|
|
|
724
692
|
## License
|
|
725
693
|
|
|
726
|
-
MIT
|
|
694
|
+
MIT — derived from [remote-pi](https://github.com/jacobaraujo7/remote_pi) by
|
|
695
|
+
Jacob Moura. See [`LICENSE`](LICENSE).
|