openclaw-superpowers-plugin 1.0.2 → 1.0.3
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/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -128,12 +128,12 @@ module.exports = {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
if (action === 'install') {
|
|
131
|
-
const result = vendorApi.install();
|
|
131
|
+
const result = await vendorApi.install();
|
|
132
132
|
return { text: JSON.stringify(result, null, 2) };
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
if (action === 'update') {
|
|
136
|
-
const result = vendorApi.update();
|
|
136
|
+
const result = await vendorApi.update();
|
|
137
137
|
return { text: JSON.stringify(result, null, 2) };
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -190,7 +190,7 @@ module.exports = {
|
|
|
190
190
|
additionalProperties: false
|
|
191
191
|
},
|
|
192
192
|
async execute() {
|
|
193
|
-
const result = vendorApi.install();
|
|
193
|
+
const result = await vendorApi.install();
|
|
194
194
|
return textResult(JSON.stringify(result, null, 2), result);
|
|
195
195
|
}
|
|
196
196
|
});
|
|
@@ -205,7 +205,7 @@ module.exports = {
|
|
|
205
205
|
additionalProperties: false
|
|
206
206
|
},
|
|
207
207
|
async execute() {
|
|
208
|
-
const result = vendorApi.update();
|
|
208
|
+
const result = await vendorApi.update();
|
|
209
209
|
return textResult(JSON.stringify(result, null, 2), result);
|
|
210
210
|
}
|
|
211
211
|
});
|