@adhdev/daemon-core 0.8.27 → 0.8.28

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.
@@ -29,6 +29,7 @@ export interface CommandContext {
29
29
  /** ProviderInstanceManager — for runtime settings propagation */
30
30
  instanceManager?: ProviderInstanceManager;
31
31
  sessionRegistry?: SessionRegistry;
32
+ onProviderSettingChanged?: (providerType: string, key: string, value: any) => Promise<void> | void;
32
33
  }
33
34
  /**
34
35
  * Shared helpers interface — passed to sub-module command functions
@@ -7,7 +7,7 @@ export declare function handleFocusSession(h: CommandHelpers, args: any): Promis
7
7
  export declare function handlePtyInput(h: CommandHelpers, args: any): CommandResult;
8
8
  export declare function handlePtyResize(h: CommandHelpers, args: any): CommandResult;
9
9
  export declare function handleGetProviderSettings(h: CommandHelpers, args: any): CommandResult;
10
- export declare function handleSetProviderSetting(h: CommandHelpers, args: any): CommandResult;
10
+ export declare function handleSetProviderSetting(h: CommandHelpers, args: any): Promise<CommandResult>;
11
11
  export declare function handleExtensionScript(h: CommandHelpers, args: any, scriptName: string): Promise<CommandResult>;
12
12
  export declare function handleProviderScript(h: CommandHelpers, args: any): Promise<CommandResult>;
13
13
  export declare function handleGetIdeExtensions(h: CommandHelpers, args: any): CommandResult;
@@ -22,6 +22,10 @@ export interface CLIInfo {
22
22
  * Detect all CLI/ACP agents (parallel)
23
23
  * @param providerLoader ProviderLoader instance (dynamic list creation)
24
24
  */
25
- export declare function detectCLIs(providerLoader?: ProviderLoader): Promise<CLIInfo[]>;
25
+ export declare function detectCLIs(providerLoader?: ProviderLoader, options?: {
26
+ includeVersion?: boolean;
27
+ }): Promise<CLIInfo[]>;
26
28
  /** Detect specific CLI — only probes the one requested provider */
27
- export declare function detectCLI(cliId: string, providerLoader?: ProviderLoader): Promise<CLIInfo | null>;
29
+ export declare function detectCLI(cliId: string, providerLoader?: ProviderLoader, options?: {
30
+ includeVersion?: boolean;
31
+ }): Promise<CLIInfo | null>;
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * Migrated from @adhdev/core — this is now the single source of truth.
8
8
  */
9
+ import type { ProviderLoader } from '../providers/provider-loader.js';
9
10
  export interface IDEInfo {
10
11
  id: string;
11
12
  name: string;
@@ -31,4 +32,4 @@ export interface IDEDefinition {
31
32
  };
32
33
  }
33
34
  export declare function registerIDEDefinition(def: IDEDefinition): void;
34
- export declare function detectIDEs(): Promise<IDEInfo[]>;
35
+ export declare function detectIDEs(providerLoader?: ProviderLoader): Promise<IDEInfo[]>;