@adhdev/daemon-core 0.6.79 → 0.7.0

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StatusResponse, D as DaemonEvent, C as CommandResult$2, M as ManagedIdeEntry, a as ManagedCliEntry, b as ManagedAcpEntry, P as ProviderCategory, c as ProviderModule, R as ResolvedProvider, d as ProviderSettingSchema, e as CdpTargetFilter, f as ProviderInstance, I as InstanceContext, g as ProviderState, h as ProviderEvent, A as AcpProviderState, i as CliProviderState, j as IdeProviderState, k as StatusReportPayload, l as AvailableProviderInfo, m as ContentBlock } from './normalize-igHDb198.js';
2
- export { n as AcpConfigOption, o as AcpMode, p as ActiveChatData, q as AgentEntry, r as ChatMessage, s as DetectedIde, t as DetectedIdeInfo, E as ExtensionInfo, u as ExtensionProviderState, v as MachineInfo, w as ManagedAgentStream, x as ManagedStatus, y as ProviderConfig, z as ProviderErrorReason, B as ProviderInfo, F as ProviderStatus, G as SystemInfo, W as WorkspaceActivity, H as WorkspaceEntry, J as addCliHistory, K as getWorkspaceActivity, L as getWorkspaceState, N as isManagedStatusWaiting, O as isManagedStatusWorking, Q as isSetupComplete, T as loadConfig, U as markSetupComplete, V as normalizeActiveChatData, X as normalizeManagedStatus, Y as resetConfig, Z as saveConfig, _ as updateConfig } from './normalize-igHDb198.js';
1
+ import { S as StatusResponse, D as DaemonEvent, C as CommandResult$2, a as SessionEntry, P as ProviderCategory, b as ProviderModule, R as ResolvedProvider, c as ProviderSettingSchema, d as CdpTargetFilter, e as ProviderInstance, I as InstanceContext, f as ProviderState, g as ProviderEvent, h as SessionTransport, i as StatusReportPayload, A as AvailableProviderInfo, j as AcpProviderState, k as ContentBlock } from './normalize-S2PmiRgB.js';
2
+ export { l as AcpConfigOption, m as AcpMode, n as ActiveChatData, o as AgentEntry, p as AgentSessionStream, q as ChatMessage, r as CliProviderState, s as DetectedIde, t as DetectedIdeInfo, E as ExtensionInfo, u as ExtensionProviderState, v as IdeProviderState, M as MachineInfo, w as ManagedStatus, x as ProviderConfig, y as ProviderErrorReason, z as ProviderInfo, B as ProviderStatus, F as SessionCapability, G as SessionKind, H as SystemInfo, W as WorkspaceActivity, J as WorkspaceEntry, K as addCliHistory, L as getWorkspaceActivity, N as getWorkspaceState, O as isManagedStatusWaiting, Q as isManagedStatusWorking, T as isSetupComplete, U as loadConfig, V as markSetupComplete, X as normalizeActiveChatData, Y as normalizeManagedStatus, Z as resetConfig, _ as saveConfig, $ as updateConfig } from './normalize-S2PmiRgB.js';
3
3
 
4
4
  /**
5
5
  * DaemonCore — Core daemon orchestrator interface
@@ -33,12 +33,8 @@ interface IDaemonCore {
33
33
  onEvent(callback: (event: DaemonEvent) => void): () => void;
34
34
  /** Execute a command (send_chat, new_session, etc.) */
35
35
  executeCommand(type: string, payload: any, target?: string): Promise<CommandResult$2>;
36
- /** Get currently detected/managed IDEs */
37
- getManagedIdes(): ManagedIdeEntry[];
38
- /** Get currently detected/managed CLIs */
39
- getManagedClis(): ManagedCliEntry[];
40
- /** Get currently detected/managed ACP agents */
41
- getManagedAcps(): ManagedAcpEntry[];
36
+ /** Get current canonical runtime sessions */
37
+ getSessions(): SessionEntry[];
42
38
  }
