twindex-openclaw-plugin 0.8.4 → 0.8.5
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/poll-service.ts +2 -1
package/openclaw.plugin.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "0.8.5",
|
|
6
6
|
"skills": ["./skills"],
|
|
7
7
|
"configSchema": {
|
|
8
8
|
"type": "object",
|
package/package.json
CHANGED
package/src/poll-service.ts
CHANGED
|
@@ -14,6 +14,7 @@ const FREQUENCY_MS: Record<string, number> = {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
const INITIAL_POLL_DELAY_MS = 15 * 1000;
|
|
17
|
+
const MESSAGE_SEND_TIMEOUT_MS = 30 * 1000;
|
|
17
18
|
|
|
18
19
|
function sendMessage(
|
|
19
20
|
message: string,
|
|
@@ -24,7 +25,7 @@ function sendMessage(
|
|
|
24
25
|
execFile(
|
|
25
26
|
"openclaw",
|
|
26
27
|
["message", "send", "--channel", channel, "--target", target, "-m", message],
|
|
27
|
-
{ timeout:
|
|
28
|
+
{ timeout: MESSAGE_SEND_TIMEOUT_MS },
|
|
28
29
|
(err, stdout, stderr) => {
|
|
29
30
|
if (!err) {
|
|
30
31
|
resolve({ ok: true });
|