erosolar-cli
Version:
Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning
27 lines • 1.03 kB
TypeScript
export interface InlineAgentConfig {
description?: string;
prompt?: string;
tools?: string | string[];
model?: string;
permissionMode?: string;
skills?: string | string[];
}
export type InlineAgentConfigMap = Record<string, InlineAgentConfig>;
/**
* Set inline agent config (from CLI flag or env). Values are normalized eagerly.
*/
export declare function setInlineAgentConfig(config: InlineAgentConfigMap | null): void;
/**
* Retrieve the current inline agent configuration.
*/
export declare function getInlineAgentConfig(): InlineAgentConfigMap | null;
/**
* Parse a JSON string into inline agent config, throwing a descriptive error on failure.
*/
export declare function parseInlineAgentConfig(json: string): InlineAgentConfigMap;
/**
* Load inline agent config from environment variables.
* Supports EROSOLAR_AGENTS as a JSON string.
*/
export declare function loadInlineAgentConfigFromEnv(env?: NodeJS.ProcessEnv): InlineAgentConfigMap | null;
//# sourceMappingURL=agentConfig.d.ts.map