A vibe coded tangled fork which supports pijul.
at master 67 lines 1.8 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.repo.pijulBlob", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get file content from a Pijul repository", 8 "parameters": { 9 "type": "params", 10 "required": ["repo", "path"], 11 "properties": { 12 "repo": { 13 "type": "string", 14 "description": "Repository identifier in format 'did:plc:.../repoName'" 15 }, 16 "channel": { 17 "type": "string", 18 "description": "Pijul channel name (defaults to main channel)" 19 }, 20 "path": { 21 "type": "string", 22 "description": "Path to the file within the repository" 23 } 24 } 25 }, 26 "output": { 27 "encoding": "application/json", 28 "schema": { 29 "type": "object", 30 "required": ["path", "is_binary"], 31 "properties": { 32 "contents": { 33 "type": "string", 34 "description": "File contents (empty for binary files)" 35 }, 36 "is_binary": { 37 "type": "boolean", 38 "description": "Whether the file is binary" 39 }, 40 "path": { 41 "type": "string", 42 "description": "File path" 43 }, 44 "ref": { 45 "type": "string", 46 "description": "Channel name" 47 } 48 } 49 } 50 }, 51 "errors": [ 52 { 53 "name": "RepoNotFound", 54 "description": "Repository not found or access denied" 55 }, 56 { 57 "name": "PathNotFound", 58 "description": "File not found in repository" 59 }, 60 { 61 "name": "InvalidRequest", 62 "description": "Invalid request parameters" 63 } 64 ] 65 } 66 } 67}