@cline/shared 0.0.52 → 0.0.53-nightly.1782703376

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.
@@ -7,7 +7,8 @@ export type JsonValue = string | number | boolean | null | JsonValue[] | {
7
7
  };
8
8
  export type GatewayModelCapability = "text" | "tools" | "reasoning" | "prompt-cache" | "images" | "audio" | "structured-output";
9
9
  export type GatewayPromptCacheStrategy = "anthropic-automatic";
10
- export type GatewayUsageCostDisplay = "show" | "hide";
10
+ export declare const USAGE_COST_DISPLAYS: readonly ["show", "hide", "subscription"];
11
+ export type GatewayUsageCostDisplay = (typeof USAGE_COST_DISPLAYS)[number];
11
12
  export type GatewayPromptCacheFormat = "anthropic-cache-control";
12
13
  export type GatewayReasoningFormat = "anthropic-thinking" | "glm-thinking" | "minimax-thinking";
13
14
  export type GatewayModelRoute = {
@@ -4,4 +4,5 @@
4
4
  * the conventional 4) so trigger thresholds fire before provider rejection
5
5
  * rather than after.
6
6
  */
7
+ export declare const CHARS_PER_TOKEN = 3;
7
8
  export declare function estimateTokens(chars: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cline/shared",
3
- "version": "0.0.52",
3
+ "version": "0.0.53-nightly.1782703376",
4
4
  "description": "Shared utilities, types, and schemas for Cline packages",
5
5
  "repository": {
6
6
  "type": "git",