refactor(plugin): remove fallback sidecar autostart

This commit is contained in:
zhi
2026-03-20 06:42:45 +00:00
parent 55b17e35ea
commit de4ef87491

View File

@@ -162,13 +162,6 @@ export default function register(api: PluginAPI, rawConfig: PluginConfig | Plugi
process.on('SIGTERM', stopSidecar);
process.on('SIGINT', stopSidecar);
// Start immediately if Gateway is already running
if (api.isRunning?.()) {
startSidecar();
} else {
setTimeout(() => startSidecar(), 1000);
}
// Register status tool
api.registerTool(() => ({
name: 'harborforge_monitor_status',