UNPKG

@code-yeongyu/senpi

Version:

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

16 lines • 1.16 kB
/** * The editor shortcut that expands a pending async (waitForAnswer=false) * question into the full AskUserQuestionComponent: a rebindable keybinding * action plus the macOS Option-compose glyphs that stand in for it when the * terminal does not report Option as Alt. */ import { type KeybindingsManager, type KeyId } from "@earendil-works/pi-tui"; /** Rebindable action that expands the pending question, retaining the legacy Option-letter chord. */ export declare const ASK_USER_ANSWER_KEYBINDING = "app.question.answer"; /** Prefer the arrow chord, or the retained letter chord on terminals that commonly reserve it. */ export declare function askUserAnswerKeyHint(env?: NodeJS.ProcessEnv): string; /** Glyphs the bound `alt+<letter>` chords type on darwin when Option composes. */ export declare function darwinOptionGlyphs(keys: readonly KeyId[]): ReadonlySet<string>; /** True when `data` is the editor input that expands the pending question on `platform`. */ export declare function matchesAskUserAnswerKey(data: string, platform?: NodeJS.Platform, keybindings?: KeybindingsManager): boolean; //# sourceMappingURL=ask-user-answer-key.d.ts.map