A vibe coded tangled fork which supports pijul.
at 1237bf9f58e4ba5d13d5437f2f82a2078572e229 56 lines 1.4 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.git.temp.getArchive", 4 "defs": { 5 "main": { 6 "type": "query", 7 "parameters": { 8 "type": "params", 9 "required": ["repo", "ref"], 10 "properties": { 11 "repo": { 12 "type": "string", 13 "format": "at-uri", 14 "description": "AT-URI of the repository" 15 }, 16 "ref": { 17 "type": "string", 18 "description": "Git reference (branch, tag, or commit SHA)" 19 }, 20 "format": { 21 "type": "string", 22 "description": "Archive format", 23 "enum": ["tar", "zip", "tar.gz", "tar.bz2", "tar.xz"], 24 "default": "tar.gz" 25 }, 26 "prefix": { 27 "type": "string", 28 "description": "Prefix for files in the archive" 29 } 30 } 31 }, 32 "output": { 33 "encoding": "*/*", 34 "description": "Binary archive data" 35 }, 36 "errors": [ 37 { 38 "name": "RepoNotFound", 39 "description": "Repository not found or access denied" 40 }, 41 { 42 "name": "RefNotFound", 43 "description": "Git reference not found" 44 }, 45 { 46 "name": "InvalidRequest", 47 "description": "Invalid request parameters" 48 }, 49 { 50 "name": "ArchiveError", 51 "description": "Failed to create archive" 52 } 53 ] 54 } 55 } 56}