~ 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
30 lines · 969 B Raw History
{
	"$type": "place.hud.view",
	"method": "dev.knotless.getPullDiff",
	"app": "knotless",
	"service": "did:web:knotless.dev#knotless_appview",
	"description": "Files of a knotless pull's diff, each a unified diff (params: { repo: \"at://<handle>/dev.knotless.repo/<name>\", uri: the pull's at-uri, paths: [file paths] })",
	"query": {
		"items": "files",
		"summary": { "noun": ["file", "files"], "label": { "$": "new" } },
		"layout": {
			"component": "List",
			"props": { "items": { "$": "items" }, "style": "rows", "empty": "None of those files changed", "open": false },
			"children": [
				{
					"component": "Diff",
					"props": {
						"path": { "$": "new" },
						"from": { "$": "old" },
						"status": { "$": "status" },
						"added": { "$": "added" },
						"removed": { "$": "removed" },
						"note": { "$": "note" },
						"rows": { "$": "rows" },
						"kinds": { "added": "a", "removed": "d", "hunk": "h", "note": "x" }
					}
				}
			]
		}
	}
}