Skip to content

[feat] assitant: Suggested follow-ups - #430

Open
curealb wants to merge 2 commits into
ThinkFlowLab:mainfrom
curealb:feat/assistant-reply-pills
Open

curealb wants to merge 2 commits into
ThinkFlowLab:mainfrom
curealb:feat/assistant-reply-pills

Conversation

@curealb

@curealb curealb commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Suggested replies stay visible beneath the latest completed assistant response while the user types. Selecting one fills an empty composer or replaces the text already there. Attachments, references and skills stay in the draft, and focus returns to the editor so the user can revise the suggestion or undo the replacement. Only Send or Enter submits the final draft.

All six runtimes receive the same instructions for an optional list of 3–5 suggestions. The frontend recognizes the final Markdown definition [opendirector-replies]: # and filters out individual suggestions longer than 80 characters. If the list is malformed or fewer than three eligible items remain, it displays the original list. The conversation keeps the original reply and tool offsets. Draft saving and turn submission use the existing paths.

Linked issue

#429

Labels

  • Apply type:feat, area:agent, area:harness, area:i18n and area:docs.

Test plan

  • Local automation. 20 Node tests and 29 Python conversation tests passed. Chrome verified draft replacement, undo, reload, and zero turn requests before Send, followed by one after. Clipboard checks covered invalid lists and literal markers in code blocks. The session test used real project storage and a model double.
  • Runtime prompts. CLI doubles verified first and resumed turns for all six runtimes across 10 two-turn cases. DeepSeek passed under Ubuntu 22.04 on WSL; on Windows it hit WinError 5 during lock-directory permission setup before the first prompt.
  • Ad hoc Chrome check. Verified the English draft flow, including editing, undo, reload, and manual sending.
  • Left to CI. Pre-commit over the PR diff, static/i18n/build checks, and the full Release checks.

Evidence that it works

In the current Chrome session test, the user selects a storyboard suggestion, adds an exclamation mark and presses Send. The saved user message contains the added punctuation. Before Send, selecting and editing the suggestion changed only the draft.
image
image

More examples from DeepSeek Harness and Codex

DeepSeek Harness
DeepSeek Harness suggestions beneath a fight-scene shot list
DeepSeek Harness suggestions for character development

Codex
Codex suggestions for a seaside-sunset description
image

Provider verification

Live models were tested on Default, Codex, and DeepSeek Harness with two prompts each (creative direction and image description). Default and Codex showed four suggestions for both prompts; DeepSeek Harness showed four and five respectively. Those runs predate the switch to draft editing.

For first-turn and resumed-turn prompt delivery, CLI doubles checked the received input across all six runtimes: stdin for Default, OpenCode, Codex, and Claude Code; the ACP session/prompt context block for DeepSeek; and the --run-jsonl request input for JiuwenSwarm. Live-provider verification for OpenCode, Claude Code, and JiuwenSwarm was not run.

Bilingual UI

  • Both locales include the accessible group name (“Suggested replies” / “建议回复”) and a tooltip describing the draft action. The English and Chinese user guides explain selection, editing, Undo and manual sending.

@github-actions github-actions Bot added area:agent Agent runtime, assistant chat and tools area:docs Documentation / 文档 area:harness Harness and skill integration (Default, OpenCode, Codex, Claude Code, Jiuwen, DSH) area:i18n Localisation and bilingual UI type:feat New capability or behaviour labels Nov 21, 2026
@github-actions
github-actions Bot requested review from FayeSpica and wuzhf9 November 21, 2026 20:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent runtime, assistant chat and tools area:docs Documentation / 文档 area:harness Harness and skill integration (Default, OpenCode, Codex, Claude Code, Jiuwen, DSH) area:i18n Localisation and bilingual UI type:feat New capability or behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant