@appkit/llamacpp-cli 1.11.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/README.md +572 -170
  2. package/dist/cli.js +99 -0
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/admin/config.d.ts +10 -0
  5. package/dist/commands/admin/config.d.ts.map +1 -0
  6. package/dist/commands/admin/config.js +100 -0
  7. package/dist/commands/admin/config.js.map +1 -0
  8. package/dist/commands/admin/logs.d.ts +10 -0
  9. package/dist/commands/admin/logs.d.ts.map +1 -0
  10. package/dist/commands/admin/logs.js +114 -0
  11. package/dist/commands/admin/logs.js.map +1 -0
  12. package/dist/commands/admin/restart.d.ts +2 -0
  13. package/dist/commands/admin/restart.d.ts.map +1 -0
  14. package/dist/commands/admin/restart.js +29 -0
  15. package/dist/commands/admin/restart.js.map +1 -0
  16. package/dist/commands/admin/start.d.ts +2 -0
  17. package/dist/commands/admin/start.d.ts.map +1 -0
  18. package/dist/commands/admin/start.js +30 -0
  19. package/dist/commands/admin/start.js.map +1 -0
  20. package/dist/commands/admin/status.d.ts +2 -0
  21. package/dist/commands/admin/status.d.ts.map +1 -0
  22. package/dist/commands/admin/status.js +82 -0
  23. package/dist/commands/admin/status.js.map +1 -0
  24. package/dist/commands/admin/stop.d.ts +2 -0
  25. package/dist/commands/admin/stop.d.ts.map +1 -0
  26. package/dist/commands/admin/stop.js +21 -0
  27. package/dist/commands/admin/stop.js.map +1 -0
  28. package/dist/commands/logs.d.ts +1 -0
  29. package/dist/commands/logs.d.ts.map +1 -1
  30. package/dist/commands/logs.js +22 -0
  31. package/dist/commands/logs.js.map +1 -1
  32. package/dist/lib/admin-manager.d.ts +111 -0
  33. package/dist/lib/admin-manager.d.ts.map +1 -0
  34. package/dist/lib/admin-manager.js +413 -0
  35. package/dist/lib/admin-manager.js.map +1 -0
  36. package/dist/lib/admin-server.d.ts +148 -0
  37. package/dist/lib/admin-server.d.ts.map +1 -0
  38. package/dist/lib/admin-server.js +1161 -0
  39. package/dist/lib/admin-server.js.map +1 -0
  40. package/dist/lib/download-job-manager.d.ts +64 -0
  41. package/dist/lib/download-job-manager.d.ts.map +1 -0
  42. package/dist/lib/download-job-manager.js +164 -0
  43. package/dist/lib/download-job-manager.js.map +1 -0
  44. package/dist/tui/MultiServerMonitorApp.js +1 -1
  45. package/dist/types/admin-config.d.ts +19 -0
  46. package/dist/types/admin-config.d.ts.map +1 -0
  47. package/dist/types/admin-config.js +3 -0
  48. package/dist/types/admin-config.js.map +1 -0
  49. package/dist/utils/log-parser.d.ts +9 -0
  50. package/dist/utils/log-parser.d.ts.map +1 -1
  51. package/dist/utils/log-parser.js +11 -0
  52. package/dist/utils/log-parser.js.map +1 -1
  53. package/package.json +10 -2
  54. package/web/README.md +429 -0
  55. package/web/dist/assets/index-Bin89Lwr.css +1 -0
  56. package/web/dist/assets/index-CVmonw3T.js +17 -0
  57. package/web/dist/index.html +14 -0
  58. package/web/dist/vite.svg +1 -0
  59. package/.versionrc.json +0 -16
  60. package/CHANGELOG.md +0 -203
  61. package/MONITORING-ACCURACY-FIX.md +0 -199
  62. package/PER-PROCESS-METRICS.md +0 -190
  63. package/docs/images/.gitkeep +0 -1
  64. package/src/cli.ts +0 -423
  65. package/src/commands/config-global.ts +0 -38
  66. package/src/commands/config.ts +0 -323
  67. package/src/commands/create.ts +0 -183
  68. package/src/commands/delete.ts +0 -74
  69. package/src/commands/list.ts +0 -37
  70. package/src/commands/logs-all.ts +0 -251
  71. package/src/commands/logs.ts +0 -321
  72. package/src/commands/monitor.ts +0 -110
  73. package/src/commands/ps.ts +0 -84
  74. package/src/commands/pull.ts +0 -44
  75. package/src/commands/rm.ts +0 -107
  76. package/src/commands/router/config.ts +0 -116
  77. package/src/commands/router/logs.ts +0 -256
  78. package/src/commands/router/restart.ts +0 -36
  79. package/src/commands/router/start.ts +0 -60
  80. package/src/commands/router/status.ts +0 -119
  81. package/src/commands/router/stop.ts +0 -33
  82. package/src/commands/run.ts +0 -233
  83. package/src/commands/search.ts +0 -107
  84. package/src/commands/server-show.ts +0 -161
  85. package/src/commands/show.ts +0 -207
  86. package/src/commands/start.ts +0 -101
  87. package/src/commands/stop.ts +0 -39
  88. package/src/commands/tui.ts +0 -25
  89. package/src/lib/config-generator.ts +0 -130
  90. package/src/lib/history-manager.ts +0 -172
  91. package/src/lib/launchctl-manager.ts +0 -225
  92. package/src/lib/metrics-aggregator.ts +0 -257
  93. package/src/lib/model-downloader.ts +0 -328
  94. package/src/lib/model-scanner.ts +0 -157
  95. package/src/lib/model-search.ts +0 -114
  96. package/src/lib/models-dir-setup.ts +0 -46
  97. package/src/lib/port-manager.ts +0 -80
  98. package/src/lib/router-logger.ts +0 -201
  99. package/src/lib/router-manager.ts +0 -414
  100. package/src/lib/router-server.ts +0 -538
  101. package/src/lib/state-manager.ts +0 -206
  102. package/src/lib/status-checker.ts +0 -113
  103. package/src/lib/system-collector.ts +0 -315
  104. package/src/tui/ConfigApp.ts +0 -1085
  105. package/src/tui/HistoricalMonitorApp.ts +0 -587
  106. package/src/tui/ModelsApp.ts +0 -368
  107. package/src/tui/MonitorApp.ts +0 -386
  108. package/src/tui/MultiServerMonitorApp.ts +0 -1833
  109. package/src/tui/RootNavigator.ts +0 -74
  110. package/src/tui/SearchApp.ts +0 -511
  111. package/src/tui/SplashScreen.ts +0 -149
  112. package/src/types/global-config.ts +0 -26
  113. package/src/types/history-types.ts +0 -39
  114. package/src/types/model-info.ts +0 -8
  115. package/src/types/monitor-types.ts +0 -162
  116. package/src/types/router-config.ts +0 -25
  117. package/src/types/server-config.ts +0 -46
  118. package/src/utils/downsample-utils.ts +0 -128
  119. package/src/utils/file-utils.ts +0 -146
  120. package/src/utils/format-utils.ts +0 -98
  121. package/src/utils/log-parser.ts +0 -271
  122. package/src/utils/log-utils.ts +0 -178
  123. package/src/utils/process-utils.ts +0 -316
  124. package/src/utils/prompt-utils.ts +0 -47
  125. package/test-load.sh +0 -100
  126. package/tsconfig.json +0 -20
@@ -1,316 +0,0 @@
1
- import { exec, spawn } from 'child_process';
2
- import { promisify } from 'util';
3
-
4
- export const execAsync = promisify(exec);
5
-
6
- /**
7
- * Execute a command and return stdout
8
- * Throws on non-zero exit code
9
- */
10
- export async function execCommand(command: string): Promise<string> {
11
- const { stdout } = await execAsync(command);
12
- return stdout.trim();
13
- }
14
-
15
- /**
16
- * Execute a command and return both stdout and stderr
17
- */
18
- export async function execCommandFull(command: string): Promise<{ stdout: string; stderr: string }> {
19
- const { stdout, stderr } = await execAsync(command);
20
- return {
21
- stdout: stdout.trim(),
22
- stderr: stderr.trim(),
23
- };
24
- }
25
-
26
- /**
27
- * Check if a command exists in PATH
28
- */
29
- export async function commandExists(command: string): Promise<boolean> {
30
- try {
31
- await execAsync(`which ${command}`);
32
- return true;
33
- } catch {
34
- return false;
35
- }
36
- }
37
-
38
- /**
39
- * Check if a process is running by PID
40
- */
41
- export async function isProcessRunning(pid: number): Promise<boolean> {
42
- try {
43
- await execAsync(`ps -p ${pid}`);
44
- return true;
45
- } catch {
46
- return false;
47
- }
48
- }
49
-
50
- /**
51
- * Check if a port is in use
52
- */
53
- export async function isPortInUse(port: number): Promise<boolean> {
54
- try {
55
- await execAsync(`lsof -iTCP:${port} -sTCP:LISTEN -t`);
56
- return true;
57
- } catch {
58
- return false;
59
- }
60
- }
61
-
62
- /**
63
- * Spawn a streaming command, read one line, and kill it
64
- * Useful for commands like 'macmon pipe' that stream indefinitely
65
- * Ensures the process is killed to prevent leaks
66
- */
67
- export async function spawnAndReadOneLine(
68
- command: string,
69
- args: string[],
70
- timeoutMs: number = 2000
71
- ): Promise<string | null> {
72
- return new Promise((resolve) => {
73
- const child = spawn(command, args, {
74
- stdio: ['ignore', 'pipe', 'ignore'],
75
- detached: false, // Keep in same process group for easier cleanup
76
- });
77
-
78
- let resolved = false;
79
- let output = '';
80
-
81
- const cleanup = () => {
82
- try {
83
- // Try SIGKILL immediately (SIGTERM may not work for macmon)
84
- child.kill('SIGKILL');
85
- } catch {
86
- // Process might already be dead
87
- }
88
- };
89
-
90
- // Set timeout to kill process if it doesn't produce output
91
- const timeout = setTimeout(() => {
92
- if (!resolved) {
93
- resolved = true;
94
- cleanup();
95
- resolve(null);
96
- }
97
- }, timeoutMs);
98
-
99
- // Read stdout line by line
100
- child.stdout?.on('data', (data) => {
101
- if (resolved) return;
102
-
103
- output += data.toString();
104
-
105
- // Check if we have a complete line
106
- const newlineIndex = output.indexOf('\n');
107
- if (newlineIndex !== -1) {
108
- const line = output.substring(0, newlineIndex).trim();
109
-
110
- if (line.length > 0) {
111
- resolved = true;
112
- clearTimeout(timeout);
113
- cleanup();
114
- resolve(line);
115
- }
116
- }
117
- });
118
-
119
- // Handle process errors
120
- child.on('error', () => {
121
- if (!resolved) {
122
- resolved = true;
123
- clearTimeout(timeout);
124
- resolve(null);
125
- }
126
- });
127
-
128
- // Handle process exit
129
- child.on('exit', () => {
130
- if (!resolved) {
131
- resolved = true;
132
- clearTimeout(timeout);
133
-
134
- // Return partial output if we have any
135
- const line = output.trim();
136
- resolve(line.length > 0 ? line : null);
137
- }
138
- });
139
- });
140
- }
141
-
142
- // Process memory cache to prevent spawning too many 'top' processes
143
- // Cache per PID with 3-second TTL
144
- const processMemoryCache = new Map<number, { value: number | null; timestamp: number }>();
145
- const PROCESS_MEMORY_CACHE_TTL = 3000; // 3 seconds
146
-
147
- /**
148
- * Batch get memory usage for multiple processes in one top call
149
- * Much more efficient than calling getProcessMemory() multiple times
150
- * Returns Map<pid, bytes> for all requested PIDs
151
- */
152
- export async function getBatchProcessMemory(pids: number[]): Promise<Map<number, number | null>> {
153
- const result = new Map<number, number | null>();
154
- const now = Date.now();
155
-
156
- // Check cache and collect PIDs that need fetching
157
- const pidsToFetch: number[] = [];
158
- for (const pid of pids) {
159
- const cached = processMemoryCache.get(pid);
160
- if (cached && (now - cached.timestamp) < PROCESS_MEMORY_CACHE_TTL) {
161
- result.set(pid, cached.value);
162
- } else {
163
- pidsToFetch.push(pid);
164
- }
165
- }
166
-
167
- // If all PIDs were cached, return early
168
- if (pidsToFetch.length === 0) {
169
- return result;
170
- }
171
-
172
- try {
173
- // Build top command with all PIDs: top -l 1 -pid X -pid Y -pid Z -stats pid,mem
174
- const pidArgs = pidsToFetch.map(pid => `-pid ${pid}`).join(' ');
175
- const output = await execCommand(`top -l 1 ${pidArgs} -stats pid,mem 2>/dev/null`);
176
-
177
- // Parse output: each line is "PID MEM" (e.g., "1438 299M")
178
- const lines = output.split('\n');
179
- for (const line of lines) {
180
- const match = line.trim().match(/^(\d+)\s+([\d.]+)([KMGT])\s*$/);
181
- if (!match) continue;
182
-
183
- const pid = parseInt(match[1], 10);
184
- const value = parseFloat(match[2]);
185
- const unit = match[3];
186
-
187
- // Convert to bytes
188
- const multipliers: { [key: string]: number } = {
189
- K: 1024,
190
- M: 1024 * 1024,
191
- G: 1024 * 1024 * 1024,
192
- T: 1024 * 1024 * 1024 * 1024,
193
- };
194
-
195
- const bytes = Math.round(value * multipliers[unit]);
196
-
197
- // Cache and store result
198
- processMemoryCache.set(pid, { value: bytes, timestamp: now });
199
- result.set(pid, bytes);
200
- }
201
-
202
- // For any PIDs that weren't in the output, cache null
203
- for (const pid of pidsToFetch) {
204
- if (!result.has(pid)) {
205
- processMemoryCache.set(pid, { value: null, timestamp: now });
206
- result.set(pid, null);
207
- }
208
- }
209
-
210
- return result;
211
- } catch {
212
- // On error, cache null for all requested PIDs
213
- for (const pid of pidsToFetch) {
214
- processMemoryCache.set(pid, { value: null, timestamp: now });
215
- result.set(pid, null);
216
- }
217
- return result;
218
- }
219
- }
220
-
221
- /**
222
- * Get memory usage for a single process in bytes
223
- * Uses 'top' on macOS which reports CPU memory only (NOT GPU/Metal memory)
224
- * Returns null if process not found or error occurs
225
- * Caches results for 3 seconds to prevent spawning too many top processes
226
- *
227
- * Note: For llama-server processes with GPU offloading, use ServerConfig.metalMemoryMB
228
- * to get GPU memory allocation (parsed from logs during server startup)
229
- *
230
- * Note: For multiple PIDs, use getBatchProcessMemory() instead - much more efficient
231
- */
232
- export async function getProcessMemory(pid: number): Promise<number | null> {
233
- const result = await getBatchProcessMemory([pid]);
234
- return result.get(pid) ?? null;
235
- }
236
-
237
- // Process CPU cache to prevent spawning too many 'ps' processes
238
- // Cache per PID with 3-second TTL
239
- const processCpuCache = new Map<number, { value: number | null; timestamp: number }>();
240
- const PROCESS_CPU_CACHE_TTL = 3000; // 3 seconds
241
-
242
- /**
243
- * Batch get CPU usage for multiple processes in one ps call
244
- * Much more efficient than calling getProcessCpu() multiple times
245
- * Returns Map<pid, percentage> for all requested PIDs
246
- */
247
- export async function getBatchProcessCpu(pids: number[]): Promise<Map<number, number | null>> {
248
- const result = new Map<number, number | null>();
249
- const now = Date.now();
250
-
251
- // Check cache and collect PIDs that need fetching
252
- const pidsToFetch: number[] = [];
253
- for (const pid of pids) {
254
- const cached = processCpuCache.get(pid);
255
- if (cached && (now - cached.timestamp) < PROCESS_CPU_CACHE_TTL) {
256
- result.set(pid, cached.value);
257
- } else {
258
- pidsToFetch.push(pid);
259
- }
260
- }
261
-
262
- // If all PIDs were cached, return early
263
- if (pidsToFetch.length === 0) {
264
- return result;
265
- }
266
-
267
- try {
268
- // Build ps command with all PIDs: ps -p X,Y,Z -o pid=,%cpu=
269
- const pidList = pidsToFetch.join(',');
270
- const output = await execCommand(`ps -p ${pidList} -o pid=,%cpu= 2>/dev/null`);
271
-
272
- // Parse output: each line is "PID %CPU" (e.g., "1438 45.2")
273
- const lines = output.split('\n');
274
- for (const line of lines) {
275
- const match = line.trim().match(/^(\d+)\s+([\d.]+)\s*$/);
276
- if (!match) continue;
277
-
278
- const pid = parseInt(match[1], 10);
279
- const cpuPercent = parseFloat(match[2]);
280
-
281
- // Cache and store result
282
- processCpuCache.set(pid, { value: cpuPercent, timestamp: now });
283
- result.set(pid, cpuPercent);
284
- }
285
-
286
- // For any PIDs that weren't in the output, cache null (process not running)
287
- for (const pid of pidsToFetch) {
288
- if (!result.has(pid)) {
289
- processCpuCache.set(pid, { value: null, timestamp: now });
290
- result.set(pid, null);
291
- }
292
- }
293
-
294
- return result;
295
- } catch {
296
- // On error, cache null for all requested PIDs
297
- for (const pid of pidsToFetch) {
298
- processCpuCache.set(pid, { value: null, timestamp: now });
299
- result.set(pid, null);
300
- }
301
- return result;
302
- }
303
- }
304
-
305
- /**
306
- * Get CPU usage for a single process as percentage (0-100+)
307
- * Uses 'ps -o %cpu' on macOS
308
- * Returns null if process not found or error occurs
309
- * Caches results for 3 seconds to prevent spawning too many ps processes
310
- *
311
- * Note: For multiple PIDs, use getBatchProcessCpu() instead - much more efficient
312
- */
313
- export async function getProcessCpu(pid: number): Promise<number | null> {
314
- const result = await getBatchProcessCpu([pid]);
315
- return result.get(pid) ?? null;
316
- }
@@ -1,47 +0,0 @@
1
- import * as readline from 'readline';
2
-
3
- /**
4
- * Prompt user for input
5
- */
6
- export function prompt(question: string, defaultValue?: string): Promise<string> {
7
- const rl = readline.createInterface({
8
- input: process.stdin,
9
- output: process.stdout,
10
- });
11
-
12
- return new Promise((resolve) => {
13
- const promptText = defaultValue
14
- ? `${question} [${defaultValue}]: `
15
- : `${question}: `;
16
-
17
- rl.question(promptText, (answer) => {
18
- rl.close();
19
- resolve(answer.trim() || defaultValue || '');
20
- });
21
- });
22
- }
23
-
24
- /**
25
- * Prompt user for yes/no confirmation
26
- */
27
- export function confirm(question: string, defaultYes = true): Promise<boolean> {
28
- const rl = readline.createInterface({
29
- input: process.stdin,
30
- output: process.stdout,
31
- });
32
-
33
- const suffix = defaultYes ? '[Y/n]' : '[y/N]';
34
-
35
- return new Promise((resolve) => {
36
- rl.question(`${question} ${suffix}: `, (answer) => {
37
- rl.close();
38
- const input = answer.trim().toLowerCase();
39
-
40
- if (input === '') {
41
- resolve(defaultYes);
42
- } else {
43
- resolve(input === 'y' || input === 'yes');
44
- }
45
- });
46
- });
47
- }
package/test-load.sh DELETED
@@ -1,100 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Test script for parallel chat requests to multiple llama servers
4
- # Usage: ./test-load.sh
5
- # Stop with CTRL-C
6
-
7
- set -e
8
-
9
- # Available ports
10
- PORTS=(9001 9002 9004 9005)
11
-
12
- # Test prompts with varying complexity
13
- PROMPTS=(
14
- "Write a hello world program in Python"
15
- "Explain quantum computing in simple terms"
16
- "Write a flappy bird game in Python"
17
- "What are the benefits of functional programming?"
18
- "Create a REST API example using FastAPI"
19
- "Explain the difference between processes and threads"
20
- "Write a binary search algorithm in JavaScript"
21
- "What is the difference between HTTP and HTTPS?"
22
- "Create a simple todo list app in React"
23
- "Explain Docker containers to a beginner"
24
- "Write a quicksort implementation in C++"
25
- "What are the SOLID principles?"
26
- "Create a SQL query to find duplicate records"
27
- "Explain async/await in JavaScript"
28
- "Write a Fibonacci sequence generator in any language"
29
- )
30
-
31
- # Colors for output
32
- RED='\033[0;31m'
33
- GREEN='\033[0;32m'
34
- YELLOW='\033[0;33m'
35
- BLUE='\033[0;34m'
36
- MAGENTA='\033[0;35m'
37
- CYAN='\033[0;36m'
38
- NC='\033[0m' # No Color
39
-
40
- # Counter for requests
41
- REQUEST_COUNT=0
42
-
43
- # Function to run a single chat request
44
- run_chat() {
45
- local port=$1
46
- local prompt=$2
47
- local request_id=$3
48
-
49
- echo -e "${CYAN}[Request #${request_id}]${NC} ${YELLOW}Port ${port}:${NC} ${prompt}"
50
-
51
- # Run the chat request (suppress output except errors)
52
- if npm run dev -- server run -m "$prompt" "$port" > /dev/null 2>&1; then
53
- echo -e "${CYAN}[Request #${request_id}]${NC} ${GREEN}✓ Completed${NC} (port ${port})"
54
- else
55
- echo -e "${CYAN}[Request #${request_id}]${NC} ${RED}✗ Failed${NC} (port ${port})"
56
- fi
57
- }
58
-
59
- # Trap CTRL-C for clean exit
60
- trap 'echo -e "\n${YELLOW}Stopping test load script...${NC}"; echo -e "${GREEN}Total requests sent: ${REQUEST_COUNT}${NC}"; exit 0' INT
61
-
62
- echo -e "${MAGENTA}========================================${NC}"
63
- echo -e "${MAGENTA} Llama Server Load Test${NC}"
64
- echo -e "${MAGENTA}========================================${NC}"
65
- echo -e "${BLUE}Ports: ${PORTS[*]}${NC}"
66
- echo -e "${BLUE}Parallel requests: 3${NC}"
67
- echo -e "${BLUE}Press CTRL-C to stop${NC}"
68
- echo -e "${MAGENTA}========================================${NC}\n"
69
-
70
- # Function to count running background jobs
71
- count_running_jobs() {
72
- jobs -r | wc -l | tr -d ' '
73
- }
74
-
75
- # Main loop - maintain exactly 3 concurrent requests at all times
76
- # Start initial 3 requests
77
- for i in {1..3}; do
78
- PORT=${PORTS[$RANDOM % ${#PORTS[@]}]}
79
- PROMPT=${PROMPTS[$RANDOM % ${#PROMPTS[@]}]}
80
- ((REQUEST_COUNT++))
81
- run_chat "$PORT" "$PROMPT" "$REQUEST_COUNT" &
82
- done
83
-
84
- # Continuously monitor and start new requests as old ones complete
85
- while true; do
86
- # Get count of running background jobs
87
- RUNNING=$(count_running_jobs)
88
-
89
- # Start new requests to maintain 3 concurrent
90
- while [ "$RUNNING" -lt 3 ]; do
91
- PORT=${PORTS[$RANDOM % ${#PORTS[@]}]}
92
- PROMPT=${PROMPTS[$RANDOM % ${#PROMPTS[@]}]}
93
- ((REQUEST_COUNT++))
94
- run_chat "$PORT" "$PROMPT" "$REQUEST_COUNT" &
95
- RUNNING=$(count_running_jobs)
96
- done
97
-
98
- # Small sleep to avoid busy-waiting
99
- sleep 0.5
100
- done
package/tsconfig.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "commonjs",
5
- "lib": ["ES2020"],
6
- "outDir": "./dist",
7
- "rootDir": "./src",
8
- "strict": true,
9
- "esModuleInterop": true,
10
- "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "resolveJsonModule": true,
13
- "declaration": true,
14
- "declarationMap": true,
15
- "sourceMap": true,
16
- "moduleResolution": "node"
17
- },
18
- "include": ["src/**/*"],
19
- "exclude": ["node_modules", "dist"]
20
- }