A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.git.temp.getHead",
4 "defs": {
5 "main": {
6 "type": "query",
7 "parameters": {
8 "type": "params",
9 "required": ["repo"],
10 "properties": {
11 "repo": {
12 "type": "string",
13 "format": "at-uri",
14 "description": "AT-URI of the repository"
15 }
16 }
17 },
18 "output": {
19 "encoding": "application/json",
20 "schema": {
21 "type": "ref",
22 "ref": "sh.tangled.git.temp.defs#branch"
23 }
24 },
25 "errors": [
26 {
27 "name": "RepoNotFound",
28 "description": "Repository not found or access denied"
29 },
30 {
31 "name": "InvalidRequest",
32 "description": "Invalid request parameters"
33 }
34 ]
35 }
36 }
37}