A vibe coded tangled fork which supports pijul.
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}