Skip to content

toasty --install codex places notify under [windows] section instead of top-level in config.toml #43

@qqnbhhgw

Description

@qqnbhhgw

Bug Description

toasty --install codex adds the notify key under the [windows] TOML section in ~/.codex/config.toml, but according to the Codex configuration reference, notify must be a top-level key. Codex does not read notify from the [windows] section, so notifications never fire.

Current behavior (incorrect)

After running toasty --install codex, the generated config looks like:

[windows]
sandbox = "unelevated"
notify = ["MyPathToToasty", "Codex finished", "-t", "Codex", "--app", "codex"]

Codex ignores this notify entry entirely because it is nested under [windows].

Expected behavior

notify should be written at the top level:

notify = ["MyPathToToasty", "Codex finished", "-t", "Codex", "--app", "codex"]

[windows]
sandbox = "unelevated"

How to reproduce

  1. Install toasty on Windows
  2. Run toasty --install codex
  3. Inspect ~/.codex/config.tomlnotify is nested under [windows]
  4. Run a Codex task to completion — no toast notification appears

Environment

  • Codex CLI 0.114.0
  • Windows

Root cause

The Codex config installer in toasty is inserting notify into the wrong TOML section. The fix is to write notify as a top-level key, not under [windows].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions