Skip to content

Hot reload TUI plugin configuration and local sources #37425

Description

@kitlangton

Parent

Related to #10899 and #6719.

What to build

Reconcile V2 TUI plugin configuration and watched local TUI plugin source changes without restarting the client.

The TUI plugin provider currently reads plugin configuration and calls reconcile() on mount. Explicit runtime activation and deactivation are live, but later Config-store changes do not rerun reconciliation and local plugin source files are not watched.

Acceptance criteria

  • Adding or enabling a TUI plugin activates it in the running client.
  • Removing or disabling a plugin runs cleanup and removes its routes, slots, commands, and themes.
  • Editing a watched local plugin replaces its generation without retaining stale registrations.
  • A failed replacement leaves a coherent previous or empty generation and can recover on the next valid save.
  • V2 TUI lifecycle tests cover activation, replacement, removal, cleanup, and recovery.

Blocked by

None - can start immediately.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions