From fb12dce5630437fa9957bc8c31e744f1ecec331b Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Tue, 13 Oct 2026 03:43:12 -0400 Subject: [PATCH 1/4] docs: document stim-server service and setup on Windows --- AGENTS.md | 13 +++--- packages/server/README.md | 57 ++++++++++++++++++++++--- packages/stim-cli/src/guide/settings.ts | 4 +- website/docs/remote-machines.md | 37 +++++++++++----- website/docs/settings.md | 10 +++-- 5 files changed, 93 insertions(+), 28 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3bd8794ff..a4cf33b6e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -324,15 +324,18 @@ outside it moves to its own issue and pull request. and stim-server stops it when the build is cancelled, the client loses `build`, or the machine's available memory runs low. Gradle stops a daemon whose Gradle home is deleted. `stim-server service` installs, - reports and removes the worker's per-user service, a LaunchAgent on macOS - or a systemd user unit on Linux, and, only when asked, a tailnet-only serve - route; it never enables Funnel, never runs sudo and never touches pairings, + reports and removes the worker's per-user service, a LaunchAgent on macOS, + a systemd user unit on Linux or a scheduled task on Windows, whose action is + Stim's supervisor because Task Scheduler does not restart an exited process, + and, only when asked, a tailnet-only serve + route; it never enables Funnel, never runs sudo or elevates, and never touches pairings, `$STIM_HOME/server` or settings. `stim-server service update` and `rollback` install a server version beside the running one under `~/Library/Application Support/Stim/services/