diff options
Diffstat (limited to 'packages/core')
| -rw-r--r-- | packages/core/index.ts | 5 | ||||
| -rw-r--r-- | packages/core/src/config/config.ts | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/packages/core/index.ts b/packages/core/index.ts index 0c2da4b0..65a214ae 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -10,3 +10,8 @@ export { DEFAULT_GEMINI_FLASH_MODEL, DEFAULT_GEMINI_EMBEDDING_MODEL, } from './src/config/models.js'; +export { logIdeConnection } from './src/telemetry/loggers.js'; +export { + IdeConnectionEvent, + IdeConnectionType, +} from './src/telemetry/types.js'; diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index a06c4505..d02e4153 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -322,10 +322,6 @@ export class Config { this.folderTrust = params.folderTrust ?? false; this.ideMode = params.ideMode ?? false; this.ideClient = IdeClient.getInstance(); - if (this.ideMode && this.ideModeFeature) { - this.ideClient.connect(); - logIdeConnection(this, new IdeConnectionEvent(IdeConnectionType.START)); - } this.loadMemoryFromIncludeDirectories = params.loadMemoryFromIncludeDirectories ?? false; this.chatCompression = params.chatCompression; |
