openclaw-glance-plugin 0.1.7 → 0.1.8
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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/plugin/index.js +6 -2
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/plugin/index.js
CHANGED
|
@@ -188,11 +188,15 @@ function registerControlTools(api, controlApi) {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
const plugin = {
|
|
191
|
-
id: 'glance-
|
|
191
|
+
id: 'openclaw-glance-plugin',
|
|
192
192
|
name: 'Glance Bridge Tools',
|
|
193
193
|
description: 'OpenClaw tool plugin with bridge long connection runtime',
|
|
194
194
|
register(api) {
|
|
195
195
|
const pluginConfig =
|
|
196
|
+
api?.config?.plugins?.entries?.['openclaw-glance-plugin']?.config ||
|
|
197
|
+
api?.config?.plugins?.entries?.openclawGlancePlugin?.config ||
|
|
198
|
+
api?.config?.plugins?.['openclaw-glance-plugin']?.config ||
|
|
199
|
+
api?.config?.plugins?.openclawGlancePlugin?.config ||
|
|
196
200
|
api?.config?.plugins?.entries?.['glance-bridge']?.config ||
|
|
197
201
|
api?.config?.plugins?.entries?.glanceBridge?.config ||
|
|
198
202
|
api?.config?.plugins?.['glance-bridge']?.config ||
|
|
@@ -204,7 +208,7 @@ const plugin = {
|
|
|
204
208
|
pluginConfig
|
|
205
209
|
});
|
|
206
210
|
startupPromise.catch((err) => {
|
|
207
|
-
api?.runtime?.logger?.error?.(`[glance-
|
|
211
|
+
api?.runtime?.logger?.error?.(`[openclaw-glance-plugin] runtime start failed: ${err.message}`);
|
|
208
212
|
});
|
|
209
213
|
|
|
210
214
|
const controlApi = buildControlApi(startupPromise);
|