UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

23 lines • 1 kB
import type { ExtensionFlag } from "../core/extensions/types.ts"; export interface HelpFlagsScope { readonly cwd: string; readonly agentDir: string; readonly cliExtensionPaths: readonly string[]; readonly noExtensions: boolean; readonly projectTrusted: boolean; } /** * Flags a previous run resolved for this exact scope, or `undefined` when anything that feeds * extension discovery changed. Never throws: a help screen must not depend on its own cache. */ export declare function readHelpFlagsCache(scope: HelpFlagsScope): ExtensionFlag[] | undefined; /** * Record the flags a full extension load produced. Failure is silent by contract: this runs on * the startup path, where a cache write must never be the reason a launch fails. */ export declare function writeHelpFlagsCache(options: { readonly scope: HelpFlagsScope; readonly flags: readonly ExtensionFlag[]; readonly extensionPaths: readonly string[]; }): void; //# sourceMappingURL=help-flags-cache.d.ts.map