Separate chat selectors from Files and More actions

This commit is contained in:
2026-11-07 02:49:44 +00:00
parent 9e6d55942f
commit e9d66af785
15 changed files with 353 additions and 200 deletions
+2
View File
@@ -157,3 +157,5 @@ The tree has an assets subfolder, a hidden folder, PNG/JPEG miniatures, text,
JSON, CSV, PDF, archive, log and video entries. Image/text/table/archive files
have bundled bytes; PDF and video entries demonstrate type labels and menus
only. Use the real server for their external handlers and playback acceptance.
Chat header grouping: `?chats=2&header=1` supplies a model and permission mode to the fixture chat so the selector island and Files/More island can both be reviewed.
+5
View File
@@ -75,6 +75,11 @@ JsonMap _chatRow(int i) {
'id': id,
'title': 'Fixture chat ${i + 1}',
'directory': '/workspace/demo',
if (_params['header'] == '1') ...{
'model': 'openai/gpt-6.1',
'mode': 'default',
'mode_name': 'Ask for permission',
},
// Server-shaped handoff facts (chat_sessions rows carry them).
if (_harness != 'opencode') 'backend': _harness,
'resume_command': _resumeCommand(id),