Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Merge remote-tracking branch 'origin/main' into hosted/adopt-instance-type

Petr Bauchc0598fe3bd88
diff --cc CHANGELOG.md
index 751c51bdf,e853db87f..1d2b68cab
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -111,17 -118,14 +118,25 @@@ version of their own to them without al
compares it only when someone signs in.
#### Changed
+- **A cloud machine can move to another instance type and keep its disk.**
+ The hosted controller now launches every new instance of a machine as the
+ instance type in its `gateway.json`, at the same moment it already moves the
+ machine onto the configured image, and `upgrade --gateway-config` moves a
+ stopped machine onto both. Changing `instance_type` therefore resizes
+ existing machines as well as new ones; a machine that only stops and starts
+ keeps its instance and type. `allowed_instance_types` is no longer bound to
+ the controller's state database, so it can change while machines exist, and
+ `status` and `list` report `instance_type_allowed` for each machine. A
+ database bound before this release is accepted and rebound on first start,
+ as long as `allowed_instance_types` has not changed in the same deploy.
+ - **Agents and controllers are pinged every 10 seconds instead of every 2.**
+ A connection is now declared dead after 30 seconds without a beat, up from
+ 6, so a client that goes away holds its room slot and shows online for up to
+ 30 seconds. The interval is advertised on every open, so clients follow it
+ without an update. The agent auth cache now gives each entry a random 80 to
+ 120% of `AGENT_AUTH_CACHE_TTL_SECONDS`, so entries filled together after a
+ restart do not all expire together, and that setting must stay below 25
+ seconds (the 30 second heartbeat TTL, less the jitter) or startup refuses it.
- **Following the conversation is described the same way everywhere, and the
chart can turn it on.** The feature added in 0.31.0 is off unless
`follow_the_conversation` is among the enabled feature flags