@cline/core 0.0.77 → 0.0.78
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/extensions/tools/team/delegated-agent.d.ts +10 -0
- package/dist/hub/client/index.d.ts +20 -0
- package/dist/hub/daemon/entry.js +258 -216
- package/dist/hub/daemon/index.d.ts +21 -0
- package/dist/hub/discovery/instance-lock.d.ts +51 -0
- package/dist/hub/index.d.ts +3 -0
- package/dist/hub/index.js +275 -234
- package/dist/hub/server/command-transport.d.ts +9 -0
- package/dist/hub/server/handlers/approval-handlers.d.ts +8 -1
- package/dist/hub/server/handlers/context.d.ts +13 -0
- package/dist/hub/server/handlers/run-queue-handlers.d.ts +33 -0
- package/dist/hub/server/hub-event-log.d.ts +52 -0
- package/dist/hub/server/hub-run-queue.d.ts +82 -0
- package/dist/hub/server/hub-server-options.d.ts +10 -0
- package/dist/hub/server/hub-server-transport.d.ts +25 -0
- package/dist/hub/server/native-transport.d.ts +9 -0
- package/dist/index.js +277 -236
- package/dist/runtime/host/local-runtime-host.d.ts +1 -0
- package/dist/runtime/orchestration/session-runtime.d.ts +5 -0
- package/package.json +4 -4
|
@@ -42,6 +42,7 @@ export declare class LocalRuntimeHost implements RuntimeHost {
|
|
|
42
42
|
private readonly providerSettingsManager;
|
|
43
43
|
private readonly oauthTokenManager;
|
|
44
44
|
private readonly defaultTelemetry?;
|
|
45
|
+
private readonly distinctId;
|
|
45
46
|
private readonly defaultLogger?;
|
|
46
47
|
private readonly defaultFetch?;
|
|
47
48
|
private readonly events;
|
|
@@ -32,6 +32,11 @@ export interface BuiltRuntime {
|
|
|
32
32
|
}
|
|
33
33
|
export interface RuntimeBuilderInput {
|
|
34
34
|
config: CoreSessionConfig;
|
|
35
|
+
/**
|
|
36
|
+
* Host-resolved stable end-user identity, forwarded so delegated agents
|
|
37
|
+
* (sub-agents / teammates) emit the same telemetry `userId` as the lead.
|
|
38
|
+
*/
|
|
39
|
+
distinctId?: string;
|
|
35
40
|
hooks?: AgentHooks;
|
|
36
41
|
extensions?: AgentConfig["extensions"];
|
|
37
42
|
onTeamEvent?: (event: TeamEvent) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cline/core",
|
|
3
3
|
"description": "Cline Core SDK for Node Runtime",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.78",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/cline/cline",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"test:watch": "vitest --config vitest.config.ts"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@cline/agents": "0.0.
|
|
53
|
-
"@cline/shared": "0.0.
|
|
54
|
-
"@cline/llms": "0.0.
|
|
52
|
+
"@cline/agents": "0.0.78",
|
|
53
|
+
"@cline/shared": "0.0.78",
|
|
54
|
+
"@cline/llms": "0.0.78",
|
|
55
55
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
56
56
|
"@opentelemetry/api": "^1.9.0",
|
|
57
57
|
"@opentelemetry/api-logs": "^0.214.0",
|