qlogicagent 2.14.3 → 2.14.5

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.
@@ -64,6 +64,22 @@ export declare function providerDisplayName(provider: LlmrouterCatalogProvider):
64
64
  export declare function providerBaseUrl(provider: LlmrouterCatalogProvider): string | undefined;
65
65
  export declare function getLlmrouterCatalogProvider(providerId: string, configPort?: ConfigPort, options?: CatalogFetchOptions): Promise<LlmrouterCatalogProvider | null>;
66
66
  export declare function refreshRegistryFromLlmrouterCatalog(registry: ModelRegistry, configPort?: ConfigPort, options?: CatalogFetchOptions): Promise<ModelEntry[]>;
67
+ /**
68
+ * Hydrate the registry with the AVAILABLE models PER CONFIGURED-KEY PROVIDER — the single concept the
69
+ * user expects: "discoverable models = the models of the providers I hold a key for".
70
+ * - llmrouter (env or user key) → its PUBLISHED set (/v1/models), as llmrouter:* entries
71
+ * - each DIRECT provider with a user-added key (deepseek/qwen/…) → that provider's catalog models,
72
+ * routed directly with the provider's own key
73
+ * - a provider with NO usable key → not present at all
74
+ * The 600+ routable discovery catalog never reaches the user-facing list. Pre-sign-in (no usable key
75
+ * anywhere) falls back to the discovery catalog so the UI is not empty.
76
+ */
77
+ export declare function refreshRegistryFromConfiguredProviders(registry: ModelRegistry, configPort?: ConfigPort, options?: CatalogFetchOptions): Promise<ModelEntry[]>;
78
+ /**
79
+ * Load the PUBLISHED llmrouter models for a specific inference key into the registry's llmrouter
80
+ * slice — used by the add-key flow to validate the key actually returns models. Full per-provider
81
+ * composition is done by refreshRegistryFromConfiguredProviders.
82
+ */
67
83
  export declare function refreshRegistryFromLlmrouterApiKey(registry: ModelRegistry, options: {
68
84
  baseUrl: string;
69
85
  apiKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlogicagent",
3
- "version": "2.14.3",
3
+ "version": "2.14.5",
4
4
  "description": "XiaozhiClaw Agent CLI — subprocess architecture (JSON-RPC over stdio)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",