A vibe coded tangled fork which supports pijul.
at master 71 lines 1.7 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.channelList", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "List channels in 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 "limit": { 17 "type": "integer", 18 "description": "Maximum number of channels to return", 19 "minimum": 1, 20 "maximum": 100, 21 "default": 50 22 }, 23 "cursor": { 24 "type": "string", 25 "description": "Pagination cursor (offset)" 26 } 27 } 28 }, 29 "output": { 30 "encoding": "application/json", 31 "schema": { 32 "type": "object", 33 "required": ["channels"], 34 "properties": { 35 "channels": { 36 "type": "array", 37 "items": { 38 "type": "ref", 39 "ref": "#channel" 40 } 41 } 42 } 43 } 44 }, 45 "errors": [ 46 { 47 "name": "RepoNotFound", 48 "description": "Repository not found or access denied" 49 }, 50 { 51 "name": "InvalidRequest", 52 "description": "Invalid request parameters" 53 } 54 ] 55 }, 56 "channel": { 57 "type": "object", 58 "required": ["name"], 59 "properties": { 60 "name": { 61 "type": "string", 62 "description": "Channel name" 63 }, 64 "is_current": { 65 "type": "boolean", 66 "description": "Whether this is the currently active channel" 67 } 68 } 69 } 70 } 71}