A vibe coded tangled fork which supports pijul.
at 1237bf9f58e4ba5d13d5437f2f82a2078572e229 50 lines 1.3 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.git.temp.getDiff", 4 "defs": { 5 "main": { 6 "type": "query", 7 "parameters": { 8 "type": "params", 9 "required": ["repo", "rev1", "rev2"], 10 "properties": { 11 "repo": { 12 "type": "string", 13 "format": "at-uri", 14 "description": "AT-URI of the repository" 15 }, 16 "rev1": { 17 "type": "string", 18 "description": "First revision (commit, branch, or tag)" 19 }, 20 "rev2": { 21 "type": "string", 22 "description": "Second revision (commit, branch, or tag)" 23 } 24 } 25 }, 26 "output": { 27 "encoding": "*/*", 28 "description": "Compare output in application/json" 29 }, 30 "errors": [ 31 { 32 "name": "RepoNotFound", 33 "description": "Repository not found or access denied" 34 }, 35 { 36 "name": "RevisionNotFound", 37 "description": "One or both revisions not found" 38 }, 39 { 40 "name": "InvalidRequest", 41 "description": "Invalid request parameters" 42 }, 43 { 44 "name": "CompareError", 45 "description": "Failed to compare revisions" 46 } 47 ] 48 } 49 } 50}