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. 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.