@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 1.06 kB
TypeScript
import { type Args } from "./args.ts";
import { type HelpFlagsScope } from "./help-flags-cache.ts";
export declare function isPlainHelpRequest(parsed: Args): boolean;
/**
* A help screen never prompts for project trust and never runs project-local extension code
* the user has not already trusted: only a recorded decision, or an explicit override, lets
* project resources in.
*/
export declare function resolveHelpProjectTrust(parsed: Args, cwd: string, agentDir: string): boolean;
export declare function helpFlagsScope(parsed: Args, cwd: string, agentDir: string, projectTrusted: boolean): HelpFlagsScope;
/**
* Answer `--help` before the engine module graph is imported.
*
* Returns false for every launch it cannot answer from what is already known - a non-plain help
* request, or a scope whose cached flags are missing or stale - and the normal startup path then
* resolves the flags and refills the cache.
*/
export declare function tryPrintHelpWithoutEngine(argv: readonly string[]): boolean;
//# sourceMappingURL=help-fast-path.d.ts.map