feat: animated folds that hold their header, folded-by-default runs
- Rebuilt the fold after dsh-Go's ExpandReveal/_holdHeader: the body grows from its top edge and fades in over 280ms (easeInOutCubic), and every frame reports the height it adds or removes *before layout*, so the list can scroll by exactly that much and keep the header under the finger. Folds nobody can see take their new size without animating or dragging the view. - Finished runs now fold to their summary line, as in dsh-Go; running ones stay open. A tap overrides either default and is remembered. - Streamed tool parts only carry an id and input, never the tool name, so live steps showed a generic "工具" label. Each step now swaps in the server's copy of its message when it ends, which brings the name, the full input and the attachments (and with them the right icon, label and image handling). - getMessage read the message from the response envelope directly and would have thrown; it now unpacks `data`. Version 0.3.5 (code 305).
This commit is contained in:
1 parent
32277564f9
commit
d7cec9d155
7 files changed
+228
-76
No files matched your search
+1
-1
@@ -216,7 +216,7 @@ class Client {
|
||||
final r = await _json('GET',
|
||||
'/api/session/${Uri.encodeComponent(sessionId)}/message/${Uri.encodeComponent(messageId)}',
|
||||
directory: directory);
|
||||
return Message.fromJson(r);
|
||||
return Message.fromJson(r['data'] as Map<String, dynamic>);
|
||||
}
|
||||
|
||||
Future<List<ModelInfo>> models(String directory) async {
|
||||
|
||||
Reference in new issue
Block a user