43
39
 
44
40
  /**
@@ -654,6 +650,31 @@ declare class ProviderInstanceManager {
654
650
  disposeAll(): void;
655
651
  }
656
652
 
653
+ interface SessionRuntimeTarget {
654
+ sessionId: string;
655
+ parentSessionId: string | null;
656
+ providerType: string;
657
+ providerCategory: 'ide' | 'extension' | 'cli' | 'acp';
658
+ transport: SessionTransport;
659
+ cdpManagerKey?: string;
660
+ adapterKey?: string;
661
+ instanceKey?: string;
662
+ }
663
+ declare class SessionRegistry {
664
+ private readonly bySessionId;
665
+ private readonly byManagerKey;
666
+ private readonly byInstanceKey;
667
+ private readonly byParentSessionId;
668
+ register(target: SessionRuntimeTarget): void;
669
+ get(sessionId: string | undefined | null): SessionRuntimeTarget | undefined;
670
+ unregister(sessionId: string | undefined | null): void;
671
+ unregisterByManagerKey(managerKey: string): void;
672
+ unregisterByInstanceKey(instanceKey: string): void;
673
+ listChildren(parentSessionId: string): SessionRuntimeTarget[];
674
+ private addIndex;
675
+ private removeIndex;
676
+ }
677
+
657
678
  /**
658
679
  * Agent Stream Types — ported for Daemon (identical to original)
659
680
  *
@@ -718,42 +739,48 @@ type AgentEvaluateFn = (expression: string, timeoutMs?: number) => Promise<unkno
718
739
 
719
740
  interface ManagedAgent {
720
741
  adapter: IAgentStreamAdapter;
721
- sessionId: string;
742
+ runtimeSessionId: string;
743
+ parentSessionId: string;
744
+ cdpSessionId: string;
722
745
  target: AgentWebviewTarget;
723
746
  lastState: AgentStreamState | null;
724
747
  lastError: string | null;
725
748
  lastHiddenCheckTime: number;
726
749
  }
727
750
  declare class DaemonAgentStreamManager {
728
- private allAdapters;
729
- private managedByScope;
751
+ private readonly sessionRegistry?;
752
+ private adaptersByType;
753
+ private managedBySessionId;
730
754
  private enabled;
731
755
  private logFn;
732
- private lastDiscoveryTimeByScope;
733
- private discoveryIntervalMsByScope;
734
- private activeAgentTypeByScope;
735
- constructor(logFn?: (msg: string) => void, providerLoader?: ProviderLoader);
756
+ private lastDiscoveryTimeByParent;
757
+ private discoveryIntervalMsByParent;
758
+ private activeSessionIdByParent;
759
+ constructor(logFn?: (msg: string) => void, providerLoader?: ProviderLoader, sessionRegistry?: SessionRegistry | undefined);
736
760
  setEnabled(enabled: boolean): void;
737
761
  get isEnabled(): boolean;
738
- getActiveAgentType(scopeKey: string): string | null;
739
- private getManagedScope;
740
- resetScope(scopeKey: string): void;
762
+ getActiveSessionId(parentSessionId: string): string | null;
763
+ private getSessionTarget;
764
+ resetParentSession(parentSessionId: string): void;
741
765
  /** Panel focus based on provider.js focusPanel or extensionId (currently no-op) */
742
- ensureAgentPanelOpen(agentType: string, targetIdeType?: string): Promise<void>;
743
- switchActiveAgent(cdp: DaemonCdpManager, scopeKey: string, agentType: string | null): Promise<void>;
766
+ ensureSessionPanelOpen(_sessionId: string): Promise<void>;
767
+ setActiveSession(cdp: DaemonCdpManager, parentSessionId: string, sessionId: string | null): Promise<void>;
768
+ private resolveSessionIdForTarget;
769
+ private connectManagedSession;
744
770
  /** Agent webview discovery + session connection */
