mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-03 21:54:27 +01:00
feat(analysis): what komorebi believed, and what changed
A komorebi `State` is read into monitors, workspaces and windows through each flavor's rules, and what changed between two states is said in terms a person would use. `at`, `range`, `summary` and `locate` ask what the recording holds around a video time, and the other way round, with the text and JSON the later commands share.
This commit is contained in:
1 parent
af6e332fed
commit
72419d89a2
13 files changed
+2866
No files matched your search
@@ -93,6 +93,12 @@ reactions: a display that is gone has its video finalized at once, one that retu
|
||||
stream is started afresh after a wake. The capture backend is a trait, so that these policies are tested with a scripted
|
||||
backend that docks and undocks without hardware.
|
||||
|
||||
## Investigating
|
||||
|
||||
Reading a session never needs a window: `analysis` answers each question as a plain serializable value, and the command
|
||||
line and the viewer present the same answers. Every command takes `--json`, which prints an envelope with the data, its
|
||||
schema, warnings, whether it was truncated and a cursor, and failures exit with a code that says what kind they were.
|
||||
|
||||
## Rules and the layer that enforces them
|
||||
|
||||
| Rule | Enforced by |
|
||||
|
||||
Reference in new issue
Block a user