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
//! The session layer: one agent turn, its views, its record, and everything
//! it needs that is not the chat connection.
/// Fetches what a message carried into the project.
/// Every `!` command, who may run it, and what it says.
/// Answers the agent's delegation requests from disk.
/// What a session left on disk, and how much of it.
/// Everything a session reports, as one enum.
/// Reading the project from a thread.
/// What the host knows about a GitHub checkout.
/// Names a session and its sandbox.
/// Starts, resumes, and ends sessions.
/// Resolves what somebody typed to a model the provider serves.
/// Opens a pull request from what a session changed.
/// Which directory a session works in.
/// Where a session writes what it will outlive.
/// Scrubs secrets out of a session event.
/// Remembers threads across restarts.
/// The house rules every session is given.
/// One session: its turns, its commands, and its ending.
/// The append-only record of one session.
/// Delivers a session's output to every attached view.