twindex-openclaw-plugin 0.8.0 → 0.8.1

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.
@@ -2,7 +2,7 @@
2
2
  "id": "twindex",
3
3
  "name": "New Lore",
4
4
  "description": "Music intelligence for AI agents. Get notified about tours, merch drops, releases, and presales for your favorite artists.",
5
- "version": "0.8.0",
5
+ "version": "0.8.1",
6
6
  "skills": ["./skills"],
7
7
  "configSchema": {
8
8
  "type": "object",
@@ -32,6 +32,10 @@
32
32
  "enum": ["telegram", "slack"],
33
33
  "default": "telegram",
34
34
  "description": "Delivery channel."
35
+ },
36
+ "city": {
37
+ "type": "string",
38
+ "description": "User's city. Tour notifications highlight shows near this city."
35
39
  }
36
40
  }
37
41
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twindex-openclaw-plugin",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Music intelligence for AI agents. Tours, merch drops, releases, presales.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -96,6 +96,17 @@ export default function register(api: any) {
96
96
  }
97
97
 
98
98
  persistConfig(updates);
99
+
100
+ // Set city if configured
101
+ if (config.city) {
102
+ try {
103
+ await twindex.setCity(apiKey, config.city);
104
+ api.logger?.info?.(`NewLore: city set to ${config.city}`);
105
+ } catch (err: any) {
106
+ api.logger?.warn?.(`NewLore: failed to set city: ${err.message}`);
107
+ }
108
+ }
109
+
99
110
  pollService.start();
100
111
  api.logger?.info?.(
101
112
  "NewLore: auto-bootstrap complete. Delivery via polling.",