A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.git.temp.listLanguages",
4 "defs": {
5 "main": {
6 "type": "query",
7 "parameters": {
8 "type": "params",
9 "required": ["repo"],
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 "default": "HEAD"
20 }
21 }
22 },
23 "output": {
24 "encoding": "application/json",
25 "schema": {
26 "type": "object",
27 "required": ["ref", "languages"],
28 "properties": {
29 "ref": {
30 "type": "string",
31 "description": "The git reference used"
32 },
33 "languages": {
34 "type": "array",
35 "items": {
36 "type": "ref",
37 "ref": "#language"
38 }
39 },
40 "totalSize": {
41 "type": "integer",
42 "description": "Total size of all analyzed files in bytes"
43 },
44 "totalFiles": {
45 "type": "integer",
46 "description": "Total number of files analyzed"
47 }
48 }
49 }
50 },
51 "errors": [
52 {
53 "name": "RepoNotFound",
54 "description": "Repository not found or access denied"
55 },
56 {
57 "name": "RefNotFound",
58 "description": "Git reference not found"
59 },
60 {
61 "name": "InvalidRequest",
62 "description": "Invalid request parameters"
63 }
64 ]
65 },
66 "language": {
67 "type": "object",
68 "required": ["name", "size", "percentage"],
69 "properties": {
70 "name": {
71 "type": "string",
72 "description": "Programming language name"
73 },
74 "size": {
75 "type": "integer",
76 "description": "Total size of files in this language (bytes)"
77 },
78 "percentage": {
79 "type": "integer",
80 "description": "Percentage of total codebase (0-100)"
81 },
82 "fileCount": {
83 "type": "integer",
84 "description": "Number of files in this language"
85 },
86 "color": {
87 "type": "string",
88 "description": "Hex color code for this language"
89 },
90 "extensions": {
91 "type": "array",
92 "items": {
93 "type": "string"
94 },
95 "description": "File extensions associated with this language"
96 }
97 }
98 }
99 }
100}