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 Analysis

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

Package
@studyzy/dsh-suggest-prompt
Version
0.1.0
License
MIT
Last updated
Aug 13, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.