@alfe.ai/gateway 0.0.11 → 0.0.12

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/health.js +10 -2
  2. package/package.json +2 -2
package/dist/health.js CHANGED
@@ -3755,9 +3755,12 @@ var ReconciliationEngine = class {
3755
3755
  log$2.info(`Installing ${id}@${desired.version}`);
3756
3756
  await this.manager.install(id, desired.version, desired.config);
3757
3757
  report.installed.push(id);
3758
+ log$2.info(`Activating ${id}`);
3759
+ await this.manager.activate(id);
3760
+ report.activated.push(id);
3758
3761
  report.results.push({
3759
3762
  integrationId: id,
3760
- action: "installed",
3763
+ action: "activated",
3761
3764
  actualStatus: "active"
3762
3765
  });
3763
3766
  return;
@@ -3770,9 +3773,12 @@ var ReconciliationEngine = class {
3770
3773
  } catch {}
3771
3774
  await this.manager.install(id, desired.version, desired.config);
3772
3775
  report.installed.push(id);
3776
+ log$2.info(`Activating ${id}`);
3777
+ await this.manager.activate(id);
3778
+ report.activated.push(id);
3773
3779
  report.results.push({
3774
3780
  integrationId: id,
3775
- action: "installed",
3781
+ action: "activated",
3776
3782
  actualStatus: "active"
3777
3783
  });
3778
3784
  return;
@@ -20283,6 +20289,8 @@ async function startDaemon() {
20283
20289
  ALFE_AGENT_ID: config.agentId,
20284
20290
  ANTHROPIC_BASE_URL: aiProxyUrl ?? "http://127.0.0.1:18193",
20285
20291
  OPENAI_BASE_URL: aiProxyUrl ?? "http://127.0.0.1:18193",
20292
+ ANTHROPIC_API_KEY: config.apiKey,
20293
+ OPENAI_API_KEY: config.apiKey,
20286
20294
  OPENCLAW_GATEWAY_TOKEN: runtimeToken
20287
20295
  }
20288
20296
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/gateway",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Alfe local gateway daemon — persistent control plane for agent integrations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "@alfe.ai/ai-proxy-local": "^0.0.2",
26
26
  "@alfe.ai/config": "^0.0.2",
27
27
  "@alfe.ai/doctor": "^0.0.2",
28
- "@alfe.ai/integrations": "^0.0.4"
28
+ "@alfe.ai/integrations": "^0.0.5"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/ws": "^8.5.13",