openclaw-glance-plugin 0.1.6 → 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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "id": "glance-bridge",
2
+ "id": "openclaw-glance-plugin",
3
3
  "skills": ["./skills"],
4
4
  "configSchema": {
5
5
  "type": "object",
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "openclaw-glance-plugin",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "OpenClaw plugin client for ticker-monitor openclaw-bridge",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
- "openclaw.extensions": ["./index.js"],
7
+ "openclaw": {
8
+ "extensions": ["./index.js"]
9
+ },
8
10
  "exports": {
9
11
  ".": "./index.js",
10
12
  "./sdk": "./src/index.js"
@@ -188,11 +188,15 @@ function registerControlTools(api, controlApi) {
188
188
  }
189
189
 
190
190
  const plugin = {
191
- id: 'glance-bridge',
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-bridge] runtime start failed: ${err.message}`);
211
+ api?.runtime?.logger?.error?.(`[openclaw-glance-plugin] runtime start failed: ${err.message}`);
208
212
  });
209
213
 
210
214
  const controlApi = buildControlApi(startupPromise);