A vibe coded tangled fork which supports pijul.
at 1237bf9f58e4ba5d13d5437f2f82a2078572e229 46 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.git.temp.getCommit", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "resolve commit from given ref", 8 "parameters": { 9 "type": "params", 10 "required": ["repo", "ref"], 11 "properties": { 12 "repo": { 13 "type": "string", 14 "format": "at-uri", 15 "description": "AT-URI of the repository" 16 }, 17 "ref": { 18 "type": "string", 19 "description": "reference name to resolve" 20 } 21 } 22 }, 23 "output": { 24 "encoding": "application/json", 25 "schema": { 26 "type": "ref", 27 "ref": "sh.tangled.git.temp.defs#commit" 28 } 29 }, 30 "errors": [ 31 { 32 "name": "RepoNotFound", 33 "description": "Repository not found or access denied" 34 }, 35 { 36 "name": "CommitNotFound", 37 "description": "Commit not found" 38 }, 39 { 40 "name": "InvalidRequest", 41 "description": "Invalid request parameters" 42 } 43 ] 44 } 45 } 46}