@alfe.ai/integrations 0.0.5 → 0.0.6

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 +11 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1161,7 +1161,7 @@ var IntegrationManager = class {
1161
1161
  /**
1162
1162
  * OpenClawApplier — applies plugins, skills, and config to the OpenClaw runtime.
1163
1163
  *
1164
- * Plugins are installed via `pnpm add` in the OpenClaw workspace directory.
1164
+ * Plugins are installed via `npm install` in the OpenClaw workspace directory.
1165
1165
  * Skills are copied to ~/.alfe/skills/{name}.
1166
1166
  * Config is deep-merged into the OpenClaw agent config, with per-integration
1167
1167
  * tracking so changes can be cleanly removed on deactivation.
@@ -1193,16 +1193,18 @@ var OpenClawApplier = class {
1193
1193
  this.configPath = options.configPath ?? join(this.workspace, "config.json");
1194
1194
  }
1195
1195
  async applyPlugin(pkg) {
1196
- await execFileAsync("pnpm", ["add", pkg], {
1197
- cwd: this.workspace,
1198
- timeout: 6e4
1199
- });
1196
+ await execFileAsync("openclaw", [
1197
+ "plugins",
1198
+ "install",
1199
+ pkg
1200
+ ], { timeout: 6e4 });
1200
1201
  }
1201
1202
  async removePlugin(pkg) {
1202
- await execFileAsync("pnpm", ["remove", pkg], {
1203
- cwd: this.workspace,
1204
- timeout: 3e4
1205
- });
1203
+ await execFileAsync("openclaw", [
1204
+ "plugins",
1205
+ "uninstall",
1206
+ pkg
1207
+ ], { timeout: 3e4 });
1206
1208
  }
1207
1209
  applySkill(name, srcPath) {
1208
1210
  if (!existsSync(srcPath)) throw new Error(`Skill source path not found: ${srcPath}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/integrations",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Integration lifecycle management for Alfe — registry, resolution, installation, and state",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",