@eventmodelers/node-kit 0.0.10 → 0.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventmodelers/node-kit",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Real-time Claude agent that reacts to slice:changed events on an Eventmodelers board",
5
5
  "type": "module",
6
6
  "bin": {
@@ -138,23 +138,8 @@ async function start() {
138
138
  } catch (err) {
139
139
  console.error('[agent] Token refresh failed:', err);
140
140
  }
141
- }, 50 * 60 * 1000);
141
+ }, 10 * 60 * 1000);
142
142
 
143
- const ping = async () => {
144
- try {
145
- const res = await fetch(`${cfg.baseUrl}/api/agent-alive`, {
146
- method: 'POST',
147
- headers: { 'Authorization': `Bearer ${realtimeToken}`, 'Content-Type': 'application/json' },
148
- body: JSON.stringify({ token: cfg.token }),
149
- });
150
- if (!res.ok) console.error(`[agent] Ping failed: ${res.status}`);
151
- } catch (err) {
152
- console.error('[agent] Ping error:', err);
153
- }
154
- };
155
-
156
- await ping();
157
- setInterval(ping, 10 * 1000);
158
143
  }
159
144
 
160
145
  start().catch((err) => {