Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion apps/desktop/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,19 @@ Gateway and runs Agents. The daemon exits with the app.
asynchronously after signaling `resume_ready` so removing the previous
checkout never delays opening the window; otherwise the older services keep
running from their folder, the record keeps naming it, and the start failure
page's Retry moves them again. `LocalServer` marks `localServer: true` in
page's Retry moves them again. When `--resume` starts services cleanly but
reports `runtimeError` or leaves `config.json` without the expected
`localmodels` kit (resolved read-only via `resolveEffectiveToolSource` so a
newer verified `<home>/tools/localmodels/active.json` kit is respected and
never downgraded, and skipped under `LINGER_LOCALMODELS_DEV_*` overrides),
`LocalServer` logs `local_server.resume_runtime_failed` naming the error and
expected vs active kit hashes, keeps `runtimeRefreshPending: true` in
`desktop/local-server.json`, and schedules bounded background retries
(`local_server.runtime_refresh_retry_scheduled` /
`local_server.runtime_refresh_retry_exhausted`, abortable on stop, reset,
`server.changed`, or `suspendRecovery`) without blocking startup, clearing
`runtimeRefreshPending` and logging `local_server.runtime_refresh_recovered`
once adoption succeeds. `LocalServer` marks `localServer: true` in
`config.json` when it owns the active server (explicitly set to `false` on
`server.changed` to another origin, preserved on `server.moved`, and cleared
with `serverUrl` on reset while keeping `preferredRuntime`/`runtimeEnvironment`);
Expand Down
Loading