studyzy/dsh-suggest-prompt--packages-suggest-prompt1

@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 端用户。

パッケージ
@studyzy/dsh-suggest-prompt
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/13

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Configuration

FieldMeaning
maxInputBytesMaximum UTF-8 bytes in the final framed user prompt
maxOutputTokensAuxiliary generation output-token cap
timeoutMsEnd-to-end auxiliary request deadline in milliseconds
maxRecentTurnsTranscript tail keeps at most this many recent completed turns (default 1: only the last completed turn's user input and assistant final answer)
maxTranscriptCharsTranscript tail character budget before framing
maxSuggestionCharsVisible-character cap for the generated suggestion
provider / modelOptional explicit route pair; omit both to inherit the session's latest logged request header
acceptKeyComposer 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.