Skip to content

Add option for the notification interval#92

Open
kecsap wants to merge 1 commit into
cortexkit:masterfrom
kecsap:master
Open

Add option for the notification interval#92
kecsap wants to merge 1 commit into
cortexkit:masterfrom
kecsap:master

Conversation

@kecsap
Copy link
Copy Markdown

@kecsap kecsap commented May 22, 2026

Summary by cubic

Adds a configurable toast duration for Magic Context notifications across the TUI. Propagates toast_duration_ms through RPC, status detail, and the TUI so all toasts use a single, consistent lifetime.

  • New Features

    • Added toast_duration_ms to config and schema (default 5000ms, 1000–60000).
    • Passed duration through notification params and ctx-status action; included in StatusDetail.
    • Exposed a toast-duration RPC; TUI loads a unified duration on startup and uses a showToast helper, with per-toast overrides when provided.
    • send-session-notification now enqueues RPC “toast” messages using the configured duration.
  • Migration

    • Optional: set toast_duration_ms in your config if you want longer or shorter toasts. Defaults to 5000ms.

Written for commit 3f1a681. Summary will update on new commits. Review in cubic

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 10 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread packages/plugin/src/tui/index.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant