API reference
Supported state paths
state.get
Read the full public state object, or pass a path string to read a specific field. The resolved value is returned in the response’svalue field:
state.get() with no argument returns the entire public state snapshot in value. Passing a path string returns the value at that path in value.
state.patch
Write a single state path.patch is a convenience shorthand for a single-operation transaction:
state.transaction
Apply multiple state changes in one request. Operations are applied in array order:op: "set" when op is omitted. Pass op: "remove" to clear a supported path. selected_model_key and screen require valid replacement values and cannot be removed:
Transactions apply operations in order. They provide a common mutation API, not database-level rollback across unrelated Android repositories. If an individual operation fails, earlier operations in the same transaction are not reversed.