From f090c32c2f23065dbc1633ab9689124cffe4411d Mon Sep 17 00:00:00 2001 From: Sergey Galuza Date: Sat, 11 Apr 2026 18:02:32 +0200 Subject: [PATCH] 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) --- src/commands/cliproxy/catalog-subcommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cliproxy/catalog-subcommand.ts b/src/commands/cliproxy/catalog-subcommand.ts index a41cb56f..183759d7 100644 --- a/src/commands/cliproxy/catalog-subcommand.ts +++ b/src/commands/cliproxy/catalog-subcommand.ts @@ -177,7 +177,7 @@ export async function handleCatalogRefresh(verbose: boolean): Promise { /** * 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();