~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
88 lines · 2.7 KB Raw History
{
	"lexicon": 1,
	"id": "place.hud.tile",
	"defs": {
		"main": {
			"type": "record",
			"description": "A tile of a HUD canvas, in the repo of the member who added it in the canvas's space (place.hud.workspace), keyed by the tile's id (12 hex digits): one of HUD's read tools and its arguments, never its result, as a column of the canvas's strip of columns, or in a column's stack.",
			"key": "any",
			"record": {
				"type": "object",
				"required": [
					"tool",
					"title",
					"order",
					"by",
					"createdAt"
				],
				"properties": {
					"tool": {
						"type": "string",
						"maxLength": 64,
						"knownValues": [
							"describe_repo",
							"describe_app",
							"describe_collection",
							"describe_method",
							"list_records",
							"get_record",
							"query"
						],
						"description": "The read tool whose result the tile shows, by its MCP name."
					},
					"arguments": {
						"type": "unknown",
						"description": "The tool's arguments, an object. Arguments with a number that is not an integer, which a record cannot hold, are argumentsJson instead."
					},
					"argumentsJson": {
						"type": "string",
						"maxLength": 65536,
						"description": "The tool's arguments as JSON text, where arguments cannot hold them."
					},
					"title": {
						"type": "string",
						"maxLength": 2000,
						"maxGraphemes": 200
					},
					"order": {
						"type": "string",
						"maxLength": 32,
						"description": "Its place, a decimal number as text (\"3\", \"2.5\", \"-1\"), ascending: a column head's on the strip, a stacked tile's within its stack. Moving a tile writes a number between its new neighbours', so only it is rewritten."
					},
					"width": {
						"type": "string",
						"knownValues": [
							"third",
							"half",
							"two-thirds",
							"full"
						],
						"description": "Its column's width, as a share of the strip's visible width; a third where none is given. A stacked tile's column's is its head's."
					},
					"stack": {
						"type": "string",
						"maxLength": 512,
						"description": "The key of the column-head tile it is stacked under, on the same canvas; none for a column's head."
					},
					"by": {
						"type": "string",
						"knownValues": [
							"person",
							"agent"
						],
						"description": "Who added it: the member, or an agent of theirs through HUD's MCP canvas tools."
					},
					"createdAt": {
						"type": "string",
						"format": "datetime"
					},
					"from": {
						"type": "string",
						"maxLength": 512,
						"description": "The key of the tile it was opened from, on the same canvas, which the workspace draws a connector from; that tile may be gone since."
					}
				}
			}
		}
	}
}