diff --git a/README.md b/README.md index dbf7d33..4f581bb 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,9 @@ From source, for development and for the command line. .venv\Scripts\iris --voice # say "hey jarvis", then your request .venv\Scripts\iris dashboard # status, activity, eval and skill review at http://127.0.0.1:8765 .venv\Scripts\iris shortcut # an Iris.lnk on your desktop: double-click to open the app, no console - .venv\Scripts\iris startup on # an Iris.vbs in the Startup folder starts the tray app at login, no console + .venv\Scripts\iris startup on # an Iris.vbs in the Startup folder starts the tray app at login, no console; + # the Settings tab has the same switch (the installer build manages its own + # startup entry, so it is disabled there) .venv\Scripts\iris app # the desktop app (install the .[app] extra): dashboard window, tray, voice mode .venv\Scripts\iris timings # how long recent requests took: median and p90, model share, slowest tools ``` @@ -325,8 +327,9 @@ set IRIS_DASHBOARD_PORT=9000 # same, via environment vari The server binds to loopback only. Every data endpoint answers GET (the Activity tab's Speed panel reads `/api/timings`); the writes are the two model actions, `POST /api/models/load` and `POST /api/models/unload`, the queue edits, `POST /api/queue/add`, `/delete` and `/move`, `POST /api/cline/start`, approving or removing a skill (`POST /api/skills/approve` and `/remove`), saving settings -(`POST /api/settings`), the Setup tab's steps (`POST /api/setup/...`), starting a voice pack download -(`POST /api/packs/install`) and, in the app, restarting voice mode (`POST /api/app/voice/restart`). All of them +(`POST /api/settings`), turning start at login on or off (`POST /api/startup`), the Setup tab's steps +(`POST /api/setup/...`), starting a voice pack download (`POST /api/packs/install`) and, in the app, restarting +voice mode (`POST /api/app/voice/restart`). All of them require a loopback Origin or Referer plus the per-start `X-Iris-Token` header, so a page opened from anywhere else cannot trigger them; every other method gets a 405. A start additionally needs a click on its button and a confirm dialog, so it never happens on its own. The journal file is opened read-only, there are no diff --git a/docs/desktop-app.md b/docs/desktop-app.md index 3f34620..1218353 100644 --- a/docs/desktop-app.md +++ b/docs/desktop-app.md @@ -65,9 +65,10 @@ flowchart LR read-only **Logs** tab on the dashboard tails that file, `overlay.log` and the VoxCPM `worker.log`. `iris startup on` writes an `Iris.vbs` in the Startup folder (pythonw, `-m iris app --background`, hidden, so only -the tray icon shows). `iris shortcut` writes an `Iris.lnk` on the desktop (`-m iris app`, the Iris icon; a second -start brings the running window forward). The app gives its child programs one hidden console, so git, nvidia-smi -and powershell never flash a window. The installer build makes its own Start menu and startup entries (section 3). +the tray icon shows); the dashboard's Settings tab has the same switch. `iris shortcut` writes an `Iris.lnk` on the +desktop (`-m iris app`, the Iris icon; a second start brings the running window forward). The app gives its child +programs one hidden console, so git, nvidia-smi and powershell never flash a window. The installer build makes its +own Start menu and startup entries (section 3), so there the switch is disabled. ## 3. Packaging: a private CPython plus Inno Setup diff --git a/docs/voice.md b/docs/voice.md index 202afcb..5153409 100644 --- a/docs/voice.md +++ b/docs/voice.md @@ -37,8 +37,9 @@ extra packages) and writes errors to `~/.iris/overlay.log`; if it fails or is cl `iris shortcut` puts an `Iris.lnk` on your desktop with the Iris icon: double-click it and the app starts in its window and tray, with no console; a second start just brings the running window forward. `iris startup on` starts the tray app at login through an `Iris.vbs`, with no console window; -`iris startup off` stops that. Let LM Studio start its local server at login too (its settings have an option for -it), or Iris has no model to talk to. +`iris startup off` stops that. The dashboard's Settings tab has the same switch; in the installer build it is +disabled, because the installer manages its own startup entry. Let LM Studio start its local server at login too (its +settings have an option for it), or Iris has no model to talk to. ### Wake word