~ 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
44 lines · 1.7 KB Raw History
{
	"$type": "place.hud.view",
	"method": "dev.knotless.getActorRepos",
	"app": "knotless",
	"service": "did:web:knotless.dev#knotless_appview",
	"description": "An account's knotless repositories, newest first (params: { actor: a handle or DID })",
	"launch": [{ "title": "Repositories", "params": { "actor": { "$me": "did" } } }],
	"profile": { "title": "knotless", "params": { "actor": { "$actor": "did" } } },
	"query": {
		"items": "repos",
		"cursor": "cursor",
		"summary": { "noun": ["repository", "repositories"], "label": { "$": "name" } },
		"layout": {
			"component": "List",
			"props": {
				"items": { "$": "items" },
				"style": "rows",
				"empty": "No repositories yet",
				"open": { "query": "dev.knotless.getRepo", "params": { "repo": { "$": "uri" } } }
			},
			"children": [
				{
					"component": "Row",
					"props": { "gap": "sm", "align": "center" },
					"children": [
						{ "component": "Text", "props": { "value": { "$": "name" }, "style": "strong" } },
						{ "component": "Text", "props": { "value": { "$": "forkOf.name" }, "prefix": "fork of ", "style": "muted" } }
					]
				},
				{ "component": "Text", "props": { "value": { "$": "description" }, "style": "muted" } },
				{
					"component": "Row",
					"props": { "gap": "md", "align": "center" },
					"children": [
						{ "component": "Text", "props": { "value": { "$": "language.name" }, "style": "muted" } },
						{ "component": "Stat", "props": { "value": { "$": "starCount" }, "icon": "star", "label": "stars" } },
						{ "component": "Stat", "props": { "value": { "$": "forkCount" }, "icon": "fork", "label": "forks" } },
						{ "component": "Time", "props": { "value": { "$": "createdAt" } } }
					]
				}
			]
		}
	}
}