@cline/shared 0.0.58 → 0.0.59-nightly.1783567022

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,2 +1,21 @@
1
+ import type { ClientName } from "../extensions/context";
1
2
  export declare const DEFAULT_REQUEST_HEADERS: Record<string, string>;
3
+ export interface ClineClientRequestHeadersInput {
4
+ providerId: string;
5
+ sessionId: string;
6
+ source?: string;
7
+ defaultSource: string;
8
+ clientName?: ClientName;
9
+ clientVersion?: string;
10
+ clientVersionHeaderFallback?: string;
11
+ platform?: string;
12
+ platformVersion?: string;
13
+ isMultiRoot?: boolean;
14
+ coreVersion: string;
15
+ }
16
+ export declare function buildClineClientRequestHeaders(input: ClineClientRequestHeadersInput): Record<string, string> | undefined;
17
+ export interface MergeClineClientRequestHeadersInput extends ClineClientRequestHeadersInput {
18
+ headers: ReadonlyArray<Record<string, string> | undefined>;
19
+ }
20
+ export declare function mergeClineClientRequestHeaders(input: MergeClineClientRequestHeadersInput): Record<string, string> | undefined;
2
21
  export declare function serializeAbortReason(reason: unknown): unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cline/shared",
3
- "version": "0.0.58",
3
+ "version": "0.0.59-nightly.1783567022",
4
4
  "description": "Shared utilities, types, and schemas for Cline packages",
5
5
  "repository": {
6
6
  "type": "git",