@cline/core 0.0.76 → 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.
@@ -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/dist/types.d.ts CHANGED
@@ -6,7 +6,7 @@ export type { LoadAgentPluginFromPathOptions, ResolveAgentPluginPathsOptions, }
6
6
  export { discoverPluginModulePaths, loadAgentPluginFromPath, loadAgentPluginsFromPaths, resolveAgentPluginPaths, resolveAndLoadAgentPlugins, resolvePluginConfigSearchPaths, resolvePluginSkillDirectoriesFromPaths, } from "./extensions";
7
7
  export type { CreateInstructionWatcherOptions, CreateRulesConfigDefinitionOptions, CreateSkillsConfigDefinitionOptions, CreateUserInstructionConfigServiceOptions, CreateWorkflowsConfigDefinitionOptions, ParseMarkdownFrontmatterResult, RuleConfig, SkillConfig, UnifiedConfigDefinition, UnifiedConfigFileCandidate, UnifiedConfigFileContext, UnifiedConfigRecord, UnifiedConfigWatcherEvent, UnifiedConfigWatcherOptions, UserInstructionConfig, UserInstructionConfigRecord, UserInstructionConfigService, UserInstructionConfigType, WorkflowConfig, } from "./extensions/config";
8
8
  export { createRulesConfigDefinition, createSkillsConfigDefinition, createUserInstructionConfigService, createWorkflowsConfigDefinition, parseRuleConfigFromMarkdown, parseSkillConfigFromMarkdown, parseWorkflowConfigFromMarkdown, RULES_CONFIG_DIRECTORY_NAME, resolveRulesConfigSearchPaths, resolveSkillsConfigSearchPaths, resolveWorkflowsConfigSearchPaths, SKILLS_CONFIG_DIRECTORY_NAME, UnifiedConfigFileWatcher, WORKFLOWS_CONFIG_DIRECTORY_NAME, } from "./extensions/config";
9
- export type { BuiltinToolAvailabilityContext, ToolCatalogEntry, } from "./extensions/tools";
9
+ export type { BuiltinToolAvailabilityContext, ToolCatalogEntry, ToolClientType, } from "./extensions/tools";
10
10
  export { getCoreAcpToolNames, getCoreBuiltinToolCatalog, getCoreDefaultEnabledToolIds, getCoreHeadlessToolNames, resolveCoreSelectedToolIds, TEAM_TOOL_NAMES, } from "./extensions/tools";
11
11
  export type { RuntimeCapabilities } from "./runtime/capabilities";
12
12
  export type { SessionBackend } from "./runtime/host/host";
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.76",
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.76",
53
- "@cline/shared": "0.0.76",
54
- "@cline/llms": "0.0.76",
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",