This page lists the pkg:activity decl and pkg:agents decl blocks of the root contract. Both packages sign their requests with a time, so both carry clock state that only actions write.
Activity (lines 121-147)
Name | Kind | Meaning |
|---|---|---|
| state | Email draft and the account and server it was typed for |
| state |
|
| state | The stamp one action writes. |
| derive |
|
| resource | The signed inbox read. See Activity client |
| mutation, | Mark read and email settings |
| derive | The loaded page belongs to the current account and server |
| derive | The typed email when it belongs to this owner, else the saved one |
| derive | Message of a failed load |
| derive | Error of the last mutation, only if its page is for the current owner |
| task, |
|
| task, |
|
| task, |
|
| task, |
|
Agents (lines 148-207)
Name | Kind | Meaning |
|---|---|---|
| state, | Agents server URL, default |
| state | Throwaway account id set by the |
| state | Composer text, the optimistic bubble, and the row count when it was sent |
| state | New agent form |
| state | Server URL being edited |
| state |
|
| state | One second clock for run durations |
| state | How many pages of 50 sessions to load |
| state | Backoff bookkeeping |
| derive | Test account or |
| derive |
|
| derive | The last |
| resource | Health, agents, providers, one agent's detail and sessions |
| resource | Models of the chosen provider, only on |
| resource | The HTTP session snapshot |
| resource | The live transcript |
| resource | Run cards over HTTP |
| resource | The newest run tree, live |
| resource | Change counter for one agent |
| derive | Hides the optimistic bubble once the same text arrives as a row |
| derive | Merges HTTP runs with the live root run when owner, root and version agree |
| derive | Owner checks on each reply |
| derive | Errors of commands, runs, the server form and the provider form |
| mutation, | Every command |
| mutation, | URL normalization |
| mutation, | Mints the test identity |
| mutation, | Saves a model provider |
| task, keyed on the visit or provider |
|
| task, |
|
| task, |
|
| task, |
|
| task, |
|
| task, |
|
The agents rows are explained in depth in Agents: sources, Agents: streams and Agents: screens.
Related
State, refresh and stale-reply patterns: signed stamps, owner checks and task forms used here
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime