Expand description
App with workspace and keep_running: an agent’s view of its workspace’s pending stop, and its request to
put it back (srv’s GET /api/v1/app/workspace and POST /api/v1/agent/keep-running). Both work for host and
container agents. The request is recorded as the agent; whether to honour it is up to the workspace’s timer.
Constants§
- MAX_
MINUTES 🔒 - The most one request may ask for, minutes (srv refuses more).
Functions§
- describe 🔒
- The answer of
workspacein words: “This workspace stops at 14:32 UTC (in 12 minutes) because nothing has happened for 50 minutes.” - keep_
running 🔒 keep_runningwithminutes: ask for the pending stop to be put back.- workspace 🔒
workspace: whether a stop is pending, when and why, and what an agent last asked for.