Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ as well, see [On your phone, too](#on-your-phone-too).

If you run your local services with [LaunchX](https://github.com/AutoPhd-org/launchx), register this repository with
`lx add` and the workspace becomes one of them: `rmd web` then hands over to
`lx open rmd`, and scripts and agents can read and change it over HTTP. See
[LaunchX](https://autophd-org.github.io/schedule-everything/docs/advanced/launchx).
`lx open rmd`, and scripts and agents can read and change it over HTTP. Allow
it to use LaunchX's shared memory (`lx memory access rmd write`) and it keeps
your routine and upcoming deadlines on the memory's `schedule` page for your
other apps and agents, and Suggest reads your profile and preferences from it.
See [LaunchX](https://autophd-org.github.io/schedule-everything/docs/advanced/launchx).

## The browser workspace

Expand Down Expand Up @@ -194,8 +197,9 @@ run `rmd mode j|p`.
OpenAI-compatible service (OpenAI, OpenRouter, a local Ollama), in
**Settings → AI suggestions**. **Suggest** on the board then asks that model
for a few tasks you are likely to need, from your open tasks, deadlines,
today's schedule, habits, recent work, and profile. Its ideas wait on the
board as suggestions, like an agent's.
today's schedule, habits, recent work, and profile, and, under LaunchX with
your permission, the profile and preferences in its shared memory. Its ideas
wait on the board as suggestions, like an agent's.
- **Timers.** Dials above the board count down to timed tasks due by tonight
(overdue ones count up) and to deadlines in their last 24 hours. One bar
shows the progress of today's timed work, optionally weighted by importance.
Expand Down Expand Up @@ -271,7 +275,8 @@ your fitness history and metrics stand on their own.
### Settings

Plugins; board, workload, and progress preferences; reminder preferences; task and
deadline types; and an editor for your configuration files that checks every
deadline types; the model Suggest asks; under LaunchX, what the workspace may do
with your shared memory; and an editor for your configuration files that checks every
save with the same rules as `rmd check` and refuses to overwrite newer edits.

### On your phone, too
Expand Down
6 changes: 5 additions & 1 deletion crates/rmd/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,11 @@ impl ScheduleConfig {

/// Whether `date` falls on one of the configured `skip_days`.
pub fn should_skip_date(&self, date: chrono::NaiveDate) -> bool {
let weekday = py::weekday_name(date);
self.skips_weekday(py::weekday_name(date))
}

/// Whether `weekday` (`"monday"`, ...) is one of the configured `skip_days`.
pub fn skips_weekday(&self, weekday: &str) -> bool {
match self.settings.get("skip_days") {
Some(Value::Array(days)) => days.iter().any(|d| d.as_str() == Some(weekday)),
Some(Value::String(days)) => !days.is_empty() && days.contains(weekday),
Expand Down
1 change: 1 addition & 0 deletions crates/rmd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub mod commands;
pub mod conferences;
pub mod install_config_wizard;
pub mod launchx;
pub mod memory;
pub mod opener;
pub mod plugins;
pub mod popups;
Expand Down
Loading
Loading