chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
0
0
{
"lexicon": 1,
"id": "dev.knotless.defs",
"description": "Definitions shared by the knotless lexicons.",
"defs": {
"repoRef": {
"type": "object",
"description": "A repository, as another record names it. The URI's name is the one the repository had when the record was written; a rename changes it, and a later repository can take it. The owner in the URI and `key` stay the repository's own, and are what a reader matches on.",
"required": ["uri", "key"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "The dev.knotless.repo record, as it was named when this was written." },
"key": { "type": "string", "format": "tid", "description": "The repository's `key`." }
}
},
"facet": {
"type": "object",
"description": "Where a text says more than its words, shaped as app.bsky.richtext.facet: the span it covers and what that span is. A pull's, an issue's or a comment's body has its own, and a pull's or an issue's title its own.",
"required": ["index", "features"],
"properties": {
"index": { "type": "ref", "ref": "#byteSlice" },
"features": { "type": "array", "maxLength": 8, "items": { "type": "union", "refs": ["#mention"] }, "description": "What the span is. Kinds unknown to a reader are passed over." }
}
},
"byteSlice": {
"type": "object",
"description": "A span of a text, by its UTF-8 bytes, counted from zero: the start inclusive, the end exclusive.",
"required": ["byteStart", "byteEnd"],
"properties": {
"byteStart": { "type": "integer", "minimum": 0 },
"byteEnd": { "type": "integer", "minimum": 0 }
}
},
"mention": {
"type": "object",
"description": "An account the span, `@handle` in the text, mentions: kept by DID, so it names the account still after its handle changes. The account hears of it as a notification.",
"required": ["did"],
"properties": {
"did": { "type": "string", "format": "did" }
}
},
"image": {
"type": "object",
"description": "A picture a pull's, an issue's or a comment's body shows, attached so its author's PDS keeps it. The body links to it on that PDS, as `com.atproto.sync.getBlob` serves it, saying what it shows as Markdown's alt text; readers may show it from elsewhere, as dev.knotless.getAttachment does.",
"required": ["image"],
"properties": {
"image": { "type": "blob", "accept": ["image/png", "image/jpeg", "image/webp", "image/gif"], "maxSize": 1000000 },
"width": { "type": "integer", "minimum": 1, "description": "How wide it is drawn, in CSS pixels: its pixels over the density it was made at, so a screenshot taken at 2x shows at the size it was seen. Readers draw it no wider than where it goes, keeping its shape." },
"height": { "type": "integer", "minimum": 1, "description": "How high it is drawn, in CSS pixels, as `width` is." }
}
},
"link": {
"type": "object",
"description": "A link shown on an account's profile or a repository's pages.",
"required": ["url"],
"properties": {
"url": { "type": "string", "format": "uri", "description": "Where it goes: an http or https address." },
"title": { "type": "string", "maxGraphemes": 40, "maxLength": 320, "description": "What to call it. Readers fall back to the address's host." }
}
},
"actorView": {
"type": "object",
"description": "An account, as an appview shows it beside what it did.",
"required": ["did", "handle"],
"properties": {
"did": { "type": "string", "format": "did" },
"handle": { "type": "string", "description": "The handle the account claims, when it resolves back to it; else the DID." },
"avatar": { "type": "string", "format": "uri", "description": "The account's picture, as in dev.knotless.getProfile#profileView." },
"bot": { "type": "boolean", "description": "Whether its knotless profile says it is a bot, as the appview has indexed. Absent when it does not, and from an appview that keeps no index." }
}
},
"themeView": {
"type": "object",
"description": "A theme made for the pages, from its dev.knotless.theme record.",
"required": ["uri", "creator", "name", "palette", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.theme record." },
"creator": { "type": "ref", "ref": "#actorView", "description": "The account that made it." },
"name": { "type": "string", "description": "What it is called." },
"palette": { "type": "ref", "ref": "dev.knotless.theme#palette", "description": "Its colours, only those given as #rrggbb." },
"createdAt": { "type": "string", "format": "datetime" }
}
},
"repoViewBasic": {
"type": "object",
"description": "A repository, under the name it has now.",
"required": ["did", "handle", "name"],
"properties": {
"did": { "type": "string", "format": "did", "description": "The repository's owner." },
"handle": { "type": "string", "description": "The owner's handle, as in #actorView." },
"name": { "type": "string", "description": "The repository's name: its record key." }
}
},
"repoView": {
"type": "object",
"description": "A repository among others, from its dev.knotless.repo record.",
"required": ["uri", "owner", "name", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.repo record, under the name it has now." },
"owner": { "type": "ref", "ref": "#actorView" },
"name": { "type": "string", "description": "The repository's name: its record key." },
"description": { "type": "string" },
"forkOf": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository it was forked from, if the appview knows it." },
"createdAt": { "type": "string", "format": "datetime", "description": "As its record says." },
"private": { "type": "boolean", "description": "Whether it is private, in a space: listed only to its owner, asking." },
"language": { "type": "ref", "ref": "#languageView", "description": "The language most of its default branch is written in, as its file listing counts them. Absent when none is counted, or the appview could not read it." },
"starCount": { "type": "integer", "minimum": 0, "description": "How many accounts starred it, as the appview has indexed. Given only where a list shows it, as an account's stars do." },
"forkCount": { "type": "integer", "minimum": 0, "description": "How many forks of it there are, as the appview has indexed. Given only where a list shows it, as an account's stars do." }
}
},
"repoViewDetailed": {
"type": "object",
"description": "A repository, with what its pages show above themselves.",
"required": ["uri", "owner", "name", "defaultBranch", "openPulls", "openIssues", "card"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.repo record, under the name it has now." },
"owner": { "type": "ref", "ref": "#actorView" },
"name": { "type": "string", "description": "The repository's name: its record key." },
"key": { "type": "string", "maxLength": 32, "description": "The repository's key, as its dev.knotless.repo record holds it, which a rename keeps: what dev.knotless.putSecret and dev.knotless.listSecrets name it by." },
"description": { "type": "string" },
"forkOf": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository it was forked from, if the appview knows it." },
"links": { "type": "array", "items": { "type": "ref", "ref": "#link" }, "description": "Links its pages show, in display order, as its record names them: its website first. Only http and https addresses." },
"defaultBranch": { "type": "string", "description": "The branch its HEAD names: empty, for a repository never pushed." },
"openPulls": { "type": "integer", "minimum": 0 },
"openIssues": { "type": "integer", "minimum": 0 },
"mergeQueue": { "type": "boolean", "description": "Whether its pages lead to its merge queue: a rule of its record has a branch take pulls through it, or an open pull waits in it still. Absent when neither." },
"card": { "type": "string", "description": "The path, on this appview, of the picture a link to its pages unfurls into: a new one whenever the picture changes." },
"starCount": { "type": "integer", "minimum": 0, "description": "How many accounts starred it, as the appview has indexed. Absent for a private repository, which cannot be starred, and from an appview that keeps no index." },
"forkCount": { "type": "integer", "minimum": 0, "description": "How many forks of it there are, as the appview has indexed. Absent for a private repository, whose forks are private too, and from an appview that keeps no index." },
"releases": { "type": "ref", "ref": "#releasesView", "description": "What it publishes, in brief, as the appview has indexed. Absent when it has published nothing, for a private repository, which cannot publish, and from an appview that keeps no index." },
"viewer": { "type": "ref", "ref": "#repoViewerState", "description": "What the account asking has to do with it; absent when no one asks." },
"private": { "type": "boolean", "description": "Whether it is private, in a space: shown only to its members, each logged in to this appview." },
"archivedAt": { "type": "string", "format": "datetime", "description": "When its owner archived it, making it read only. Absent when it is not archived." },
"topics": { "type": "array", "items": { "type": "ref", "ref": "dev.knotless.repo#topic" }, "description": "What it is about, as its record names them, in its order." },
"collaborators": { "type": "array", "items": { "type": "ref", "ref": "#actorView" }, "description": "The first twenty accounts that may push to it besides its owner, as its record names them." },
"collaboratorCount": { "type": "integer", "minimum": 0, "description": "How many accounts may push to it besides its owner: more than `collaborators` holds when the list was cut short." },
"site": { "type": "ref", "ref": "#siteView", "description": "Its website, where this appview serves sites. Absent when it has none, or it is taken down." }
}
},
"siteView": {
"type": "object",
"description": "A repository's website, as its dev.knotless.site record was last indexed.",
"required": ["url", "deployedAt"],
"properties": {
"url": { "type": "string", "format": "uri", "description": "Where it is served: under its owner's label of the pages domain, or, for a private repository, at a host of its own." },
"commit": { "type": "string", "description": "The hex object ID of the commit its record says the files were built from, as whoever deployed it said, unchecked." },
"check": { "type": "string", "format": "at-uri", "description": "The dev.knotless.check of the run that built and deployed it, given only when the check is in the account of a runner the repository's record names." },
"deployedAt": { "type": "string", "format": "datetime", "description": "When it was deployed, as its record says." }
}
},
"repoViewerState": {
"type": "object",
"description": "What the account asking a query has to do with a repository.",
"properties": {
"star": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.star record naming the repository, if it starred it." },
"transfer": { "type": "ref", "ref": "#repoViewBasic", "description": "Where the owner has offered to move the repository, when it is offered to the account asking, which can take it up (dev.knotless.acceptTransfer)." },
"labels": { "type": "array", "items": { "type": "ref", "ref": "dev.knotless.repo#label" }, "description": "The labels it defines that the account asking may put on its pulls and issues, in its order: as its owner, a collaborator, or a triager of their scopes. Absent when there are none." },
"subscription": { "type": "string", "maxLength": 64, "knownValues": ["all", "releases", "ignore"], "description": "What the account asking chose to hear of it (dev.knotless.putSubscription): `all` it does, its `releases` alone, or nothing, as it `ignore`s it. Its owner, until it chooses, hears `all`. Absent when it hears only of what it takes part in." },
"admin": { "type": "boolean", "description": "Whether the account asking may change its settings: as its owner, or as an admin who joined the organization that owns it, when that organization delegated its writes to this appview's gateway, which makes the changes as it. Renaming, deleting and transferring it stay the owner's own. Absent when it may not." }
}
},
"labelName": {
"type": "object",
"description": "A label a repository defines, by name, as one to put on a pull or an issue.",
"required": ["name"],
"properties": {
"name": { "type": "string", "maxLength": 100, "maxGraphemes": 50, "description": "The label's name, as the repository defines it." }
}
},
"repoMade": {
"type": "object",
"description": "A repository the pages made: created, forked, renamed or taken up.",
"required": ["uri", "name"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.repo record, by its owner's DID." },
"name": { "type": "string", "maxLength": 100, "description": "Its name, the record key." }
}
},
"starState": {
"type": "object",
"description": "A repository's stars, as starring or unstarring it leaves them.",
"required": ["starCount"],
"properties": {
"starCount": { "type": "integer", "minimum": 0, "description": "How many accounts starred it now." },
"star": { "type": "string", "format": "at-uri", "description": "The asker's dev.knotless.star record naming it; absent once unstarred." }
}
},
"followState": {
"type": "object",
"description": "An account's followers, as following or unfollowing it leaves them.",
"required": ["followersCount"],
"properties": {
"followersCount": { "type": "integer", "minimum": 0, "description": "How many accounts follow it now." },
"following": { "type": "string", "format": "at-uri", "description": "The asker's dev.knotless.follow record naming it; absent once unfollowed." }
}
},
"actorViewerState": {
"type": "object",
"description": "What the account asking a query has to do with an account.",
"properties": {
"following": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.follow record naming the account, if it follows it." },
"blocking": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.block record keeping the account out of all its repositories, if it has one." }
}
},
"commitView": {
"type": "object",
"description": "A commit, with the accounts that wrote it where the repository's pages believe their claims (dev.knotless.emails).",
"required": ["sha", "parents", "author", "coauthors", "date", "message"],
"properties": {
"sha": { "type": "string", "description": "Its object name, in hex." },
"parents": { "type": "array", "items": {"type": "ref", "ref": "#commitRefView"} },
"author": { "type": "ref", "ref": "#commitAuthorView" },
"coauthors": { "type": "array", "description": "Who its message's `Co-authored-by` trailers name.", "items": {"type": "ref", "ref": "#commitAuthorView"} },
"date": { "type": "string", "format": "datetime", "description": "When its author made it, which a rebase or a squash keeps." },
"committer": { "type": "ref", "ref": "#commitAuthorView", "description": "Who committed it, when someone other than its author did." },
"committedAt": { "type": "string", "format": "datetime", "description": "When it was committed: what history runs in, as its author's date need not." },
"message": { "type": "string", "description": "Its message, less the last line naming the pull it merged, if it did." },
"pull": { "type": "ref", "ref": "#itemViewBasic", "description": "The pull that brought it in: the one its message's last line names, as a squash or merge commit records it, when that is a pull on this repository; else the merged pull whose merge brought it into the branch, as a fast-forward's commits." }
}
},
"commitRefView": {
"type": "object",
"description": "A commit, by its object name.",
"required": ["sha"],
"properties": {
"sha": { "type": "string", "description": "In hex." }
}
},
"commitAuthorView": {
"type": "object",
"description": "Who wrote a commit or helped to: by the name git gives, and by account when that is one of the repository's people whose address it is.",
"required": ["name"],
"properties": {
"name": { "type": "string", "description": "The name git records." },
"actor": { "type": "ref", "ref": "#actorView" },
"agent": { "type": "string", "knownValues": ["claude"], "description": "The coding agent whose address it is, when it is one the pages know the face of." }
}
},
"itemViewBasic": {
"type": "object",
"description": "A pull or an issue, by its record and its title.",
"required": ["uri", "title"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.pull or dev.knotless.issue record." },
"title": { "type": "string" }
}
},
"checkView": {
"type": "object",
"description": "The newest run of a workflow, as a runner the repository names in its record reported it.",
"required": ["uri", "repo", "workflow", "status", "commit", "startedAt", "images"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.check record." },
"repo": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository it is of, whose pages show it." },
"workflow": { "type": "string" },
"status": { "type": "string", "knownValues": ["queued", "running", "success", "failure", "error", "cancelled"], "description": "`queued` is a run filed and waiting for a job on its runner, no step started yet." },
"commit": { "type": "string", "description": "The commit it ran at, in hex." },
"startedAt": { "type": "string", "format": "datetime" },
"finishedAt": { "type": "string", "format": "datetime" },
"error": { "type": "string", "description": "Why it could not run." },
"skipped": { "type": "string", "description": "For a `success` that ran nothing, as the change touched none of the paths its workflow names: why." },
"images": { "type": "array", "description": "The pictures it made to be looked at, in order.", "items": {"type": "ref", "ref": "#checkImageView"} }
}
},
"checkImageView": {
"type": "object",
"description": "A picture a check made: screenshots of the pages a change moved, say.",
"required": ["alt", "url"],
"properties": {
"alt": { "type": "string", "description": "What it shows." },
"url": { "type": "string", "description": "Where this appview serves it, as a path." }
}
},
"minutesView": {
"type": "object",
"description": "The minutes a runner the repository names counts for its owner's public repositories, from its dev.knotless.minutes record.",
"required": ["runner", "minutes", "updatedAt"],
"properties": {
"runner": { "type": "ref", "ref": "#actorView", "description": "The runner's account." },
"minutes": { "type": "integer", "minimum": 0, "description": "The minutes steps took in the 30 days up to `updatedAt`." },
"allowance": { "type": "integer", "minimum": 1, "description": "The minutes in 30 days it gives the owner's runs before they go one at a time. Absent when there is no limit." },
"freeing": { "type": "array", "description": "When minutes counted now stop counting, soonest first.", "items": { "type": "ref", "ref": "dev.knotless.minutes#freeing" } },
"updatedAt": { "type": "string", "format": "datetime", "description": "When the runner last counted." }
}
},
"fileDiffView": {
"type": "object",
"description": "One file of a diff, or why its rows are not shown.",
"required": ["old", "new", "status", "added", "removed", "rows"],
"properties": {
"old": { "type": "string", "description": "Its path before." },
"new": { "type": "string", "description": "Its path after." },
"status": { "type": "string", "knownValues": ["added", "deleted", "renamed", "modified"] },
"added": { "type": "integer", "minimum": 0, "description": "Lines added." },
"removed": { "type": "integer", "minimum": 0, "description": "Lines removed." },
"note": { "type": "string", "description": "Why its rows are not shown, when they are not." },
"ranges": { "type": "string", "description": "The ranges its highlighting paints, encoded as the pages read them." },
"rows": { "type": "array", "items": {"type": "ref", "ref": "#diffRowView"} },
"rowCount": { "type": "integer", "minimum": 0, "description": "Where its rows are left out but would be shown, as dev.knotless.getThread's filesOnly leaves them, how many there are: the room a page keeps for them until they come." },
"hunkCount": { "type": "integer", "minimum": 0, "description": "Of those rows, how many are hunk headers, which a page may draw taller than a line." }
}
},
"diffRowView": {
"type": "object",
"description": "One row of a file's diff: a hunk header, a note, or a line with its old and new numbers.",
"required": ["kind", "line", "text"],
"properties": {
"kind": { "type": "string", "description": "`h` for a hunk header, `x` for a note, `a` for a line added, `d` for one removed, or empty for context." },
"line": { "type": "boolean", "description": "Whether it is a line of the file." },
"old": { "type": "integer", "minimum": 0, "description": "Its number before." },
"new": { "type": "integer", "minimum": 0, "description": "Its number after." },
"text": { "type": "string" }
}
},
"languageView": {
"type": "object",
"description": "One language a repository is written in.",
"required": ["name", "color", "bytes", "permille"],
"properties": {
"name": { "type": "string", "description": "Its name, or `Other` for the languages each under one percent." },
"color": { "type": "string", "description": "Its color, as linguist has it." },
"bytes": { "type": "integer", "minimum": 0 },
"permille": { "type": "integer", "minimum": 0, "maximum": 1000, "description": "Its share of all the bytes counted, in tenths of a percent." }
}
},
"releaseViewBasic": {
"type": "object",
"description": "One version of a package a repository publishes, from its dev.knotless.release record: which, and when.",
"required": ["uri", "package", "version", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.release record." },
"package": { "type": "string", "description": "The package's name." },
"version": { "type": "string", "description": "Its Semantic Versioning 2.0 version." },
"latest": { "type": "boolean", "description": "True for its package's latest version: the highest with no pre-release part that is not yanked." },
"image": { "type": "boolean", "description": "True when its files are a container image's OCI layout, pulled by `docker pull` rather than downloaded." },
"createdAt": { "type": "string", "format": "datetime", "description": "As its record says." }
}
},
"releaseView": {
"type": "object",
"description": "One version of a package a repository publishes, from its dev.knotless.release record, with its files and notes.",
"required": ["uri", "package", "version", "files", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.release record." },
"package": { "type": "string", "description": "The package's name." },
"version": { "type": "string", "description": "Its Semantic Versioning 2.0 version." },
"latest": { "type": "boolean", "description": "True for its package's latest version: the highest with no pre-release part that is not yanked." },
"image": { "type": "boolean", "description": "True when its files are a container image's OCI layout: an `index.json` beside blobs named `sha256-<hex>`, pulled by `docker pull` rather than downloaded." },
"yanked": { "type": "boolean", "description": "True when its owner withdrew it, by a dev.knotless.releaseYank record: its files can still be read, but it is no one's latest." },
"crate": { "type": "boolean", "description": "True when it is a crate, added with Cargo from its repository's registry, at `/cargo/<owner's DID>/<repository's key>/`, rather than downloaded." },
"commit": { "type": "string", "description": "The hex object ID of the commit its files were built from, if its record names one." },
"check": { "type": "string", "format": "at-uri", "description": "The dev.knotless.check of the run that built it, if its record names one." },
"notes": { "type": "string", "description": "What changed since the version before, in Markdown, as its record says." },
"html": { "type": "string", "description": "`notes` made into HTML, as dev.knotless.getThread's comments are: raw HTML shown as text, and links made relative to the repository." },
"files": {
"type": "array",
"description": "What it publishes, in its record's order.",
"items": { "type": "ref", "ref": "#releaseFileView" }
},
"createdAt": { "type": "string", "format": "datetime", "description": "As its record says." }
}
},
"releaseFileView": {
"type": "object",
"description": "One file of a release.",
"required": ["name", "size", "sha256"],
"properties": {
"name": { "type": "string", "description": "Its name, as it is downloaded." },
"size": { "type": "integer", "minimum": 1, "description": "Bytes in the file." },
"sha256": { "type": "string", "description": "The lowercase hex SHA-256 of the file, which a reader checks it against." }
}
},
"packageView": {
"type": "object",
"description": "One package a repository publishes.",
"required": ["name"],
"properties": {
"name": { "type": "string", "description": "The package's name." },
"latest": { "type": "string", "description": "Its latest version: the highest with no pre-release part. Absent when it has only pre-releases." },
"image": { "type": "boolean", "description": "True when its latest version, or its newest when none is latest, is a container image." },
"releaseCount": { "type": "integer", "minimum": 0, "description": "How many versions of it are published." }
}
},
"releasesView": {
"type": "object",
"description": "What a repository publishes, in brief, for its pages to show under its name.",
"required": ["count", "release", "packages"],
"properties": {
"count": { "type": "integer", "minimum": 0, "description": "How many releases it has published, of all its packages." },
"release": { "type": "ref", "ref": "#releaseViewBasic", "description": "The release to show for it: the latest of the package named as the repository, else the newest that is its package's latest, or the newest of all when each is a pre-release." },
"packages": {
"type": "array",
"description": "Each package it publishes, by name.",
"items": { "type": "ref", "ref": "#packageView" }
}
}
},
"stepView": {
"type": "object",
"description": "A shared step, a file of workflow steps a repository publishes for others' workflows to use, at its latest version: from its dev.knotless.release records of the package `@step/<name>`.",
"required": ["uri", "name", "repo", "version", "secretCount", "useCount", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "The dev.knotless.release record of its latest version." },
"name": { "type": "string", "description": "The step's name: its file's, `.knotless/steps/<name>.yml`." },
"repo": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository it is in." },
"description": { "type": "string", "description": "What it does, as its step file says." },
"version": { "type": "string", "description": "Its latest version: the highest with no pre-release part, or the highest of all when each is a pre-release." },
"secretCount": { "type": "integer", "minimum": 0, "description": "How many secrets it asks to be given." },
"useCount": { "type": "integer", "minimum": 0, "description": "How many public repositories pin it, at any version, in the `.knotless/uses.lock` of their default branch, as the appview last read each." },
"createdAt": { "type": "string", "format": "datetime", "description": "When its latest version was published, as its record says." }
}
},
"stepViewDetailed": {
"type": "object",
"description": "A shared step at its latest version, as #stepView, with what it takes and asks for, its versions and some of the repositories that use it.",
"required": ["uri", "name", "repo", "version", "commit", "path", "uses", "inputs", "needs", "secrets", "versions", "useCount", "usedBy", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "The dev.knotless.release record of its latest version." },
"name": { "type": "string", "description": "The step's name: its file's, `.knotless/steps/<name>.yml`." },
"repo": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository it is in." },
"description": { "type": "string", "description": "What it does, as its step file says." },
"version": { "type": "string", "description": "Its latest version, as in #stepView." },
"commit": { "type": "string", "description": "The hex object ID of the commit its latest version was published at." },
"path": { "type": "string", "description": "Its file in its repository: `.knotless/steps/<name>.yml`." },
"uses": { "type": "string", "description": "What a workflow step's `uses` names it by to take its latest major version: `<handle>/<repo>/<name>@<major>`, or `@0.<minor>` before 1.0.0." },
"inputs": { "type": "array", "description": "Its inputs, by name.", "items": { "type": "ref", "ref": "#stepInputView" } },
"needs": { "type": "array", "description": "The commands it needs in the workflow's image.", "items": { "type": "ref", "ref": "#stepCommandView" } },
"secrets": { "type": "array", "description": "The secrets it asks to be given, by name.", "items": { "type": "ref", "ref": "#stepSecretView" } },
"versions": { "type": "array", "description": "Each version published that is a step file, the highest first.", "items": { "type": "ref", "ref": "#stepVersionView" } },
"useCount": { "type": "integer", "minimum": 0, "description": "How many public repositories pin it, as in #stepView." },
"usedBy": { "type": "array", "description": "Some of the repositories that pin it, at most 30.", "items": { "type": "ref", "ref": "#repoViewBasic" } },
"createdAt": { "type": "string", "format": "datetime", "description": "When its latest version was published, as its record says." }
}
},
"stepInputView": {
"type": "object",
"description": "An input a shared step takes, which reaches its steps as the environment variable `INPUT_<NAME>`.",
"required": ["name", "required"],
"properties": {
"name": { "type": "string", "description": "The input's name, as a workflow's `with` gives it." },
"description": { "type": "string", "description": "What it is, as the step file says." },
"required": { "type": "boolean", "description": "True when a workflow using the step must give it." },
"default": { "type": "string", "description": "Its value when a workflow does not give it." }
}
},
"stepCommandView": {
"type": "object",
"description": "A command a shared step needs in the workflow's image, checked before its steps run.",
"required": ["name"],
"properties": {
"name": { "type": "string", "description": "The command's name, as `command -v` finds it." }
}
},
"stepSecretView": {
"type": "object",
"description": "A secret a shared step asks to be given, which a workflow passes it by name.",
"required": ["name"],
"properties": {
"name": { "type": "string", "description": "The secret's name." }
}
},
"stepVersionView": {
"type": "object",
"description": "One published version of a shared step.",
"required": ["uri", "version", "commit", "createdAt"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.release record." },
"version": { "type": "string", "description": "Its Semantic Versioning 2.0 version." },
"commit": { "type": "string", "description": "The hex object ID of the commit it was published at, which a lock pins." },
"createdAt": { "type": "string", "format": "datetime", "description": "As its record says." }
}
},
"itemView": {
"type": "object",
"description": "A pull or an issue in a list of them.",
"required": ["uri", "kind", "title", "state", "author", "createdAt", "comments"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.pull or dev.knotless.issue record." },
"kind": { "type": "string", "knownValues": ["pull", "issue"] },
"title": { "type": "string" },
"state": { "type": "string", "knownValues": ["open", "closed", "merged"], "description": "A merged pull is merged; a closed one, or an issue, closed." },
"author": { "type": "ref", "ref": "#actorView", "description": "Who opened it." },
"createdAt": { "type": "string", "format": "datetime" },
"updatedAt": { "type": "string", "format": "datetime", "description": "When its author last changed its title or body, if they have." },
"comments": { "type": "integer", "minimum": 0, "description": "How many comments are on it, its own body aside." },
"draft": { "type": "boolean", "description": "A pull its author has not marked ready to merge. Not, when absent." },
"reviewers": {
"type": "array",
"description": "Those asked to review a pull, in the order asked: first by its author, then by the repository's owner or collaborators (dev.knotless.assignment), then the required reviewers the rule protecting its base names. Absent when no one is asked.",
"items": { "type": "ref", "ref": "#actorView" }
},
"requiredReviewers": {
"type": "array",
"description": "Of reviewers, those the rule protecting the pull's base requires: asked of every pull into it, and stopped only by changing the rule. Absent when there are none.",
"items": { "type": "ref", "ref": "#actorView" }
},
"assignees": {
"type": "array",
"description": "Those the repository's owner or collaborators assign it to, in the order assigned (dev.knotless.assignment). Absent when it is assigned to no one.",
"items": { "type": "ref", "ref": "#actorView" }
},
"labels": {
"type": "array",
"description": "The labels it carries, as the repository defines them, in the order it does. Absent when it carries none.",
"items": { "type": "ref", "ref": "dev.knotless.repo#label" }
},
"attachments": {
"type": "array",
"description": "The pictures its record attaches (dev.knotless.defs#image), in its order, each where any reader loads it. Given where the view is made for someone asking, as dev.knotless.getThread's `item`; absent when it attaches none.",
"items": { "type": "ref", "ref": "#attachmentView" }
}
}
},
"attachmentView": {
"type": "object",
"description": "A picture a pull, an issue or a comment attaches, as readers load it: from this appview, with no cookie or header needed.",
"required": ["cid", "url"],
"properties": {
"cid": { "type": "string", "format": "cid", "description": "The attached blob." },
"url": { "type": "string", "format": "uri", "description": "An absolute URL on this appview's public origin that serves it: dev.knotless.getAttachment's. For a private repository it carries a `token` for the account that asked, lasting about an hour and ended by their logging out here: theirs alone, not to be shared or kept." },
"width": { "type": "integer", "minimum": 1, "description": "How wide it is drawn, in CSS pixels, as its record's dev.knotless.defs#image says." },
"height": { "type": "integer", "minimum": 1, "description": "How high it is drawn, in CSS pixels, as its record's dev.knotless.defs#image says." }
}
},
"commentView": {
"type": "object",
"description": "Something said on a pull or an issue.",
"required": ["author", "createdAt", "html"],
"properties": {
"uri": { "type": "string", "format": "at-uri", "description": "Its dev.knotless.comment record." },
"author": { "type": "ref", "ref": "#actorView" },
"createdAt": { "type": "string", "format": "datetime" },
"updatedAt": { "type": "string", "format": "datetime", "description": "When its author last changed it, if they have." },
"body": { "type": "string", "description": "What it says, as its author wrote it, in Markdown." },
"html": { "type": "string", "description": "What it says, its Markdown made into HTML: raw HTML shown as text, and links made relative to the repository." },
"verdict": { "type": "string", "knownValues": ["approve", "changes"], "description": "For a review, what it found." },
"commit": { "type": "string", "description": "For a review of a pull, the hex object ID of the head it looked at; for a comment on its lines, the commit they are in." },
"line": { "type": "ref", "ref": "#lineView", "description": "For a comment on a pull's lines, which, as they stand now." },
"reply": { "type": "string", "format": "at-uri", "description": "The comment starting the thread on a pull's lines that this answers." },
"review": { "type": "string", "format": "at-uri", "description": "The review this was sent with, as one of its line comments." },
"dismisses": { "type": "string", "format": "at-uri", "description": "The review, another comment on the pull, this dismissed, its body saying why: from the owner or a collaborator." },
"resolved": { "type": "boolean", "description": "For a comment starting a thread on a pull's lines, whether the thread is resolved." },
"reactions": {
"type": "array",
"description": "How accounts reacted to it, by content, in the order dev.knotless.defs#reactionContent lists them. Absent when none did.",
"items": { "type": "ref", "ref": "#reactionCountView" }
},
"attachments": {
"type": "array",
"description": "The pictures its record attaches (dev.knotless.defs#image), in its order, each where any reader loads it. Absent when it attaches none.",
"items": { "type": "ref", "ref": "#attachmentView" }
}
}
},
"lineView": {
"type": "object",
"description": "The lines of a pull's diff a comment is on.",
"required": ["path", "line", "outdated"],
"properties": {
"path": { "type": "string", "description": "The file's path on that side." },
"side": { "type": "string", "knownValues": ["old", "new"], "description": "`old` for the side the pull leaves; absent, `new`." },
"line": { "type": "integer", "minimum": 1, "description": "The last line." },
"startLine": { "type": "integer", "minimum": 1, "description": "The first, for more than one." },
"outdated": { "type": "boolean", "description": "Whether that side of the file has changed since the comment's commit, so its lines may no longer be where they were." },
"lines": {
"type": "array",
"description": "The lines as they were at the comment's commit, and for one alone a few before it; absent when that commit can no longer be read.",
"items": { "type": "ref", "ref": "#lineTextView" }
}
}
},
"lineTextView": {
"type": "object",
"description": "One line of a file.",
"required": ["number", "text"],
"properties": {
"number": { "type": "integer", "minimum": 1, "description": "Counting from 1." },
"text": { "type": "string" }
}
},
"reviewView": {
"type": "object",
"description": "Where one reviewer stands on a pull: their latest comment with a verdict. A comment without one leaves it as it was, and a pull's author reviews nothing of their own.",
"required": ["reviewer", "verdict", "uri", "outdated", "maintainer"],
"properties": {
"reviewer": { "type": "ref", "ref": "#actorView" },
"verdict": { "type": "string", "knownValues": ["approve", "changes"], "description": "`approve`, or `changes` for one that asked for changes." },
"uri": { "type": "string", "format": "at-uri", "description": "The dev.knotless.comment that reviewed it." },
"commit": { "type": "string", "description": "The hex object ID of the head it looked at." },
"outdated": { "type": "boolean", "description": "Whether the open pull has moved past the head it looked at: an approval then stands for what the pull was, not what it is." },
"maintainer": { "type": "boolean", "description": "Whether the reviewer is the repository's owner or a collaborator." },
"dismissed": { "type": "boolean", "description": "Whether the owner or a collaborator dismissed it (dev.knotless.dismissReview): it counts for nothing, for or against the pull, until its reviewer reviews again." },
"gate": { "type": "boolean", "description": "Whether the rule protecting the pull's base names the reviewer as a gate, whose review of the head the pull waits for though it may not write." }
}
},
"reactionContent": {
"type": "string",
"description": "What a reaction says, as GitHub's eight: a thumbs up, a thumbs down, a laugh, a party popper, a confused face, a heart, a rocket and eyes.",
"maxLength": 32,
"knownValues": ["+1", "-1", "laugh", "hooray", "confused", "heart", "rocket", "eyes"]
},
"reactionCountView": {
"type": "object",
"description": "How many accounts reacted to something with one content.",
"required": ["content", "count"],
"properties": {
"content": { "type": "ref", "ref": "#reactionContent" },
"count": { "type": "integer", "minimum": 0, "description": "How many accounts reacted so, each once." },
"reaction": { "type": "string", "format": "at-uri", "description": "The asker's dev.knotless.reaction record of this content on it, if they reacted so." }
}
},
"reactionState": {
"type": "object",
"description": "The reactions to a pull, an issue or a comment.",
"required": ["subject", "reactions"],
"properties": {
"subject": { "type": "string", "format": "at-uri", "description": "The pull, issue or comment." },
"reactions": {
"type": "array",
"description": "By content, in the order dev.knotless.defs#reactionContent lists them; a content no account reacted with is left out.",
"items": { "type": "ref", "ref": "#reactionCountView" }
}
}
},
"pullHeadView": {
"type": "object",
"description": "What a pull brings in: a branch of a repository.",
"required": ["branch"],
"properties": {
"repo": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository the branch is on, if the index knows it." },
"branch": { "type": "string" }
}
},
"queueStateView": {
"type": "object",
"description": "Where an open pull stands in its target branch's merge queue.",
"required": ["state", "createdAt", "said", "checks"],
"properties": {
"state": { "type": "string", "knownValues": ["queued", "ejected"] },
"reason": { "type": "string", "description": "Why it was ejected, as the runner said." },
"createdAt": { "type": "string", "format": "datetime", "description": "When it was queued or ejected." },
"said": { "type": "string", "description": "Where it stands, in words: `Queued, 3rd of 5, running its checks`, `In a batch of 4 being checked`, `Landing`, or why it was ejected." },
"stage": { "type": "string", "knownValues": ["queued", "preflight", "again", "ready", "review", "checking", "landing", "stacked"], "description": "While queued, where it stands, as `dev.knotless.getQueue#queuedView` says." },
"typical": { "type": "ref", "ref": "#queueTypicalView", "description": "While queued, how long its merge queue typically takes." },
"batchStartedAt": { "type": "string", "format": "datetime", "description": "While its batch is being checked or landing, when that started." },
"aheadStartedAt": { "type": "string", "format": "datetime", "description": "Queued in no batch, when the newest batch being checked ahead of it started." },
"checks": {
"type": "array",
"description": "While its batch is being checked or landing, the batch's checks; queued in no batch, its pre-flights' newest runs; once ejected by checks that failed, those.",
"items": { "type": "ref", "ref": "#checkView" }
}
}
},
"queueTypicalView": {
"type": "object",
"description": "How long a repository's merge queue typically takes, for saying when a queued pull should land: a pull in a batch lands a batch after the batch started; one in no batch is ready once its pre-flights would pass, or now if they have, and lands a batch after that or after the batch being checked ahead of it, whichever is later.",
"required": ["batchSeconds", "preflightSeconds"],
"properties": {
"batchSeconds": { "type": "integer", "minimum": 0, "description": "A batch, from its first run starting to its last ending: the median of those that landed lately." },
"preflightSeconds": { "type": "integer", "minimum": 0, "description": "A pull's pre-flights at a head, as long as the longest of them that passed: the median, or a batch's with none to go by." }
}
},
"stackView": {
"type": "object",
"description": "The chain of pulls a pull is part of, each built on the one below it.",
"required": ["pulls"],
"properties": {
"pulls": { "type": "array", "description": "Highest first: the lowest, which lands first, is last.", "items": { "type": "ref", "ref": "#stackPullView" } },
"into": { "type": "string", "description": "The branch the lowest pull targets." }
}
},
"stackPullView": {
"type": "object",
"description": "One pull of a stack.",
"required": ["item"],
"properties": {
"item": { "type": "ref", "ref": "#itemView" },
"branch": { "type": "string", "description": "Its head branch." },
"merged": { "type": "string", "description": "The commit it landed as." }
}
},
"changesView": {
"type": "object",
"description": "What a pull brings in: for a merged one, what its merge brought into the base; otherwise what its branch has since it left the base.",
"required": ["repo", "commits", "files"],
"properties": {
"repo": { "type": "ref", "ref": "#repoViewBasic", "description": "The repository whose commit pages show its commits." },
"commits": {
"type": "array",
"description": "Oldest first.",
"items": { "type": "ref", "ref": "#commitView" }
},
"files": {
"type": "array",
"description": "As an editor's file tree lists them: in each directory, its directories before its files, each by name.",
"items": { "type": "ref", "ref": "#fileDiffView" }
},
"head": { "type": "string", "description": "For an open pull, the hex object ID of the commit its branch is at: what its checks and reviews are of." }
}
}
}
}