@ace-sdk/cli
Version:
ACE CLI - Command-line tool for intelligent pattern learning and playbook management
33 lines • 1.25 kB
TypeScript
/**
* Server Client - Wrapper for @ace-sdk/core AceClient
*
* Provides backwards-compatible ACEServerClient alias for CLI commands.
*
* @package @ace-sdk/cli
*/
import { AceClient } from '@ace-sdk/core';
import type { AceClientOptions, AceConfig, AceContext, ILogger } from '@ace-sdk/core';
export type { AceClientOptions };
/**
* ACEServerClient - Backwards-compatible alias for AceClient
*
* Accepts optional Logger for backwards compatibility with CLI commands
* that were passing a Logger instance as the second argument.
*
* Also includes CLI-specific methods like saveConfig that save to disk.
*
* @deprecated Use AceClient directly from @ace-sdk/core
*/
export declare class ACEServerClient extends AceClient {
constructor(config: AceConfig | AceContext, loggerArg?: ILogger);
/**
* Save ACE configuration to ~/.config/ace/config.json (XDG-compliant)
* CLI-specific method - not part of core AceClient
*
* v3.8.1: Preserves existing orgs section and other fields
* v2.1.1: Fixed to use XDG config path instead of legacy ~/.ace/
*/
saveConfig(serverUrl: string, apiToken: string, projectId: string): Promise<void>;
}
export { AceClient };
//# sourceMappingURL=server-client.d.ts.map