add lexicon codegen: vendored lexicons, lex cli and generation scripts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-03 12:06:59 +03:00
parent a2129885c6
commit a3243820c9
311 changed files with 23342 additions and 14 deletions
@@ -0,0 +1,74 @@
{
"id": "com.atproto.server.refreshSession",
"defs": {
"main": {
"type": "procedure",
"errors": [
{
"name": "AccountTakedown"
},
{
"name": "InvalidToken"
},
{
"name": "ExpiredToken"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"accessJwt",
"refreshJwt",
"handle",
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"email": {
"type": "string"
},
"active": {
"type": "boolean"
},
"didDoc": {
"type": "unknown"
},
"handle": {
"type": "string",
"format": "handle"
},
"status": {
"type": "string",
"description": "Hosting status of the account. If not specified, then assume 'active'.",
"knownValues": [
"takendown",
"suspended",
"deactivated"
]
},
"accessJwt": {
"type": "string"
},
"refreshJwt": {
"type": "string"
},
"emailConfirmed": {
"type": "boolean"
},
"emailAuthFactor": {
"type": "boolean"
}
}
},
"encoding": "application/json"
},
"description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt')."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}