OpenClaw loads plugins on every CLI command (status, models auth add, config validate, etc.), not just gateway start. The plugin was starting LLM detection, daemon initialization, and API health checks immediately in the default export, causing unnecessary resource usage and terminal noise on routine CLI operations. Move all heavy initialization (detectLLMConfig, embedManager.start(), checkExternalApiHealth, client creation) into service.start() which is only called when the gateway starts. The default export now only does lightweight config parsing and service/hook registration. Hooks (before_prompt_build, agent_end) gracefully no-op when called before service.start() via the waitForReady guard. Closes #746 |
||
|---|---|---|
| .. | ||
| ag2 | ||
| agno | ||
| ai-sdk | ||
| chat | ||
| claude-code | ||
| codex | ||
| crewai | ||
| hermes | ||
| langgraph | ||
| litellm | ||
| llamaindex | ||
| nemoclaw | ||
| openclaw | ||
| pydantic-ai | ||
| strands | ||