Skip to main content

tilo_actions/
task_step.rs

1//! What an agent's run is doing now, as the steps every run takes.
2//!
3//! A run reports its progress as a note on the task, and says each step once
4//! rather than on every poll. The steps are this vocabulary — looking
5//! something up on the web, reading a document, changing one — and the words
6//! a person reads are the agent's own catalogue's, in their language
7//! ("Editing Notes…", "Ändert Notizen…"), so nothing here is text on screen.
8
9/// One step of a run, as the person is told about it.
10#[derive(Clone, Debug, PartialEq, Eq)]
11pub enum TaskStep {
12    /// Searching the web, for what.
13    Searching(String),
14    /// Reading what an application holds, or a web page at that address: the
15    /// application's name or the page's address.
16    Reading(String),
17    /// Changing what an application holds; the application's name.
18    Editing(String),
19    /// Finding out what an application can do; the application's name.
20    Exploring(String),
21}