WarUI

Plugin Dependencies, Ordering and Options

GRID-A26-F15P2beyond-baselinePlanned

Plugins can declare dependencies on other plugins, an execution order and typed options. The grid resolves the load order and reports missing or circular dependencies.

Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Three plugins with declared dependencies and a resolved order list.

Expected behavior

The resolved order is shown. A missing dependency prevents the dependent plugin from starting and reports the reason. Invalid options are rejected with clear messages.

Planned API surface

requiresbeforeafteroptionsSchemapluginDependencyError

Acceptance criteria

  • Topological ordering is respected for init, and the reverse order is used for dispose (pending)
  • Cycles are reported with the plugin ids involved (pending)
  • Options are validated against optionsSchema before init (pending)