docs(cliproxy): clarify catalog --json output format in JSDoc

Use TypeScript-style index signature notation instead of ambiguous
placeholder name in format description.

Built [OnSteroids](https://onsteroids.ai)
This commit is contained in:
Sergey Galuza
2026-04-11 20:12:46 +02:00
parent dceb6f6d37
commit ac92688cc5
+1 -1
View File
@@ -177,7 +177,7 @@ export async function handleCatalogRefresh(verbose: boolean): Promise<void> {
/**
* Output catalog as JSON for programmatic consumption.
* Used by OnSteroids and other tools to get available models per provider.
* Format: { provider: [{ id, name }], ... }
* Format: { [providerName: string]: Array<{ id: string, name: string }> }
*/
export function handleCatalogJson(): void {
const catalogs = getAllResolvedCatalogs();