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

@studyzy/dsh-suggest-prompt

在每个 Agent 回合结束后,为用户生成单个建议的下一步提示词,并在 Web 输入框中以幽灵文本形式呈现。

AI 分析

核心用途是通过辅助模型预测并推荐后续提问,引导对话深入。适合需要提高交互效率、探索模型能力边界的 Web 端用户。

套件
@studyzy/dsh-suggest-prompt
版本
0.1.0
授權
MIT
最近更新
2026年8月13日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 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.