Compare commits

...
Author SHA1 Message Date
luccast f5eb110123 docs: add comment about cumulative delta behavior 2026-01-28 09:32:07 -05:00
Ubuntu 9181d11047 fix: replace streaming content instead of appending
Clawdbot gateway sends cumulative text with each delta event
(full message so far), not incremental characters. The previous
append logic caused duplicated/garbled text in chat nodes.
2026-01-27 17:55:28 +00:00
luccast 2155d0cffa Update references from Clawdbot to Moltbot in documentation and UI
- Changed "Clawdbot" to "Moltbot (Clawdbot)" in CLAUDE.md and README.md for consistency.
- Updated the title in the Home component to reflect the new naming convention.
2026-01-27 10:27:07 -05:00
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ Full-stack React app using TanStack Start (file-based routing, SSR).
**TanStack DB pattern:** Create collections, use `useLiveQuery()` for reactive reads, `createTransaction()` for writes.
## Clawdbot Monitor
## Moltbot (Clawdbot) Monitor
Real-time agent activity monitor at `/monitor`.
+1 -1
View File
@@ -1,6 +1,6 @@
# 🦀 Crabwalk
Real-time companion monitor for [Clawdbot](https://github.com/clawdbot/clawdbot) agents by [@luccasveg](https://x.com/luccasveg).
Real-time companion monitor for [Moltbot (Clawdbot)](https://github.com/moltbot/moltbot) agents by [@luccasveg](https://x.com/luccasveg).
Watch your AI agents work across WhatsApp, Telegram, Discord, and Slack in a live node graph. See thinking states, tool calls, and response chains as they happen.
+2 -2
View File
@@ -67,10 +67,10 @@ export function addAction(action: MonitorAction) {
const streamingId = `${action.runId}-stream`
const existing = actionsCollection.state.get(streamingId)
if (existing) {
// Append content and update sessionKey if we learned it
// Replace content (gateway sends cumulative text, not incremental deltas)
actionsCollection.update(streamingId, (draft) => {
if (action.content) {
draft.content = (draft.content || '') + action.content
draft.content = action.content
}
draft.seq = action.seq
draft.timestamp = action.timestamp
+1
View File
@@ -60,6 +60,7 @@ export interface PresenceEntry {
}
// Chat events
// Note: gateway sends cumulative message content with each delta, not incremental chars
export interface ChatEvent {
runId: string
sessionKey: string
+1 -1
View File
@@ -122,7 +122,7 @@ function Home() {
transition={{ duration: 0.5, delay: 0.3 }}
className="font-console font-bold text-lg text-gray-400 mb-4 tracking-wide uppercase"
>
Open-Source Clawdbot Companion
Open-Source Moltbot (Clawdbot) Companion
</motion.p>
{/* Console-style description */}