@cline/core 0.0.67 → 0.0.68

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.
@@ -1,6 +1,8 @@
1
1
  import { ProviderSettingsManager } from "../storage/provider-settings-manager";
2
+ import type { ModelInfo } from "./provider-settings";
2
3
  export interface ClineRecommendedModel {
3
4
  id: string;
5
+ /** Display-ready model name, resolved against the model catalog. */
4
6
  name: string;
5
7
  description: string;
6
8
  tags: string[];
@@ -10,11 +12,18 @@ export interface ClineRecommendedModelsData {
10
12
  free: ClineRecommendedModel[];
11
13
  clinePass: ClineRecommendedModel[];
12
14
  }
15
+ type ModelsCatalog = Record<string, Record<string, ModelInfo>>;
13
16
  export interface FetchClineRecommendedModelsOptions {
14
17
  baseUrl?: string;
15
18
  fetchImpl?: typeof fetch;
16
19
  providerSettingsManager?: Pick<ProviderSettingsManager, "getProviderSettings">;
17
20
  timeoutMs?: number;
21
+ /**
22
+ * Loader for the live models catalog used to resolve display names.
23
+ * Defaults to the shared live-catalog cache; injectable for tests.
24
+ */
25
+ catalogLoader?: () => Promise<ModelsCatalog>;
18
26
  }
19
27
  export declare const FALLBACK_CLINE_RECOMMENDED_MODELS: ClineRecommendedModelsData;
20
28
  export declare function fetchClineRecommendedModels(options?: FetchClineRecommendedModelsOptions): Promise<ClineRecommendedModelsData>;
29
+ export {};
@@ -10,6 +10,7 @@ export declare const StoredModelEntrySchema: z.ZodObject<{
10
10
  maxInputTokens: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
11
11
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
12
12
  images: "images";
13
+ video: "video";
13
14
  tools: "tools";
14
15
  streaming: "streaming";
15
16
  "prompt-cache": "prompt-cache";
@@ -127,6 +128,7 @@ export declare const StoredProviderEntrySchema: z.ZodObject<{
127
128
  maxInputTokens: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
128
129
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
129
130
  images: "images";
131
+ video: "video";
130
132
  tools: "tools";
131
133
  streaming: "streaming";
132
134
  "prompt-cache": "prompt-cache";
@@ -206,6 +208,7 @@ export declare const StoredModelsFileSchema: z.ZodObject<{
206
208
  maxInputTokens: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
207
209
  capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
208
210
  images: "images";
211
+ video: "video";
209
212
  tools: "tools";
210
213
  streaming: "streaming";
211
214
  "prompt-cache": "prompt-cache";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cline/core",
3
3
  "description": "Cline Core SDK for Node Runtime",
4
- "version": "0.0.67",
4
+ "version": "0.0.68",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/cline/cline",
@@ -49,9 +49,9 @@
49
49
  "test:watch": "vitest --config vitest.config.ts"
50
50
  },
51
51
  "dependencies": {
52
- "@cline/agents": "0.0.67",
53
- "@cline/shared": "0.0.67",
54
- "@cline/llms": "0.0.67",
52
+ "@cline/agents": "0.0.68",
53
+ "@cline/shared": "0.0.68",
54
+ "@cline/llms": "0.0.68",
55
55
  "@modelcontextprotocol/sdk": "^1.29.0",
56
56
  "@opentelemetry/api": "^1.9.0",
57
57
  "@opentelemetry/api-logs": "^0.214.0",