@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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/integrations",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Integration lifecycle management for Alfe — registry, resolution, installation, and state",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",