Skip to main content
Glama
Models.kt1.13 kB
package maestro.studio import com.fasterxml.jackson.annotation.JsonProperty import maestro.Platform import java.util.UUID data class DeviceScreen( val platform: Platform, val screenshot: String, val width: Int, val height: Int, val elements: List<UIElement>, val url: String?, ) data class UIElementBounds( val x: Int, val y: Int, val width: Int, val height: Int, ) data class UIElement( val id: String, // Autogenerated uuid to make this easier to work with on the frontend val bounds: UIElementBounds?, val resourceId: String?, val resourceIdIndex: Int?, val text: String?, val hintText: String?, val accessibilityText: String?, val textIndex: Int? ) enum class ReplCommandStatus { @JsonProperty("pending") PENDING, @JsonProperty("running") RUNNING, @JsonProperty("success") SUCCESS, @JsonProperty("error") ERROR, @JsonProperty("canceled") CANCELED, } data class ReplCommand( val id: UUID, val yaml: String, val status: ReplCommandStatus, ) data class Repl( val commands: List<ReplCommand>, )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server