studyzy/dsh-suggest-prompt--packages-suggest-prompt ↗★ 1
@studyzy/dsh-suggest-prompt
Generate a single suggested next prompt for the user after each completed agent turn, surfaced as ghost text in the web composer
AI 分析
核心用途是通过辅助模型预测并推荐后续提问,引导对话深入。适合需要提高交互效率、探索模型能力边界的 Web 端用户。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Configuration
| Field | Meaning |
|---|---|
maxInputBytes | Maximum UTF-8 bytes in the final framed user prompt |
maxOutputTokens | Auxiliary generation output-token cap |
timeoutMs | End-to-end auxiliary request deadline in milliseconds |
maxRecentTurns | Transcript tail keeps at most this many recent completed turns (default 1: only the last completed turn's user input and assistant final answer) |
maxTranscriptChars | Transcript tail character budget before framing |
maxSuggestionChars | Visible-character cap for the generated suggestion |
provider / model | Optional explicit route pair; omit both to inherit the session's latest logged request header |
acceptKey | Composer shortcut that accepts a displayed suggestion into the draft (Tab, Alt+Slash, Ctrl+Enter, ...); default Tab |
Omit both provider and model to inherit the exact route from the current logged main request, or set both to route suggestion generation independently. acceptKey is carried on every suggestion event and read by the web composer's ghost text.