Expand description
What an agent can do about a workspace that is going to stop (App workspace and keep_running).
GET /api/v1/app/workspace: whether a stop is pending, when and why (the reason ids and phrases of theworkspace:stopevent), and what an agent last asked for.POST /api/v1/agent/keep-running { minutes }: ask for the pending stop to be pushed back by 1 to 240 minutes. It is recorded as the agent that asked (agent:<id>); srv hands the request to its registered external host with the next activity answer, and the host decides whether to honour it. With no stop pending there is nothing to put back and it is refused. Both work for host and container agents alike.
Structsยง
- Keep
Running ๐Request
Functionsยง
- handle_
keep_ ๐running POST /api/v1/agent/keep-running.- handle_
workspace ๐ GET /api/v1/app/workspace.- refusal ๐
- workspace_
view ๐ - The workspaceโs stop as an agent reads it.