a digital person for bluesky

Add tidy tool call display for archival_memory_insert

- Display archival memory insert content in Rich panel with preview
- Show success/error messages for archival memory insert results
- Consistent formatting with other tool calls

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

+20 -4
+20 -4
bsky.py
··· 461 461 console.print(tool_panel) 462 462 else: 463 463 log_with_panel(f"query: \"{query}\"", f"Tool call: {tool_name}", "blue") 464 + elif tool_name == 'archival_memory_insert': 465 + content = args.get('content', '') 466 + # Show a preview of the content being inserted 467 + content_preview = content[:100] + "..." if len(content) > 100 else content 468 + if USE_RICH: 469 + tool_panel = Panel( 470 + f"content={content_preview}", 471 + title=f"Tool call: {tool_name}", 472 + title_align="left", 473 + border_style="blue", 474 + padding=(0, 1) 475 + ) 476 + console.print(tool_panel) 477 + else: 478 + log_with_panel(f"content={content_preview}", f"Tool call: {tool_name}", "blue") 464 479 elif tool_name == 'update_block': 465 480 label = args.get('label', 'unknown') 466 481 value_preview = str(args.get('value', ''))[:50] + "..." if len(str(args.get('value', ''))) > 50 else str(args.get('value', '')) ··· 545 560 # Just show success for bluesky posts, the text was already shown in tool call 546 561 log_with_panel("Post queued successfully", f"Bluesky Post ✓", "green") 547 562 elif tool_name == 'archival_memory_insert': 548 - # Skip archival memory insert results (always returns None) 549 - pass 563 + # Show simple success for archival memory insert 564 + log_with_panel("Memory saved successfully", f"Tool result: {tool_name} ✓", "green") 550 565 elif tool_name == 'update_block': 551 566 log_with_panel("Memory block updated", f"Tool result: {tool_name} ✓", "green") 552 567 else: ··· 561 576 error_str = str(chunk.tool_return) if hasattr(chunk, 'tool_return') and chunk.tool_return else "Error occurred" 562 577 log_with_panel(error_str, f"Bluesky Post ✗", "red") 563 578 elif tool_name == 'archival_memory_insert': 564 - # Skip archival memory insert errors too 565 - pass 579 + # Show error details for archival memory insert 580 + error_str = str(chunk.tool_return) if hasattr(chunk, 'tool_return') and chunk.tool_return else "Error occurred" 581 + log_with_panel(error_str, f"Tool result: {tool_name} ✗", "red") 566 582 else: 567 583 error_preview = "" 568 584 if hasattr(chunk, 'tool_return') and chunk.tool_return: