chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.1 Latest 5 packages
0
0
{
"lexicon": 1,
"id": "place.hud.signIn",
"defs": {
"main": {
"type": "object",
"description": "An operator's app file's sign-in screen (signIn in <HUD_APPS>/<domain>.json): what its clients' own sign-in screen says, and where it finds accounts as a handle is typed. With it, HUD sends the app's web clients (their redirect URI at the app's domain) straight on to the account's server, as it does its own app. 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, the typeahead's url an https origin, each link a path or an https URL.",
"required": ["title"],
"properties": {
"title": { "type": "string", "minLength": 1, "maxLength": 400, "maxGraphemes": 80, "description": "The screen's heading." },
"text": { "type": "string", "minLength": 1, "maxLength": 2000, "maxGraphemes": 300, "description": "A line under the heading, its links written as Markdown's [label](href), each href a path of the app's own site or an https URL." },
"placeholder": { "type": "string", "minLength": 1, "maxLength": 200, "maxGraphemes": 50, "description": "What the handle's field holds while it is empty." },
"legal": { "type": "string", "minLength": 1, "maxLength": 2000, "maxGraphemes": 300, "description": "A line under the form, as the terms signing in agrees to; its links as text's." },
"create": { "type": "ref", "ref": "#create", "description": "Making an account, offered under the form." },
"typeahead": { "type": "ref", "ref": "#typeahead", "description": "Who matches what is typed of a handle, offered under the field." }
}
},
"create": {
"type": "object",
"description": "Making an account: HUD asks its sign-up PDS for one (prompt=create), as its own sign-in page's Create one does.",
"required": ["label"],
"properties": {
"text": { "type": "string", "minLength": 1, "maxLength": 400, "maxGraphemes": 80, "description": "A line before its button." },
"label": { "type": "string", "minLength": 1, "maxLength": 400, "maxGraphemes": 40, "description": "Its button's label." }
}
},
"typeahead": {
"type": "object",
"description": "A public query that matches accounts to what is typed, called by the client directly, as no one: GET <url>/xrpc/<method>?<param>=<typed>&<params>. As a Compose text field's suggest, but at a host of its own.",
"required": ["url", "method", "param", "items", "did", "handle"],
"properties": {
"url": { "type": "string", "format": "uri", "maxLength": 2000, "description": "The XRPC host, an https origin, as https://typeahead.waow.tech." },
"method": { "type": "string", "format": "nsid", "description": "The query's NSID." },
"param": { "type": "string", "minLength": 1, "maxLength": 100, "description": "The parameter what is typed is given in." },
"params": { "type": "unknown", "description": "Its other parameters, an object of strings, numbers and booleans, as { \"limit\": 5 }." },
"items": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to the list of accounts in its answer." },
"did": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to an account's DID in an item." },
"handle": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to an account's handle in an item." },
"name": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to an account's name in an item." },
"avatar": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to an account's picture in an item, an https URL." },
"avatarFallback": { "type": "string", "minLength": 1, "maxLength": 1000, "maxGraphemes": 100, "description": "A dotted path to the picture drawn where avatar's fails to load, an https URL." }
}
}
}
}