745
- syncAgentSessions(cdp: DaemonCdpManager, scopeKey: string): Promise<void>;
746
- /** Collect active agent status */
747
- collectAgentStreams(cdp: DaemonCdpManager, scopeKey: string): Promise<AgentStreamState[]>;
748
- sendToAgent(cdp: DaemonCdpManager, scopeKey: string, agentType: string, text: string, targetIdeType?: string): Promise<boolean>;
749
- resolveAgentAction(cdp: DaemonCdpManager, scopeKey: string, agentType: string, action: 'approve' | 'reject', targetIdeType?: string): Promise<boolean>;
750
- newAgentSession(cdp: DaemonCdpManager, scopeKey: string, agentType: string, targetIdeType?: string): Promise<boolean>;
751
- listAgentChats(cdp: DaemonCdpManager, scopeKey: string, agentType: string): Promise<AgentChatListItem[]>;
752
- switchAgentSession(cdp: DaemonCdpManager, scopeKey: string, agentType: string, sessionId: string): Promise<boolean>;
753
- focusAgentEditor(cdp: DaemonCdpManager, scopeKey: string, agentType: string): Promise<boolean>;
754
- getConnectedAgents(scopeKey?: string): string[];
755
- getManagedAgent(agentType: string, scopeKey: string): ManagedAgent | undefined;
771
+ syncActiveSession(cdp: DaemonCdpManager, parentSessionId: string): Promise<void>;
772
+ /** Collect active extension session state */
773
+ collectActiveSession(cdp: DaemonCdpManager, parentSessionId: string): Promise<AgentStreamState | null>;
774
+ sendToSession(cdp: DaemonCdpManager, sessionId: string, text: string): Promise<boolean>;
775
+ resolveSessionAction(cdp: DaemonCdpManager, sessionId: string, action: 'approve' | 'reject'): Promise<boolean>;
776
+ newSession(cdp: DaemonCdpManager, sessionId: string): Promise<boolean>;
777
+ listSessionChats(cdp: DaemonCdpManager, sessionId: string): Promise<AgentChatListItem[]>;
778
+ switchConversation(cdp: DaemonCdpManager, sessionId: string, conversationId: string): Promise<boolean>;
779
+ focusSession(cdp: DaemonCdpManager, sessionId: string): Promise<boolean>;
780
+ getConnectedSessions(parentSessionId?: string): string[];
781
+ getManagedSession(sessionId: string): ManagedAgent | undefined;
756
782
  dispose(cdpManagers: Map<string, DaemonCdpManager>): Promise<void>;
783
+ resolveSessionForAgent(parentSessionId: string, agentType: string): string | null;
757
784
  }
758
785
 
759
786
  /**
@@ -773,6 +800,7 @@ interface AgentStreamPollerDeps {
773
800
  providerLoader: ProviderLoader;
774
801
  instanceManager: ProviderInstanceManager;
775
802
  cdpManagers: Map<string, DaemonCdpManager>;
803
+ sessionRegistry: SessionRegistry;
776
804
  /** Callback when agent streams are updated */
777
805
  onStreamsUpdated?: (ideType: string, streams: AgentStreamState[]) => void;
778
806
  }
