a digital person for bluesky

Update X tool registration to use x_config.yaml and remove user note tools

- Switch from config_loader.get_letta_config() to x.get_x_letta_config()
- Remove x_user_note_* tools from registration (attach/detach remain)
- Fixes X bot tool registration to use correct configuration file

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

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

+4 -30
+4 -30
register_x_tools.py
··· 5 5 from letta_client import Letta 6 6 from rich.console import Console 7 7 from rich.table import Table 8 - from config_loader import get_letta_config 8 + from x import get_x_letta_config 9 9 10 10 # Import standalone functions and their schemas 11 11 from tools.blocks import ( 12 - attach_x_user_blocks, detach_x_user_blocks, 13 - x_user_note_append, x_user_note_replace, x_user_note_set, x_user_note_view, 14 - AttachXUserBlocksArgs, DetachXUserBlocksArgs, 15 - XUserNoteAppendArgs, XUserNoteReplaceArgs, XUserNoteSetArgs, XUserNoteViewArgs 12 + attach_x_user_blocks, detach_x_user_blocks, 13 + AttachXUserBlocksArgs, DetachXUserBlocksArgs 16 14 ) 17 15 from tools.halt import halt_activity, HaltArgs 18 16 from tools.ignore import ignore_notification, IgnoreNotificationArgs ··· 29 27 # Import X search tool 30 28 from tools.search_x import search_x_posts, SearchXArgs 31 29 32 - letta_config = get_letta_config() 30 + letta_config = get_x_letta_config() 33 31 logging.basicConfig(level=logging.INFO) 34 32 logger = logging.getLogger(__name__) 35 33 console = Console() ··· 80 78 "args_schema": DetachXUserBlocksArgs, 81 79 "description": "Detach X user-specific memory blocks from the agent. Blocks are preserved for later use.", 82 80 "tags": ["memory", "blocks", "user", "x", "twitter"] 83 - }, 84 - { 85 - "func": x_user_note_append, 86 - "args_schema": XUserNoteAppendArgs, 87 - "description": "Append a note to an X user's memory block. Creates the block if it doesn't exist.", 88 - "tags": ["memory", "blocks", "user", "append", "x", "twitter"] 89 - }, 90 - { 91 - "func": x_user_note_replace, 92 - "args_schema": XUserNoteReplaceArgs, 93 - "description": "Replace text in an X user's memory block.", 94 - "tags": ["memory", "blocks", "user", "replace", "x", "twitter"] 95 - }, 96 - { 97 - "func": x_user_note_set, 98 - "args_schema": XUserNoteSetArgs, 99 - "description": "Set the complete content of an X user's memory block.", 100 - "tags": ["memory", "blocks", "user", "set", "x", "twitter"] 101 - }, 102 - { 103 - "func": x_user_note_view, 104 - "args_schema": XUserNoteViewArgs, 105 - "description": "View the content of an X user's memory block.", 106 - "tags": ["memory", "blocks", "user", "view", "x", "twitter"] 107 81 }, 108 82 109 83 # X thread tool