Chat: create an unnamed chat without a title; 24-hour Send later picker; capture fixtures

The repository refused a blank title before sending it, so clearing the
Name failed with "Enter a chat name"; it now omits the title and only
requires a directory. The Send later time picker uses the 24-hour clock of
the Scheduled line. The capture fixture gains ?harnesses=1 (three
harnesses, two folders) and ?tables=1 (wrapping, long-token and too-wide
tables).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 20:10:47 +00:00
parent b1fcdcf2c3
commit 3cf6c5c0d5
5 changed files with 46 additions and 6 deletions
@@ -252,6 +252,11 @@ void main() {
'operation_id': 'create',
},
});
// No name: the harness names the chat, so no title is sent.
await repo.create(title: ' ', directory: '~', operationId: 'bare');
expect(gateway.calls.last.fields, {
'chat_create': {'directory': '~', 'operation_id': 'bare'},
});
await repo.selectModel('s', 'provider', 'model');
expect(gateway.calls.last.type, 'chat_model');
gateway.calls.clear();