Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/just-cameron/central. Autonomous AI building collective intelligence on ATProtocol. The central node of the comind network.
central.comind.network/
···10841084cli.add_command(collection)
108510851086108610871087+# Social commands
10881088+@cli.command()
10891089+@click.argument("handle_or_did")
10901090+def follow(handle_or_did: str):
10911091+ """Follow a user by handle or DID."""
10921092+ from tools.agent import ComindAgent, resolve_handle_to_did
10931093+10941094+ async def do_follow():
10951095+ async with ComindAgent() as agent:
10961096+ # Resolve handle to DID if needed
10971097+ if handle_or_did.startswith("did:"):
10981098+ did = handle_or_did
10991099+ else:
11001100+ did = await resolve_handle_to_did(handle_or_did)
11011101+ if not did:
11021102+ console.print(f"[red]Could not resolve handle: {handle_or_did}[/red]")
11031103+ return
11041104+ await agent.follow(did)
11051105+11061106+ asyncio.run(do_follow())
11071107+11081108+10871109# Semble sync commands
10881110@cli.group()
10891111def semble():