@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
28 lines • 1.12 kB
TypeScript
import type { Keybinding } from "../../../core/keybindings.ts";
import type { QuietStartup } from "../../../core/settings-manager.ts";
export interface StartupTipsSettings {
getTipsEnabled(): boolean;
getQuietStartup(): QuietStartup;
getTipsHistory(): Record<string, number>;
setTipShown(tipId: string, timestamp: number): void;
}
export interface StartupTipsOptions {
settings: StartupTipsSettings;
now: number;
modelReasoning: () => boolean;
hasCommand: (command: string) => boolean;
keys: (binding: Keybinding) => string;
displayKeys: (binding: Keybinding) => string;
}
export interface StartupTips {
text: string;
tipIds: string[];
}
/**
* The tip block under the startup header, recorded in the settings tip history
* as it is resolved. The one-time reasoning-level notice (senpi#3090) goes
* first; on the launch it shows, the rotating tip skips its own `thinking-level`
* entry so the two do not repeat each other.
*/
export declare function resolveStartupTips(options: StartupTipsOptions): StartupTips | undefined;
//# sourceMappingURL=startup-tips.d.ts.map