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
+75
View File
@@ -0,0 +1,75 @@
{
"id": "chat.bsky.group.createGroup",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"members",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"maxGraphemes": 50
},
"members": {
"type": "array",
"items": {
"type": "string",
"format": "did"
},
"maxLength": 49
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AccountSuspended"
},
{
"name": "BlockedActor"
},
{
"name": "BlockedSubject"
},
{
"name": "NewAccountCannotCreateGroup"
},
{
"name": "NotFollowedBySender"
},
{
"name": "RecipientNotFound"
},
{
"name": "UserForbidsGroups"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"convo"
],
"properties": {
"convo": {
"ref": "chat.bsky.convo.defs#convoView",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"description": "Creates a group convo, specifying the members to be added to it. Unlike getConvoForMembers, this isn't idempotent. It will create new groups even if the membership is identical to pre-existing groups. Will create 'request' membership for all members, except the owner who is 'accepted'."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}