@@ -783,7 +811,7 @@ declare class AgentStreamPoller {
783
811
  /** Currently active IDE type for agent streaming */
784
812
  get activeIde(): string | null;
785
813
  /** Reset active IDE tracking (e.g., when IDE is stopped) */
786
- resetActiveIde(ideType: string): void;
814
+ resetActiveIde(parentSessionId: string): void;
787
815
  /** Start polling (idempotent — ignored if already started) */
788
816
  start(intervalMs?: number): void;
789
817
  /** Stop polling */
@@ -859,7 +887,7 @@ declare function readChatHistory(agentType: string, offset?: number, limit?: num
859
887
  * the correct CDP manager or CLI adapter.
860
888
  *
861
889
  * Key concepts:
862
- * - extractIdeType(): determines target IDE from _targetInstance
890
+ * - extractIdeType(): determines target IDE from targetSessionId or ideType
863
891
  * - getCdp(): returns the DaemonCdpManager for current command
864
892
  * - getProvider(): returns the ProviderModule for current command
865
893
  * - handle(): main entry point, sets context then dispatches
@@ -876,8 +904,7 @@ interface CommandContext {
876
904
  providerLoader?: ProviderLoader;
877
905
  /** ProviderInstanceManager — for runtime settings propagation */
878
906
  instanceManager?: ProviderInstanceManager;
879
- /** UUID instanceId → CDP manager key (ideType) mapping */
880
- instanceIdMap?: Map<string, string>;
907
+ sessionRegistry?: SessionRegistry;
881
908
  }
882
909
  /**
883
910
  * Shared helpers interface — passed to sub-module command functions
@@ -892,8 +919,10 @@ interface CommandHelpers {
892
919
  category: string;
893
920
  } | null>;
894
921
  getCliAdapter(type?: string): any | null;
922
+ readonly currentManagerKey: string | undefined;
895
923
  readonly currentIdeType: string | undefined;
896
924
  readonly currentProviderType: string | undefined;
925
+ readonly currentSession: SessionRuntimeTarget | undefined;
897
926
  readonly agentStream: DaemonAgentStreamManager | null;
898
927
  readonly ctx: CommandContext;
899
928
  readonly historyWriter: ChatHistoryWriter;
@@ -903,19 +932,17 @@ declare class DaemonCommandHandler implements CommandHelpers {
903
932
  private _agentStream;
904
933
  private domHandlers;
905
934
  private _historyWriter;
906
- /** Current IDE type extracted from command args (per-request) */
907
- private _currentIdeType;
908
- /** Current provider type — agentType priority, ideType use */
909
- private _currentProviderType;
935
+ /** Current request route context */
936
+ private _currentRoute;
910
937
  constructor(ctx: CommandContext);
911
938
  get ctx(): CommandContext;
912
939
  get agentStream(): DaemonAgentStreamManager | null;
913
940
  get historyWriter(): ChatHistoryWriter;
941
+ get currentManagerKey(): string | undefined;
914
942
  get currentIdeType(): string | undefined;
915
943
  get currentProviderType(): string | undefined;
916
- /** Get CDP manager for a specific ideType or managerKey.
917
- * Supports exact match, multi-window prefix match, and instanceIdMap UUID lookup.
918
- * Returns null if no match — never falls back to another IDE. */
944
+ get currentSession(): SessionRuntimeTarget | undefined;
945
+ /** Get CDP manager for a specific session or manager key. */
919
946
  getCdp(ideType?: string): DaemonCdpManager | null;
920
947
  /**
921
948
  * Get provider module — _currentProviderType (agentType priority) use.
@@ -934,9 +961,9 @@ declare class DaemonCommandHandler implements CommandHelpers {
934
961
  } | null>;
935
962
  /** CLI adapter search */
936
963
  getCliAdapter(type?: string): any | null;
937
- private getExtensionSessionId;
938
- private resolveManagerKeyFromInstanceId;
939
- /** Extract ideType from _targetInstance or explicit ideType */
964
+ private inferProviderType;
965
+ private resolveRoute;
966
+ /** Extract CDP scope key from target session or explicit ideType */
940
967
  private extractIdeType;
941
968
  setAgentStreamManager(manager: DaemonAgentStreamManager): void;
942
969
  handle(cmd: string, args: any): Promise<CommandResult$1>;
@@ -1107,8 +1134,7 @@ interface CdpSetupContext {
1107
1134
  providerLoader: ProviderLoader;
1108
1135
  instanceManager: ProviderInstanceManager;
1109
1136
  cdpManagers: Map<string, DaemonCdpManager>;
1110
- /** UUID instanceId → CDP manager key mapping */
1111
- instanceIdMap: Map<string, string>;
1137
+ sessionRegistry: SessionRegistry;
1112
1138
  /** Server connection (optional) */
1113
1139
  serverConn?: any;
1114
1140
  }
@@ -1135,7 +1161,7 @@ declare function registerExtensionProviders(providerLoader: ProviderLoader, mana
1135
1161
  * 2. Create IdeProviderInstance
1136
1162
  * 3. Register in InstanceManager
1137
1163
  * 4. Register enabled extensions
1138
- * 5. Update instanceIdMap (IDE + extension UUIDs)
1164
+ * 5. Register runtime sessions (workspace + extension children)
1139
1165
  *
1140
1166
  * @returns The created IdeProviderInstance, or null if provider not found
1141
1167
  */
@@ -1228,6 +1254,8 @@ interface CdpInitializerConfig {
1228
1254
  enabledIdes?: string[];
1229
1255
  /** Callback when a new CDP manager is connected */
1230
1256
  onConnected?: (ideType: string, manager: DaemonCdpManager, managerKey: string) => void | Promise<void>;
1257
+ /** Callback when a stale/disconnected CDP manager is removed */
1258
+ onDisconnected?: (ideType: string, manager: DaemonCdpManager, managerKey: string, reason: 'ide_closed' | 'target_closed' | 'target_rekeyed') => void | Promise<void>;
1231
1259
  }
1232
1260
  declare class DaemonCdpInitializer {
1233
1261
  private config;
@@ -1244,6 +1272,7 @@ declare class DaemonCdpInitializer {
1244
1272
  * Tries multi-window first (listAllTargets), falls back to direct connect.
1245
1273
  */
1246
1274
  private connectIdePort;
1275
+ private pruneStaleManagers;
1247
1276
  /**
1248
1277
  * Start periodic scanning for newly opened IDEs.
1249
1278
  * Idempotent — ignored if already started.
@@ -1300,6 +1329,7 @@ interface CliManagerDeps {
1300
1329
  removeAgentTracking(key: string): void;
1301
1330
  /** InstanceManager — register in CLI unified status */
1302
1331
  getInstanceManager(): ProviderInstanceManager | null;
1332
+ getSessionRegistry?(): SessionRegistry | null;
1303
1333
  }
1304
1334
  type CommandResult = {
1305
1335
  success: boolean;
@@ -1318,7 +1348,7 @@ declare class DaemonCliManager {
1318
1348
  shutdownAll(): void;
1319
1349
  /**
1320
1350
  * Search for CLI adapter. Priority order:
1321
- * 0. instanceKey (UUID direct match) — extracted from _targetInstance / composite ID
1351
+ * 0. sessionId (UUID direct match)
1322
1352
  * 1. agentType + dir (iteration match)
1323
1353
  * 2. agentType fuzzy match (⚠ returns first match when multiple sessions exist)
1324
1354
  */
@@ -1353,8 +1383,7 @@ interface CommandRouterDeps {
1353
1383
  detectedIdes: {
1354
1384
  value: any[];
1355
1385
  };
1356
- /** UUID instanceId → CDP manager key mapping */
1357
- instanceIdMap: Map<string, string>;
1386
+ sessionRegistry: SessionRegistry;
1358
1387
  /** Callback for CDP manager creation after launch_ide */
1359
1388
  onCdpManagerCreated?: (ideType: string, manager: DaemonCdpManager) => void;
1360
1389
  /** Callback after IDE connected (e.g., startAgentStreamPolling) */
@@ -1498,40 +1527,7 @@ declare function hasCdpManager(cdpManagers: Map<string, DaemonCdpManager>, key:
1498
1527
  * Check if any CDP manager matching the key is connected.
1499
1528
  */
1500
1529
  declare function isCdpConnected(cdpManagers: Map<string, DaemonCdpManager>, key: string): boolean;
1501
- /**
1502
- * Convert IdeProviderState[] → ManagedIdeEntry[]
1503
- *
1504
- * @param ideStates - from instanceManager.collectAllStates() filtered to ide
1505
- * @param cdpManagers - for cdpConnected lookup
1506
- * @param opts.detectedIdes - include CDPs that have no instance yet
1507
- */
1508
- declare function buildManagedIdes(ideStates: IdeProviderState[], cdpManagers: Map<string, DaemonCdpManager>, opts?: {
1509
- detectedIdes?: {
1510
- id: string;
1511
- installed: boolean;
1512
- }[];
1513
- }): ManagedIdeEntry[];
1514
- /**
1515
- * Convert CliProviderState[] → ManagedCliEntry[]
1516
- */
1517
- declare function buildManagedClis(cliStates: CliProviderState[]): ManagedCliEntry[];
1518
- /**
1519
- * Convert AcpProviderState[] → ManagedAcpEntry[]
1520
- */
1521
- declare function buildManagedAcps(acpStates: AcpProviderState[]): ManagedAcpEntry[];
1522
- /**
1523
- * Convenience: collect & build all managed entries from instanceManager
1524
- */
1525
- declare function buildAllManagedEntries(allStates: ProviderState[], cdpManagers: Map<string, DaemonCdpManager>, opts?: {
1526
- detectedIdes?: {
1527
- id: string;
1528
- installed: boolean;
1529
- }[];
1530
- }): {
1531
- managedIdes: ManagedIdeEntry[];
1532
- managedClis: ManagedCliEntry[];
1533
- managedAcps: ManagedAcpEntry[];
1534
- };
1530
+ declare function buildSessionEntries(allStates: ProviderState[], cdpManagers: Map<string, DaemonCdpManager>): SessionEntry[];
1535
1531
 
1536
1532
  /**
1537
1533
  * Shared status snapshot builders.
@@ -2049,6 +2045,7 @@ declare class AcpProviderInstance implements ProviderInstance {
2049
2045
  onTick(): Promise<void>;
2050
2046
  getState(): AcpProviderState;
2051
2047
  onEvent(event: string, data?: any): void;
2048
+ getInstanceId(): string;
2052
2049
  private parseConfigOptions;
2053
2050
  private parseModes;
2054
2051
  setConfigOption(category: string, value: string): Promise<void>;
@@ -2301,7 +2298,7 @@ interface DaemonComponents {
2301
2298
  poller: AgentStreamPoller;
2302
2299
  cdpInitializer: DaemonCdpInitializer;
2303
2300
  cdpManagers: Map<string, DaemonCdpManager>;
2304
- instanceIdMap: Map<string, string>;
2301
+ sessionRegistry: SessionRegistry;
2305
2302
  detectedIdes: {
2306
2303
  value: any[];
2307
2304
  };
@@ -2342,4 +2339,4 @@ declare function startDaemonDevSupport(options: DaemonDevSupportOptions): Promis
2342
2339
  */
2343
2340
  declare function shutdownDaemonComponents(components: DaemonComponents): Promise<void>;
2344
2341
 
2345
- export { AcpProviderInstance, AcpProviderState, AgentStreamPoller, type AgentStreamPollerDeps, AvailableProviderInfo, CdpDomHandlers, type CdpInitializerConfig, type CdpScannerOptions, type CdpSetupContext, CdpTargetFilter, type CliAdapter, CliProviderInstance, CliProviderState, type CommandContext, type CommandResult$1 as CommandResult, type CommandRouterDeps, type CommandRouterResult, CommandResult$2 as CoreCommandResult, DAEMON_WS_PATH, DEFAULT_DAEMON_PORT, DaemonAgentStreamManager, DaemonCdpInitializer, DaemonCdpManager, DaemonCdpScanner, DaemonCliManager, DaemonCommandHandler, DaemonCommandRouter, type DaemonComponents, type DaemonCoreOptions, type DaemonDevSupportOptions, DaemonEvent, type DaemonInitConfig, DaemonStatusReporter, DevServer, type HostMemorySnapshot, type IDEInfo, type IDaemonCore, IdeProviderInstance, IdeProviderState, type ExtensionInfo as InstallerExtensionInfo, LOG, type LogEntry, type LogLevel, ManagedAcpEntry, ManagedCliEntry, ManagedIdeEntry, ProviderCliAdapter, ProviderInstanceManager, ProviderLoader, ProviderModule, type ProviderVersionInfo, type ScopedLogger, type SetupIdeInstanceOptions, StatusReportPayload, StatusResponse, type StatusSnapshot, type StatusSnapshotOptions, VersionArchive, type VersionHistory, buildAllManagedEntries, buildManagedAcps, buildManagedClis, buildManagedIdes, buildStatusSnapshot, connectCdpManager, detectAllVersions, detectCLIs, detectIDEs, findCdpManager, forwardAgentStreamsToIdeInstance, getAIExtensions, getAvailableIdeIds, getHostMemorySnapshot, getLogLevel, getRecentCommands, getRecentLogs, hasCdpManager, initDaemonComponents, installExtensions, installGlobalInterceptor, isCdpConnected, isExtensionInstalled, isIdeRunning, killIdeProcess, launchIDE, launchWithCdp, logCommand, probeCdpPort, readChatHistory, registerExtensionProviders, setLogLevel, setupIdeInstance, shutdownDaemonComponents, startDaemonDevSupport };
2342
+ export { AcpProviderInstance, AcpProviderState, AgentStreamPoller, type AgentStreamPollerDeps, AvailableProviderInfo, CdpDomHandlers, type CdpInitializerConfig, type CdpScannerOptions, type CdpSetupContext, CdpTargetFilter, type CliAdapter, CliProviderInstance, type CommandContext, type CommandResult$1 as CommandResult, type CommandRouterDeps, type CommandRouterResult, CommandResult$2 as CoreCommandResult, DAEMON_WS_PATH, DEFAULT_DAEMON_PORT, DaemonAgentStreamManager, DaemonCdpInitializer, DaemonCdpManager, DaemonCdpScanner, DaemonCliManager, DaemonCommandHandler, DaemonCommandRouter, type DaemonComponents, type DaemonCoreOptions, type DaemonDevSupportOptions, DaemonEvent, type DaemonInitConfig, DaemonStatusReporter, DevServer, type HostMemorySnapshot, type IDEInfo, type IDaemonCore, IdeProviderInstance, type ExtensionInfo as InstallerExtensionInfo, LOG, type LogEntry, type LogLevel, ProviderCliAdapter, ProviderInstanceManager, ProviderLoader, ProviderModule, type ProviderVersionInfo, type ScopedLogger, SessionEntry, SessionTransport, type SetupIdeInstanceOptions, StatusReportPayload, StatusResponse, type StatusSnapshot, type StatusSnapshotOptions, VersionArchive, type VersionHistory, buildSessionEntries, buildStatusSnapshot, connectCdpManager, detectAllVersions, detectCLIs, detectIDEs, findCdpManager, forwardAgentStreamsToIdeInstance, getAIExtensions, getAvailableIdeIds, getHostMemorySnapshot, getLogLevel, getRecentCommands, getRecentLogs, hasCdpManager, initDaemonComponents, installExtensions, installGlobalInterceptor, isCdpConnected, isExtensionInstalled, isIdeRunning, killIdeProcess, launchIDE, launchWithCdp, logCommand, probeCdpPort, readChatHistory, registerExtensionProviders, setLogLevel, setupIdeInstance, shutdownDaemonComponents, startDaemonDevSupport };