@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 +1 -1
- package/src/adapters/base.js +13 -0
- package/src/adapters/claude.js +334 -274
- package/src/adapters/workspace-prompt.js +54 -4
- package/src/cli.js +85 -0
- package/src/daemon.js +12 -3
- package/src/index.js +11 -0
- package/src/mcp-server.js +255 -88
- package/src/skill-catalog.js +125 -0
- package/src/update-check.js +5 -25
- package/src/workspace-client.js +69 -0
package/package.json
CHANGED
package/src/adapters/base.js
CHANGED
|
@@ -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
|