Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs: document provider sources and iTerm host access
[._.]/ Adam Eivybbee49ed8d2d
diff --git a/docs/API.md b/docs/API.mdindex fd3de6d7f4..f3ec6fded6 100644--- a/docs/API.md+++ b/docs/API.md@@ -789,7 +789,7 @@ Every mounted API prefix (see `server/index.js` for the authoritative list). Dom| `/api/standardize` | App PM2 standardizer || `/api/stacker-news`, `/api/x` | Social integrations || `/api/model-personality` | LLM personality tests |-| `/api/providers/comparison` | Provider/model comparison catalog — discover, import, and benchmark source sync (Artificial Analysis, SWE-bench, LiveCodeBench; see [MODEL-COMPARISON.md](./MODEL-COMPARISON.md)) |+| `/api/providers/comparison` | Provider/model comparison catalog — discover, import, and benchmark source sync (Artificial Analysis, OpenRouter routed pricing and endpoint performance, Epoch AI, SWE-bench, LiveCodeBench; see [MODEL-COMPARISON.md](./MODEL-COMPARISON.md)) || `/api/browser` | Managed Chromium || `/api/creative-commission` | Creative commissions || `/api/midi-runtime` | MIDI runtime |@@ -916,6 +916,8 @@ socket.emit('shell:stop', { sessionId });The Shell page's iTerm2 view uses its own `iterm:*` events, never the `shell:*` ones — see [ITERM.md](./ITERM.md). There is no start, stop or resize: iTerm2 owns its sessions' lifecycle and size.+`iterm:input` types exact bytes into a live host terminal and can run commands with the host user's privileges. Treat access to the PortOS socket as host-command access; the iTerm2 view adds no command allowlist. PortOS authentication and HTTPS are optional and off by default, so keep the instance on its private network and use a strong, unique instance password.+```javascriptsocket.emit('iterm:list'); // subscribe; replies (and re-broadcasts) iterm:sessionssocket.on('iterm:sessions', ({ status, sessions }) => {}); // status.state, [{ id: 'iterm-<uuid>', windowIndex, tabIndex, paneIndex, label, cwd, cols, rows, … }]diff --git a/docs/ITERM.md b/docs/ITERM.mdindex c061757a76..d8bf21ebd4 100644--- a/docs/ITERM.md+++ b/docs/ITERM.md@@ -10,6 +10,10 @@ On a Mac running iTerm2, PortOS can list the terminals you already have open inThe first time PortOS connects, macOS may ask whether PortOS (the process running `osascript`) may control iTerm2. Allow it under **System Settings → Privacy & Security → Automation**.+## Security++Input is delivered to the selected live terminal exactly as typed and can run commands with the host user's privileges. Treat access to the PortOS socket as host-command access; this view adds no command allowlist. PortOS authentication and HTTPS are optional and off by default, so keep the instance on its private network and use a strong, unique instance password.+## Using itWith the feature on, the Shell page header shows a `PortOS | iTerm2` switch. `/shell` and `/shell/:sessionId` stay PortOS shells. `/shell/iterm` lists the iTerm2 sessions, grouped window › tab › pane, and `/shell/iterm/iterm-<uuid>` opens one directly (⌘K "iterm" goes there too). The view has an amber iTerm2 frame and badge plus a `cols×rows · sized by iTerm` geometry badge. The input helpers (Ctrl-C, Esc, arrows, paste, quick commands, fullscreen) all work. New, Stop, Restart, the cd picker and the provider launcher are absent on purpose.