1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! The generation in flight on a conversation being activated
//! (docs/history/subagent-live.md §3.4–§3.5, §8): which turn and which stream
//! the feed resumes, and the round so far — text, thoughts, the tool calls it
//! has opened — so a feed opened mid-round starts with what has already
//! streamed. Plain data the orchestrator snapshots and the chat screen seeds
//! itself from; defined here, below both, and re-exported by `app::events`
//! beside `AppEvent::ChatActivated` (docs/architecture.md §2,
//! docs/research/fsd-layer-gate.md).
use Uuid;
use crateMessageRole;
/// The generation running on the conversation being activated
/// ([`AppEvent::ChatActivated::live_turn`](crate::app::events::AppEvent::ChatActivated)).
/// A round in progress (see [`LiveTurn::partial`]): its text and thoughts
/// so far, and the tool calls it has opened — running or already answered —
/// which are not in any filed message yet.
/// One tool call of a round in progress (see [`LivePartial::tools`]).