chore(sdk): release v0.0.50

This commit is contained in:
Saoud Rizwan
2026-06-19 14:11:25 -07:00
parent 299a4a9520
commit 824eb470eb
8 changed files with 536 additions and 263 deletions
+229 -173
View File
File diff suppressed because it is too large Load Diff
+10
View File
@@ -1,5 +1,15 @@
# Cline SDK Changelog
## 0.0.50
- Truncate every tool result by default (including MCP and custom tool output), with tightened `MessageBuilder` limits and tunable `CLINE_MESSAGE_BUILDER_*` env overrides, to keep provider requests within budget
- Cap assistant text in provider messages and count `tool_use` input toward the request budget; protect binary carrier blocks (not just images) from truncation
- Resolve tool names from `tool_result` when the paired `tool_use` is gone
- Add ClinePass provider support (built-in provider, error handling, format compatibility)
- Apply auto-approve toggles immediately in the agent runtime
- Harden parallel tool-call guidance in the system prompt and tool definitions
- Refresh the generated model catalog
## 0.0.49
- Reverted ClinePass recommended-models support, removing the `clinePass` field from the recommended models data
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@cline/agents",
"version": "0.0.49",
"version": "0.0.50",
"repository": {
"type": "git",
"url": "https://github.com/cline/cline",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@cline/core",
"description": "Cline Core SDK for Node Runtime",
"version": "0.0.49",
"version": "0.0.50",
"repository": {
"type": "git",
"url": "https://github.com/cline/cline",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@cline/llms",
"version": "0.0.49",
"version": "0.0.50",
"description": "Config-driven SDK for selecting, extending, and instantiating LLM providers and models",
"repository": {
"type": "git",
@@ -14,7 +14,7 @@ export const GENERATED_PROVIDER_MODELS: {
version: number;
providers: Record<string, Record<string, ModelInfo>>;
} = {
version: 1781728990666,
version: 1781903376387,
providers: {
aihubmix: {
"glm-5v-turbo": {
@@ -1521,7 +1521,7 @@ export const GENERATED_PROVIDER_MODELS: {
baseten: {
"zai-org/GLM-5.2": {
id: "zai-org/GLM-5.2",
name: "GLM-5.2",
name: "GLM 5.2",
contextWindow: 131072,
maxInputTokens: 131072,
maxTokens: 131072,
@@ -1650,7 +1650,7 @@ export const GENERATED_PROVIDER_MODELS: {
cacheRead: 0.26,
cacheWrite: 0,
},
releaseDate: "2026-03-27",
releaseDate: "2026-04-07",
family: "glm",
},
"nvidia/Nemotron-120B-A12B": {
@@ -1667,7 +1667,7 @@ export const GENERATED_PROVIDER_MODELS: {
"prompt-cache",
],
pricing: {
input: 0.06,
input: 0.3,
output: 0.75,
cacheRead: 0.06,
cacheWrite: 0,
@@ -1734,7 +1734,7 @@ export const GENERATED_PROVIDER_MODELS: {
"prompt-cache",
],
pricing: {
input: 0.12,
input: 0.6,
output: 2.2,
cacheRead: 0.12,
cacheWrite: 0,
@@ -3680,9 +3680,103 @@ export const GENERATED_PROVIDER_MODELS: {
},
},
"cline-pass": {
"cline-pass/mimo-v2.5-pro": {
name: "MiMo-V2.5-Pro",
id: "cline-pass/mimo-v2.5-pro",
contextWindow: 1048576,
maxInputTokens: 1048576,
maxTokens: 131072,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.435,
output: 0.87,
cacheRead: 0.0036,
cacheWrite: 0,
},
releaseDate: "2026-04-22",
family: "mimo",
description: "",
},
"cline-pass/glm-5.2": {
name: "GLM-5.2",
id: "cline-pass/glm-5.2",
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 262144,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 1.4,
output: 4.4,
cacheRead: 0.26,
cacheWrite: 0,
},
releaseDate: "2026-06-13",
family: "glm",
description: "",
},
"cline-pass/mimo-v2.5": {
name: "MiMo-V2.5",
id: "cline-pass/mimo-v2.5",
contextWindow: 1048576,
maxInputTokens: 1048576,
maxTokens: 131072,
capabilities: [
"images",
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.14,
output: 0.28,
cacheRead: 0.0028,
cacheWrite: 0,
},
releaseDate: "2026-04-22",
family: "mimo",
description: "",
},
"cline-pass/kimi-k2.7-code": {
name: "Kimi K2.7 Code",
id: "cline-pass/kimi-k2.7-code",
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 16384,
capabilities: [
"images",
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.74,
output: 3.5,
cacheRead: 0.15,
cacheWrite: 0,
},
releaseDate: "2026-06-12",
family: "kimi-k2",
description: "",
},
"cline-pass/glm-5.1": {
id: "cline-pass/glm-5.1",
name: "GLM-5.1",
id: "cline-pass/glm-5.1",
contextWindow: 202752,
maxInputTokens: 202752,
maxTokens: 131072,
@@ -3699,13 +3793,13 @@ export const GENERATED_PROVIDER_MODELS: {
cacheRead: 0.182,
cacheWrite: 0,
},
releaseDate: "2026-03-27",
releaseDate: "2026-04-07",
family: "glm",
description: "",
},
"cline-pass/deepseek-v4-flash": {
id: "cline-pass/deepseek-v4-flash",
name: "DeepSeek V4 Flash",
id: "cline-pass/deepseek-v4-flash",
contextWindow: 1000000,
maxInputTokens: 1000000,
maxTokens: 65536,
@@ -3727,8 +3821,8 @@ export const GENERATED_PROVIDER_MODELS: {
description: "",
},
"cline-pass/deepseek-v4-pro": {
id: "cline-pass/deepseek-v4-pro",
name: "DeepSeek V4 Pro",
id: "cline-pass/deepseek-v4-pro",
contextWindow: 1048576,
maxInputTokens: 1048576,
maxTokens: 384000,
@@ -3750,8 +3844,8 @@ export const GENERATED_PROVIDER_MODELS: {
description: "",
},
"cline-pass/kimi-k2.6": {
id: "cline-pass/kimi-k2.6",
name: "Kimi K2.6",
id: "cline-pass/kimi-k2.6",
contextWindow: 262142,
maxInputTokens: 262142,
maxTokens: 262142,
@@ -9890,6 +9984,27 @@ export const GENERATED_PROVIDER_MODELS: {
},
},
ollama: {
"glm-5.2": {
id: "glm-5.2",
name: "GLM-5.2",
contextWindow: 976000,
maxInputTokens: 976000,
maxTokens: 131072,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
],
pricing: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
releaseDate: "2026-06-13",
family: "glm",
},
"kimi-k2.7-code": {
id: "kimi-k2.7-code",
name: "kimi-k2.7-code",
@@ -11242,6 +11357,45 @@ export const GENERATED_PROVIDER_MODELS: {
},
},
openrouter: {
"google/gemini-3-pro-image": {
id: "google/gemini-3-pro-image",
name: "Nano Banana Pro (Gemini 3 Pro Image)",
contextWindow: 65536,
maxInputTokens: 65536,
maxTokens: 32768,
capabilities: [
"images",
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 2,
output: 12,
cacheRead: 0.2,
cacheWrite: 0.375,
},
releaseDate: "2026-06-18",
family: "gemini",
},
"cohere/north-mini-code:free": {
id: "cohere/north-mini-code:free",
name: "North Mini Code (free)",
contextWindow: 256000,
maxInputTokens: 256000,
maxTokens: 64000,
capabilities: ["tools", "reasoning", "temperature"],
pricing: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
releaseDate: "2026-06-17",
family: "north",
},
"z-ai/glm-5.2": {
id: "z-ai/glm-5.2",
name: "GLM-5.2",
@@ -11696,7 +11850,12 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 32768,
capabilities: ["tools", "reasoning", "temperature"],
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
],
pricing: {
input: 0,
output: 0,
@@ -11711,7 +11870,12 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 32768,
capabilities: ["tools", "reasoning", "temperature"],
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
],
pricing: {
input: 0,
output: 0,
@@ -12329,6 +12493,28 @@ export const GENERATED_PROVIDER_MODELS: {
releaseDate: "2026-04-07",
family: "claude-opus",
},
"z-ai/glm-5.1": {
id: "z-ai/glm-5.1",
name: "GLM-5.1",
contextWindow: 202752,
maxInputTokens: 202752,
maxTokens: 131072,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.98,
output: 3.08,
cacheRead: 0.182,
cacheWrite: 0,
},
releaseDate: "2026-04-07",
family: "glm",
},
"google/gemma-4-26b-a4b-it": {
id: "google/gemma-4-26b-a4b-it",
name: "Gemma 4 26B A4B IT",
@@ -12354,8 +12540,8 @@ export const GENERATED_PROVIDER_MODELS: {
"google/gemma-4-26b-a4b-it:free": {
id: "google/gemma-4-26b-a4b-it:free",
name: "Gemma 4 26B A4B (free)",
contextWindow: 262144,
maxInputTokens: 262144,
contextWindow: 131072,
maxInputTokens: 131072,
maxTokens: 32768,
capabilities: ["images", "tools", "reasoning", "temperature"],
pricing: {
@@ -12395,7 +12581,7 @@ export const GENERATED_PROVIDER_MODELS: {
name: "Gemma 4 31B (free)",
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 32768,
maxTokens: 8192,
capabilities: ["images", "tools", "reasoning", "temperature"],
pricing: {
input: 0,
@@ -12496,28 +12682,6 @@ export const GENERATED_PROVIDER_MODELS: {
releaseDate: "2026-03-27",
family: "kat-coder",
},
"z-ai/glm-5.1": {
id: "z-ai/glm-5.1",
name: "GLM-5.1",
contextWindow: 202752,
maxInputTokens: 202752,
maxTokens: 131072,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.98,
output: 3.08,
cacheRead: 0.182,
cacheWrite: 0,
},
releaseDate: "2026-03-27",
family: "glm",
},
"rekaai/reka-edge": {
id: "rekaai/reka-edge",
name: "Reka Edge",
@@ -13108,7 +13272,7 @@ export const GENERATED_PROVIDER_MODELS: {
cacheRead: 0.12,
cacheWrite: 0,
},
releaseDate: "2026-02-11",
releaseDate: "2026-02-12",
family: "glm",
},
"qwen/qwen3-max-thinking": {
@@ -13258,6 +13422,27 @@ export const GENERATED_PROVIDER_MODELS: {
releaseDate: "2026-01-27",
family: "solar-pro",
},
"liquid/lfm-2.5-1.2b-thinking:free": {
id: "liquid/lfm-2.5-1.2b-thinking:free",
name: "LFM2.5-1.2B-Thinking (free)",
contextWindow: 32768,
maxInputTokens: 32768,
maxTokens: 32768,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
],
pricing: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
releaseDate: "2026-01-20",
family: "liquid",
},
"openai/gpt-audio": {
id: "openai/gpt-audio",
name: "GPT Audio",
@@ -13427,7 +13612,7 @@ export const GENERATED_PROVIDER_MODELS: {
name: "Gemini 3 Flash Preview",
contextWindow: 1048576,
maxInputTokens: 1048576,
maxTokens: 65536,
maxTokens: 65535,
capabilities: [
"images",
"files",
@@ -13446,22 +13631,6 @@ export const GENERATED_PROVIDER_MODELS: {
releaseDate: "2025-12-17",
family: "gemini-flash",
},
"xiaomi/mimo-v2-flash": {
id: "xiaomi/mimo-v2-flash",
name: "MiMo-V2-Flash",
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 65536,
capabilities: ["tools", "reasoning", "temperature", "prompt-cache"],
pricing: {
input: 0.1,
output: 0.3,
cacheRead: 0.01,
cacheWrite: 0,
},
releaseDate: "2025-12-16",
family: "mimo",
},
"nvidia/nemotron-3-nano-30b-a3b": {
id: "nvidia/nemotron-3-nano-30b-a3b",
name: "Nemotron 3 Nano 30B A3B",
@@ -14002,7 +14171,13 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 131072,
maxInputTokens: 131072,
maxTokens: 65536,
capabilities: ["tools", "reasoning", "temperature", "prompt-cache"],
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.075,
output: 0.3,
@@ -14056,7 +14231,7 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 131072,
maxInputTokens: 131072,
maxTokens: 32768,
capabilities: ["images", "tools", "temperature"],
capabilities: ["images", "tools", "structured_output", "temperature"],
pricing: {
input: 0.104,
output: 0.416,
@@ -14285,7 +14460,12 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 262144,
maxInputTokens: 262144,
maxTokens: 32768,
capabilities: ["tools", "temperature", "prompt-cache"],
capabilities: [
"tools",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.78,
output: 3.9,
@@ -14323,7 +14503,13 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 131072,
maxInputTokens: 131072,
maxTokens: 32768,
capabilities: ["images", "tools", "reasoning", "temperature"],
capabilities: [
"images",
"tools",
"reasoning",
"structured_output",
"temperature",
],
pricing: {
input: 0.26,
output: 2.6,
@@ -14766,7 +14952,7 @@ export const GENERATED_PROVIDER_MODELS: {
name: "gpt-oss-20b (free)",
contextWindow: 131072,
maxInputTokens: 131072,
maxTokens: 8192,
maxTokens: 32768,
capabilities: [
"tools",
"reasoning",
@@ -15900,6 +16086,22 @@ export const GENERATED_PROVIDER_MODELS: {
releaseDate: "2024-11-01",
family: "mistral-large",
},
"qwen/qwen-2.5-7b-instruct": {
id: "qwen/qwen-2.5-7b-instruct",
name: "Qwen2.5 7B Instruct",
contextWindow: 32768,
maxInputTokens: 32768,
maxTokens: 32768,
capabilities: ["tools", "structured_output", "temperature"],
pricing: {
input: 0.04,
output: 0.1,
cacheRead: 0,
cacheWrite: 0,
},
releaseDate: "2024-10-16",
family: "qwen",
},
"thedrummer/rocinante-12b": {
id: "thedrummer/rocinante-12b",
name: "Rocinante 12B",
@@ -16286,7 +16488,12 @@ export const GENERATED_PROVIDER_MODELS: {
contextWindow: 1000000,
maxInputTokens: 1000000,
maxTokens: 32768,
capabilities: ["tools", "temperature", "prompt-cache"],
capabilities: [
"tools",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 0.26,
output: 0.78,
@@ -22074,7 +22281,7 @@ export const GENERATED_PROVIDER_MODELS: {
cacheRead: 0.26,
cacheWrite: 0,
},
releaseDate: "2026-03-27",
releaseDate: "2026-04-07",
family: "glm",
},
"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8": {
@@ -22591,6 +22798,28 @@ export const GENERATED_PROVIDER_MODELS: {
},
},
zai: {
"glm-5.1": {
id: "glm-5.1",
name: "GLM-5.1",
contextWindow: 200000,
maxInputTokens: 200000,
maxTokens: 131072,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 1.4,
output: 4.4,
cacheRead: 0.26,
cacheWrite: 0,
},
releaseDate: "2026-04-07",
family: "glm",
},
"glm-5v-turbo": {
id: "glm-5v-turbo",
name: "GLM-5V-Turbo",
@@ -22614,28 +22843,6 @@ export const GENERATED_PROVIDER_MODELS: {
releaseDate: "2026-04-01",
family: "glm",
},
"glm-5.1": {
id: "glm-5.1",
name: "GLM-5.1",
contextWindow: 200000,
maxInputTokens: 200000,
maxTokens: 131072,
capabilities: [
"tools",
"reasoning",
"structured_output",
"temperature",
"prompt-cache",
],
pricing: {
input: 1.4,
output: 4.4,
cacheRead: 0.26,
cacheWrite: 0,
},
releaseDate: "2026-03-27",
family: "glm",
},
"glm-5-turbo": {
id: "glm-5-turbo",
name: "GLM-5-Turbo",
@@ -22671,7 +22878,7 @@ export const GENERATED_PROVIDER_MODELS: {
cacheRead: 0.2,
cacheWrite: 0,
},
releaseDate: "2026-02-11",
releaseDate: "2026-02-12",
family: "glm",
},
"glm-4.7-flash": {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@cline/sdk",
"description": "Cline SDK - user-facing alias for @cline/core",
"version": "0.0.49",
"version": "0.0.50",
"repository": {
"type": "git",
"url": "https://github.com/cline/cline",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@cline/shared",
"version": "0.0.49",
"version": "0.0.50",
"description": "Shared utilities, types, and schemas for Cline packages",
"repository": {
"type": "git",