A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.getDefaultChannel",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get the default channel for a Pijul repository",
8 "parameters": {
9 "type": "params",
10 "required": ["repo"],
11 "properties": {
12 "repo": {
13 "type": "string",
14 "description": "Repository identifier in format 'did:plc:.../repoName'"
15 }
16 }
17 },
18 "output": {
19 "encoding": "application/json",
20 "schema": {
21 "type": "object",
22 "required": ["channel"],
23 "properties": {
24 "channel": {
25 "type": "string",
26 "description": "Default channel name"
27 }
28 }
29 }
30 },
31 "errors": [
32 {
33 "name": "RepoNotFound",
34 "description": "Repository not found or access denied"
35 }
36 ]
37 }
38 }
39}