Skip to content

Compatibility and environment variables ​

Reference for manifest versions, SDK compatibility, and core platform environment variables.

Plugin manifest version ​

Set "api_version": "v1" in manifest.json. Other values are rejected before Python import.

Dependency declarations ​

Each entry in dependencies defines:

  • id: target plugin ID;
  • version: SemVer range (for example, "^1.0.0");
  • optional: boolean (default false). When true, the plugin starts even if the provider is disabled and looks up services via context.try_get_service(...).

Console and @reliaforge/plugin-sdk ​

The console consumes /api/v1 and loads ESM UI modules when frontend.ui_mode is "esm". Build custom plugin workspaces against @reliaforge/plugin-sdk ^1.1.0 so shared React globals, tokens, and drawers align with the host console.

Core platform environment variables ​

VariableDefaultPurpose
RELIAFORGE_ENVIRONMENTdevelopmentdevelopment, test, or production
RELIAFORGE_HOST / RELIAFORGE_PORT127.0.0.1 / 8000Bind address and port
RELIAFORGE_AUTH_MODEdevelopmentdevelopment (loopback only) or proxy
RELIAFORGE_CONSOLE_DIRunsetServe built React console dist/ from the backend process
RELIAFORGE_PLUGIN_PATHSunsetComma-separated parent directories of local plugins
RELIAFORGE_PLUGIN_ENTRY_POINTStrueDiscover installed reliaforge.plugins Python entry points
RELIAFORGE_ENABLED_PLUGINSunsetOptional JSON allowlist of plugin IDs to load
RELIAFORGE_DISABLED_PLUGINSunsetOptional JSON denylist of plugin IDs to skip

Plugin-specific variables use RELIAFORGE_<PLUGIN_ID>_<FIELD> with __ for nested fields. Restarting a plugin reloads its environment settings; changing Python code, JS bundles, or manifest.json requires restarting the backend process.

Released under the MIT License.