full diff

dev.knotless.addAgent

From
bafyreicwaqeoj3ukjxhyekmdmdxrsgoczupyt7hhrrefjqutehckegurry indexed 2026-11-02 23:59 UTC View this version
To
bafyreihbznbewhalfyqmrjkxr65evth4is3nfqmwx7n3s4o6xdfzjjml24 indexed 2026-11-04 13:31 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Names the account among the agents of the repository's dev.knotless.repo record, as `knotless agents add` does: accounts, such as a coding agent, whose pulls its runners check as they move, as code no one vouches for. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization. Answers with the agents it names after.",
5 "description": "Names the account among the agents of the repository's dev.knotless.repo record, as `knotless agent add` does: accounts, such as a coding agent, whose pulls its runners check as they move, as code no one vouches for. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization. Answers with the agents it names after.",
66 "errors": [
77 {
88 "description": "No such repository, or no such account.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 },
1515 {
1616 "description": "The account asking is neither the owner nor an admin who joined the organization that owns it.",
1717 "name": "Forbidden"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "agent": {
2525 "description": "The account, by handle or DID.",
2626 "format": "at-identifier",
2727 "type": "string"
2828 },
2929 "repo": {
3030 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
3131 "format": "at-uri",
3232 "type": "string"
3333 }
3434 },
3535 "required": [
3636 "repo",
3737 "agent"
3838 ],
3939 "type": "object"
4040 }
4141 },
4242 "output": {
4343 "encoding": "application/json",
4444 "schema": {
4545 "properties": {
4646 "agents": {
4747 "description": "The accounts the repository names as agents now.",
4848 "items": {
4949 "ref": "dev.knotless.defs#actorView",
5050 "type": "ref"
5151 },
5252 "type": "array"
5353 }
5454 },
5555 "required": [
5656 "agents"
5757 ],
5858 "type": "object"
5959 }
6060 },
6161 "type": "procedure"
6262 }
6363 },
6464 "description": "Names an account among a repository's agents.",
6565 "id": "dev.knotless.addAgent",
6666 "lexicon": 1
6767}

Compare other versions