@cline/shared 0.0.43 → 0.0.45
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.
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +14 -14
- package/dist/index.d.ts +1 -1
- package/dist/index.js +29 -29
- package/dist/llms/ai-sdk-format.d.ts +1 -0
- package/dist/llms/gateway.d.ts +1 -1
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ export interface AiSdkFormatterMessage {
|
|
|
44
44
|
role: AiSdkFormatterMessageRole;
|
|
45
45
|
content: string | AiSdkFormatterPart[];
|
|
46
46
|
}
|
|
47
|
+
export declare const EMPTY_CONTENT_TEXT = "ERROR: EMPTY CONTENT";
|
|
47
48
|
export type AiSdkMessagePart = Record<string, unknown>;
|
|
48
49
|
export type AiSdkMessage = {
|
|
49
50
|
role: "system" | "user" | "assistant" | "tool";
|
package/dist/llms/gateway.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type GatewayModelCapability = "text" | "tools" | "reasoning" | "prompt-ca
|
|
|
9
9
|
export type GatewayPromptCacheStrategy = "anthropic-automatic";
|
|
10
10
|
export type GatewayUsageCostDisplay = "show" | "hide";
|
|
11
11
|
export type GatewayPromptCacheFormat = "anthropic-cache-control";
|
|
12
|
-
export type GatewayReasoningFormat = "anthropic-thinking" | "glm-thinking";
|
|
12
|
+
export type GatewayReasoningFormat = "anthropic-thinking" | "glm-thinking" | "minimax-thinking";
|
|
13
13
|
export type GatewayModelRoute = {
|
|
14
14
|
matcher: "anthropic-compatible";
|
|
15
15
|
} | {
|