@cline/shared 0.0.82-nightly.1788488915 → 0.0.83
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/agent.d.ts +8 -0
- package/dist/agents/types.d.ts +12 -0
- package/dist/automation/index.js +40 -35
- package/dist/extensions/context.d.ts +3 -1
- package/dist/feature-flags.d.ts +2 -0
- package/dist/hub.d.ts +10 -0
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +31 -26
- package/dist/index.d.ts +3 -3
- package/dist/index.js +78 -68
- package/dist/llms/gateway.d.ts +2 -0
- package/dist/llms/model-info.d.ts +12 -0
- package/dist/parse/shell.d.ts +9 -0
- package/dist/prompt/system/act.d.ts +1 -0
- package/dist/prompt/{system.d.ts → system/index.d.ts} +4 -1
- package/dist/prompt/system/yolo.d.ts +1 -0
- package/dist/remote-config/index.js +47 -42
- package/dist/rpc/runtime.d.ts +1 -1
- package/dist/services/telemetry.d.ts +21 -0
- package/package.json +1 -1
package/dist/rpc/runtime.d.ts
CHANGED
|
@@ -225,9 +225,9 @@ export declare const ProviderCapabilitySchema: z.ZodEnum<{
|
|
|
225
225
|
export type ProviderCapability = z.infer<typeof ProviderCapabilitySchema>;
|
|
226
226
|
export declare const ProviderProtocolSchema: z.ZodEnum<{
|
|
227
227
|
"openai-responses": "openai-responses";
|
|
228
|
+
"openai-chat": "openai-chat";
|
|
228
229
|
anthropic: "anthropic";
|
|
229
230
|
gemini: "gemini";
|
|
230
|
-
"openai-chat": "openai-chat";
|
|
231
231
|
"openai-r1": "openai-r1";
|
|
232
232
|
"ai-sdk": "ai-sdk";
|
|
233
233
|
}>;
|
|
@@ -121,6 +121,18 @@ export declare function captureTaskLifecycleEvent(telemetry: ITelemetryService |
|
|
|
121
121
|
export declare function captureSdkError(telemetry: ITelemetryService | undefined, input: CaptureSdkErrorInput): boolean;
|
|
122
122
|
export declare function buildSdkErrorProperties(input: CaptureSdkErrorInput): TelemetryProperties;
|
|
123
123
|
export declare function normalizeSdkError(error: unknown, messageLimit?: number, errorMessage?: string): TelemetryProperties;
|
|
124
|
+
/**
|
|
125
|
+
* Marker property stamped onto a tracer provider whose span processors
|
|
126
|
+
* include a real OTLP exporter — the collector relay. Trace decisions must
|
|
127
|
+
* identify the relay explicitly instead of inferring it from "some recording
|
|
128
|
+
* tracer exists": a console-only tracer would otherwise be misclassified as
|
|
129
|
+
* a relay. A property on the provider instance (reached through the OTel API
|
|
130
|
+
* global) survives bundled module duplication, which a module-level registry
|
|
131
|
+
* would not.
|
|
132
|
+
*/
|
|
133
|
+
export declare const OTLP_TRACE_RELAY_MARKER = "_clineOtlpTraceRelay";
|
|
134
|
+
export declare function markOtlpTraceRelayProvider(provider: object): void;
|
|
135
|
+
export declare function isOtlpTraceRelayProvider(provider: unknown): boolean;
|
|
124
136
|
export interface OpenTelemetryClientConfig {
|
|
125
137
|
/**
|
|
126
138
|
* Whether telemetry is enabled via OTEL_TELEMETRY_ENABLED
|
|
@@ -141,6 +153,15 @@ export interface OpenTelemetryClientConfig {
|
|
|
141
153
|
* Examples: "console", "otlp". When unset, no `TracerProvider` is registered.
|
|
142
154
|
*/
|
|
143
155
|
tracesExporter?: string;
|
|
156
|
+
/**
|
|
157
|
+
* OTel resource `service.name` (default "cline"). Distinguishes processes
|
|
158
|
+
* that ship in the same binary — e.g. the CLI vs the detached hub daemon.
|
|
159
|
+
*/
|
|
160
|
+
serviceName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* OTel resource `service.version`.
|
|
163
|
+
*/
|
|
164
|
+
serviceVersion?: string;
|
|
144
165
|
/**
|
|
145
166
|
* Protocol for OTLP exporters. SDK support is currently limited to "http/json".
|
|
146
167
|
*/
|