From 0ae0bdf4325c5a29fe10501d68d7f6be06e53ef7 Mon Sep 17 00:00:00 2001 From: Federico Jaramillo Martinez Date: Fri, 5 Jun 2026 23:40:16 +0200 Subject: [PATCH] docs: refine fleet guide --- docs/machines.html | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/docs/machines.html b/docs/machines.html index ab70d8c..f4e5de2 100644 --- a/docs/machines.html +++ b/docs/machines.html @@ -69,20 +69,20 @@
-

What machine federation is

+

What Fleet does

A machine is a PI WEB runtime endpoint. The local machine is synthesized automatically. Remote machines are opt-in PI WEB runtimes that you register with a base URL and, optionally, a bearer token. @@ -94,21 +94,24 @@

- Federated shape + Fleet shape
Browser
   ↓
 PI WEB gateway you opened
-  ↓ gateway proxy
-Remote PI WEB runtime
-  ↓
-Remote projects, workspaces, sessions, terminals, plugins
+ ├─ [ Local runtime ] + │ + ├─ [ Remote PI WEB runtime A ] + │ ↓ selected machine + │ projects, workspaces, sessions, terminals, plugins + │ + └─ [ Remote PI WEB runtime B ]
-

When to use federation

+

When to use it

Federation is useful when you have more than one place where agents should work, but you want one stable browser entrypoint. @@ -133,7 +136,7 @@ Remote projects, workspaces, sessions, terminals, plugins

-

Prepare the target machines

+

Set up another runtime

Install and run PI WEB on every machine you want to register. The remote URL must be reachable from the gateway server, not just from your browser. @@ -159,7 +162,7 @@ Remote projects, workspaces, sessions, terminals, plugins

-

Add a remote machine

+

Add a machine

  1. Open the PI WEB instance you want to use as the gateway.
  2. Open Actions → Add Machine.
  3. @@ -178,7 +181,7 @@ Remote projects, workspaces, sessions, terminals, plugins
-

What is proxied

+

What works remotely

After you select a machine, the rest of the app works in that machine's scope. The gateway routes the selected-machine work to the target PI WEB runtime. @@ -194,7 +197,7 @@ Remote projects, workspaces, sessions, terminals, plugins

-

Auth and credentials stay on the target machine

+

Credentials stay on the target machine

Model-provider credentials, Pi configuration, OAuth state, repositories, and active session runtimes stay on the selected target machine. The gateway does not copy them into its own Pi configuration. @@ -211,7 +214,7 @@ Remote projects, workspaces, sessions, terminals, plugins

-

Remote plugins are machine-scoped

+

Plugins follow the selected machine

When you select a remote machine, PI WEB tries to load that machine's discovered plugins through the gateway. Remote plugin actions, workspace panels, and workspace labels only appear while that machine is @@ -225,7 +228,7 @@ Remote projects, workspaces, sessions, terminals, plugins

-

Trust model

+

Trust boundaries

Machine federation is for trusted users, trusted PI WEB servers, and trusted network paths. Adding a machine gives the gateway permission to contact that URL and forward user-initiated PI WEB traffic to it. @@ -238,7 +241,7 @@ Remote projects, workspaces, sessions, terminals, plugins

-

Storage and troubleshooting

+

Troubleshooting

Remote machine records are stored on the gateway in ~/.pi-web/machines.json. If PI_WEB_DATA_DIR is set, they live under $PI_WEB_DATA_DIR/machines.json.