Adds npm run assistant "question" command to test the LLM processing
without needing the Nostr connection.
Also:
- Add proper API key validation with clear error message
- Add debug logging (DEBUG=1) for troubleshooting
Usage:
export ANTHROPIC_API_KEY=sk-ant-...
npm run assistant "how do I see what my contacts are zapping"
https://claude.ai/code/session_01X4HWkMGrghBv2RfY89L5Lz
Adds a Nostr bot that listens for mentions in NIP-29 group chats and
helps users craft REQ queries for the Nostr protocol.
Features:
- Listens for @mentions in groups.0xchat.com'NkeVhXuWHGKKJCpn
- Uses Claude (via pi-ai SDK) to understand user questions
- Provides REQ command suggestions with explanations
- Tools to look up event kinds, NIPs, and their relationships
Stack: TypeScript, nostr-tools, @mariozechner/pi-ai
https://claude.ai/code/session_01X4HWkMGrghBv2RfY89L5Lz