@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 +1 -1
- package/src/adapters/openclaw.js +7 -0
package/package.json
CHANGED
package/src/adapters/openclaw.js
CHANGED
|
@@ -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'));
|