@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
22 lines • 1 kB
TypeScript
import type { ExtensionFlag, InlineExtension } from "../core/extensions/types.ts";
import type { SettingsManager } from "../core/settings-manager.ts";
export interface HelpExtensionFlagsResult {
readonly flags: ExtensionFlag[];
readonly extensionPaths: string[];
}
/**
* Load extensions for their CLI flags and nothing else.
*
* Help renders flag descriptors, so this deliberately skips every other resource class and the
* whole model/session stack that `createAgentSessionServices` would build: skills, prompt
* templates, themes and context files cannot register a flag.
*/
export declare function resolveHelpExtensionFlags(options: {
readonly cwd: string;
readonly agentDir: string;
readonly settingsManager: SettingsManager;
readonly additionalExtensionPaths: readonly string[];
readonly noExtensions: boolean;
readonly extensionFactories?: readonly InlineExtension[];
}): Promise<HelpExtensionFlagsResult>;
//# sourceMappingURL=help-extension-flags.d.ts.map