Expand description
Controller-side lifecycle transitions and canonical-to-backend conversion.
Modules§
- move_
session - One recoverable stop/restore operation, independent of its initiating viewer.
Structs§
- Checkpoint
Artifact - Checkpoint
Deferred - The session was working, so this checkpoint did not run. Nothing is wrong with the session, the target, or the last archive.
- Controller
- Controller
Store Guard - Machine-wide advisory lock for one controller data store. This prevents a dashboard, server, or CLI lifecycle command from concurrently acting as a second controller against the same SQLite state and relay sessions.
- Quick
Bundle Creation - The durable result of creating a quick bundle. The returned config is the same fresh config that was written, allowing a serving projection to publish the new bundle before acknowledging the request that created it.
- Recovery
Candidate - Recovery
Scan - Resume
Repository Source Mismatch - Resume
Repository Source Receipt - Session
Launch Options - Session
Resume Options
Enums§
- Quick
Bundle Failure - Failure stages exposed to a viewer request without exposing the underlying filesystem/configuration error. The detailed error remains available to the caller for logs and terminal notices.
- Resume
Plan - What a resume has to do to the session record before it provisions.
- Resume
Repository Source Preflight - Worker
Binary Availability - Worker
Upgrade Outcome - What an upgrade attempt found. Nothing here is a failure: a worker that is already current and a session that started working again are both ordinary.
Functions§
- checkpoint_
was_ deferred - Whether a failed checkpoint only means the session was busy.
- create_
bundle_ from_ sources - Create one bundle from one or more local repositories or GitHub sources.
- create_
bundle_ from_ sources_ in_ config - Add a bundle for all
sourcesto an already-loaded config. The source interpretation is shared with the persistedcreate_bundle_from_sourcesentry point and the legacy quick-bundle helper. - create_
quick_ bundle - Create a quick bundle from a local repository or GitHub source and persist it as one serialized fresh-config transaction. Identical sources reuse the existing configured bundle, matching the terminal’s behavior. The returned config is the same fresh config that was written, allowing a serving projection to publish the new bundle before acknowledging the request.
- create_
quick_ bundle_ in_ config - Add a quick bundle to an already-loaded config. The helper still performs
the local repository canonicalization/GitHub-source parsing, but callers
that persist a config should use
create_quick_bundleso concurrent saves cannot clobber one another. - image_
refresh_ plan - Every container image a background refresh keeps current, once per (host, image, platform).
- local_
project_ repository - Inspect a local launch directory using the same Git error handling and linked-worktree identity as existing sessions.
- pin_
worker_ binary_ sources - Capture the worker sources used by this daemon before its asynchronous managers start. Missing sources are retained as per-architecture errors so an unused architecture does not prevent daemon startup.
- reconcile_
managed_ checkpoint_ archives - Remove checkpoint archives installed by a process that exited before its database transaction committed. Call this only while holding the machine-wide controller-store guard and before starting background work.
- resume_
compatibility - Whether
sessionmay resume ontarget_id, and what the resume must do to the session record. The error is shown to the person choosing the target, so it says where the session is tied down and what to pick instead. - worker_
binary_ prerequisite_ for_ arch - Find a worker source without downloading it.