@cline/core 0.0.94 → 0.0.95
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/cloud/index.js +12 -12
- package/dist/extensions/plugin-sandbox-bootstrap.js +2 -2
- package/dist/hub/daemon/entry.js +132 -132
- package/dist/hub/daemon/telemetry.d.ts +15 -1
- package/dist/hub/index.js +116 -116
- package/dist/index.js +96 -96
- package/dist/services/telemetry/OpenTelemetryProvider.d.ts +7 -0
- package/dist/services/telemetry/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
import { type ITelemetryService } from "@cline/shared";
|
|
1
|
+
import { type HubLauncherIdentity, type ITelemetryService } from "@cline/shared";
|
|
2
2
|
export interface HubDaemonTelemetry {
|
|
3
3
|
readonly telemetry: ITelemetryService;
|
|
4
|
+
/** Who started this daemon, as published on its telemetry resource. */
|
|
5
|
+
readonly launcher?: HubLauncherIdentity;
|
|
4
6
|
/** Flushes pending batches and disposes the underlying provider. */
|
|
5
7
|
dispose(): Promise<void>;
|
|
6
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Resource attributes that say whose build is hosting the sessions. One hub
|
|
11
|
+
* serves every Cline client on the machine, and a session only carries its
|
|
12
|
+
* own client's name/version (`clientName: cline-desktop`), so without these
|
|
13
|
+
* a desktop trace cannot be told apart from "desktop session on a hub the
|
|
14
|
+
* CLI started" - which decides whether a build-specific telemetry gap is the
|
|
15
|
+
* desktop's or the CLI's. Values are low-cardinality identifiers, never paths.
|
|
16
|
+
*/
|
|
17
|
+
export declare function hubDaemonResourceAttributes(launcher?: HubLauncherIdentity | undefined, options?: {
|
|
18
|
+
buildId?: string;
|
|
19
|
+
execPath?: string;
|
|
20
|
+
}): Record<string, string>;
|
|
7
21
|
/**
|
|
8
22
|
* Telemetry for the detached hub daemon process.
|
|
9
23
|
*
|