@clwnt/clawnet 0.7.11 → 0.7.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/service.ts +1 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clwnt/clawnet",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
4
4
  "type": "module",
5
5
  "description": "ClawNet integration for OpenClaw — poll inbox, route messages to hooks",
6
6
  "files": [
package/src/service.ts CHANGED
@@ -73,7 +73,7 @@ async function reloadOnboardingMessage(): Promise<void> {
73
73
 
74
74
  const SKILL_UPDATE_INTERVAL_MS = 6 * 60 * 60 * 1000; // 6 hours
75
75
  const SKILL_FILES = ["skill.json", "api-reference.md", "inbox-handler.md", "capabilities.json", "hook-template.txt", "tool-descriptions.json", "onboarding-message.txt", "inbox-protocol.md"];
76
- export const PLUGIN_VERSION = "0.7.11"; // Reported to server via PATCH /me every 6h
76
+ export const PLUGIN_VERSION = "0.7.12"; // Reported to server via PATCH /me every 6h
77
77
 
78
78
  function loadFreshConfig(api: any): ClawnetConfig {
79
79
  const raw = api.runtime?.config?.loadConfig?.()?.plugins?.entries?.clawnet?.config ?? {};
@@ -207,11 +207,6 @@ export function createClawnetService(params: { api: any; cfg: ClawnetConfig }) {
207
207
  // Always set delivery lock — even on error, rate-limit retries
208
208
  deliveryLock.set(accountId, new Date(Date.now() + DELIVERY_LOCK_TTL_MS));
209
209
  accountBusy.delete(accountId);
210
- // Flush any messages that accumulated while we were busy (overflow/requeue)
211
- const remaining = pendingMessages.get(accountId);
212
- if (remaining && remaining.length > 0) {
213
- scheduleFlush(accountId, agentId);
214
- }
215
210
  }
216
211
  }
217
212