Skip to main content

Module ui

Module ui 

Source
Expand description

The tray flyout’s view of the daemon, served whole by GET /ui/state.

These types are the contract with the C# tray app: its types are generated from the JSON Schema of UiState, and the golden fixtures in contract/ pin the wire shape.

Structs§

ActiveJob
An active lease and the process its command runs as.
CpuMeter
Processor load.
EndedLease
A lease that ended a moment ago: released by its holder, ended by allotd, killed or removed.
GpuMeter
One GPU adapter.
JobProcess
The process shown for a job.
Meters
Machine meters with the share that leases reserve.
Notice
A kill or removal that Claude must hear about once.
QueuedJob
A queued lease and why it waits.
RamMeter
Physical memory.
RecentRun
A finished job.
UiSession
One registered Claude session.
UiState
Response of GET /ui/state: everything the flyout shows, in one poll.