@alfe.ai/integrations 0.0.9 → 0.0.11
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.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -290,8 +290,8 @@ interface IntegrationManifest {
|
|
|
290
290
|
config_schema: ConfigSchemaField[];
|
|
291
291
|
capabilities: string[];
|
|
292
292
|
hooks: IntegrationHooks;
|
|
293
|
-
/** Git repository URL (HTTPS
|
|
294
|
-
repository
|
|
293
|
+
/** Git repository URL (HTTPS) — not present in YAML, injected by the publish API */
|
|
294
|
+
repository?: string;
|
|
295
295
|
/**
|
|
296
296
|
* Agent runtimes this integration supports.
|
|
297
297
|
* If omitted or empty, the integration is considered universal (all runtimes).
|
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.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Integration lifecycle management for Alfe — registry, resolution, installation, and state",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@auriclabs/logger": "^0.1.1",
|
|
16
|
-
"@alfe.ai/integration-manifest": "^0.0.
|
|
16
|
+
"@alfe.ai/integration-manifest": "^0.0.4"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|