Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 598 Bytes

File metadata and controls

38 lines (28 loc) · 598 Bytes

Agent opt-in runtime

The Agent Bridge is disabled by default:

agent:
  enabled: false

When disabled:

no AgentManager
no /easyagent command
no heartbeat task
no PubSub polling task
no Agent placeholders
no Agent runtime events

To enable the bridge, set:

agent:
  enabled: true

Then restart PMMP. The bridge is intentionally restart-level opt-in so a normal EasyLibrary install stays lightweight.

Consumer plugins should always use a fallback guard:

use imperazim\agent\api\AgentRuntimeAPI;

if(!AgentRuntimeAPI::isAvailable()){
    return;
}