Skip to content

Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.

fix(daemon): accurate urgent count + marketplace.json trailing newline (#179)

blocksorg[bot]3c302160e7e1
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index ab3e348b..87ff7876 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -38,4 +38,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/claude-ops/scripts/ops-daemon.sh b/claude-ops/scripts/ops-daemon.sh
index e582bca9..9cb40e3d 100755
--- a/claude-ops/scripts/ops-daemon.sh
+++ b/claude-ops/scripts/ops-daemon.sh
@@ -628,13 +628,12 @@ try:
WHERE m.is_from_me = 0
AND m.timestamp >= datetime('now','-4 hours')
ORDER BY m.timestamp DESC
- LIMIT 5
''').fetchall()
if rows:
with open('$URGENT_FILE','w') as f:
json.dump({
'urgent_count': len(rows),
- 'messages': [{'from': r[1], 'text': (r[2] or '')[:100], 'ts': r[3]} for r in rows]
+ 'messages': [{'from': r[1], 'text': (r[2] or '')[:100], 'ts': r[3]} for r in rows[:5]]
}, f, indent=2)
con.close()
except Exception: