@openagents-org/agent-launcher 0.2.131 → 0.2.132

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.2.131",
3
+ "version": "0.2.132",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -90,6 +90,19 @@ class BaseAdapter {
90
90
  this._log(`Warning: join failed: ${e.message} \nStack: ${e.stack}`);
91
91
  }
92
92
 
93
+ // Sync workspace-managed skills into disabledModules
94
+ try {
95
+ const agents = await this.client.getAgents(this.workspaceId, this.token);
96
+ const self = agents.find((a) => a.agentName === this.agentName);
97
+ if (self && self.enabledSkills) {
98
+ const { skillsToDisabledModules } = require('../skill-catalog');
99
+ this.disabledModules = skillsToDisabledModules(self.enabledSkills);
100
+ this._log(`Synced skills from workspace: disabled=[${[...this.disabledModules].join(',')}]`);
101
+ }
102
+ } catch (e) {
103
+ this._log(`Warning: skill sync failed (non-fatal): ${e.message}`);
104
+ }
105
+
93
106
  // Fast-path operations (control-event cursor + heartbeat + control poll)
94
107
  // run BEFORE the message-cursor advance. Even though _skipExistingEvents
95
108
  // is fast on a healthy backend, we don't want slash commands gated on