~ 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
26 lines · 2.0 KB Raw History
{
	"lexicon": 1,
	"id": "place.hud.tabFirst",
	"defs": {
		"main": {
			"type": "object",
			"description": "Where one of an operator's app file's tabs finds its root in the account's data, signed in (first, on a tab in <HUD_APPS>/<domain>.json): the screen of the first item, of a list a query answers, whose path is one of the app's screens, as Grain's Home opens the first feed the person pinned. The app's clients choose it as they draw the tab, the web shell's server for each page, so the page is that screen from its first paint; signed out, or where nothing listed has a screen, the tab's own call stands. An object in a file, not a method, so it needs no auth. hud_core::operator holds it to this lexicon, then to its own rules: no key but these, its call a query of a method's NSID, its paths dotted.",
			"required": ["call", "at", "path"],
			"properties": {
				"call": { "type": "ref", "ref": "#call", "description": "The query whose answer lists the items, made as the account." },
				"at": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to the list in the query's answer (in its response), a segment @name the element of a list whose $type is name or ends #name." },
				"path": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path, in each item, to a path of the app's own site: the item's screen is that path's by the app's routes, the tab's own call at the tab's own path." },
				"after": { "type": "string", "format": "nsid", "description": "A procedure after which the root is chosen again, as it changes the list." }
			}
		},
		"call": {
			"type": "object",
			"description": "A query call, as an app's tabs and routes name one.",
			"required": ["name"],
			"properties": {
				"name": { "type": "string", "maxLength": 64, "description": "The tool's name: query." },
				"args": { "type": "unknown", "description": "The query's arguments: its method, service and params." }
			}
		}
	}
}