@openagents-org/agent-launcher 0.2.54 → 0.2.55

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.54",
3
+ "version": "0.2.55",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -163,6 +163,13 @@ class OpenClawAdapter extends BaseAdapter {
163
163
 
164
164
  _runCliAgent(userMessage, channel) {
165
165
  return new Promise((resolve, reject) => {
166
+ // Re-check binary if not found at construction time (installed after daemon started)
167
+ if (!this._openclawBinary) {
168
+ this._openclawBinary = this._findOpenclawBinary();
169
+ if (this._openclawBinary) {
170
+ this._log(`OpenClaw binary found (late): ${this._openclawBinary}`);
171
+ }
172
+ }
166
173
  const binary = this._openclawBinary;
167
174
  if (!binary) {
168
175
  reject(new Error('OpenClaw binary not found'));