@alfe.ai/integrations 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -893,6 +893,7 @@ var IntegrationManager = class {
|
|
|
893
893
|
}
|
|
894
894
|
if (plugins.length > 0 || skills.length > 0) this.lockManager.addEntries(runtimeName, integrationId, manifest.version, plugins, skills, installPath);
|
|
895
895
|
}
|
|
896
|
+
this.state.setStatus(integrationId, "active");
|
|
896
897
|
if (manifest.hooks.health_check) {
|
|
897
898
|
this.log.info(`Running health check: ${manifest.hooks.health_check}`);
|
|
898
899
|
const hookResult = await runHookWithContext(installPath, manifest.hooks.health_check, {
|
|
@@ -905,7 +906,6 @@ var IntegrationManager = class {
|
|
|
905
906
|
return this.err("HEALTH_CHECK_FAILED", `Health check failed (exit ${String(hookResult.exitCode)}): ${hookResult.stderr || hookResult.stdout}`);
|
|
906
907
|
}
|
|
907
908
|
}
|
|
908
|
-
this.state.setStatus(integrationId, "active");
|
|
909
909
|
this.log.info(`Integration "${integrationId}" activated`);
|
|
910
910
|
return {
|
|
911
911
|
ok: true,
|
package/package.json
CHANGED