Add support for users to connect their own Nostr identities via NIP-46
remote signers (bunkers) so agents can post, react, and repost on their
behalf.
New features:
- Multi-account bunker connection management (bunker-store.ts)
- Event posting: notes (NIP-10), reactions (NIP-25), reposts (NIP-18),
long-form articles (NIP-23)
- 8 agent tools: nostr_connect, nostr_post, nostr_react, nostr_repost,
nostr_fetch, nostr_article, nostr_disconnect, nostr_status
- HTTP endpoints for bunker management via web UI
- bunkerAccounts array in config schema for multi-bunker support
- Shared pool utility for bunker tools
Excludes NIP-09 deletion for safety (no agent deletion capability).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add NIP-17 (Private Direct Messages) with NIP-59 (Gift Wrap) support
- Subscribe to both kind:4 (NIP-04) and kind:1059 (GiftWrap) events
- Use 48-hour lookback for NIP-17 due to randomized timestamps
- Add dmProtocol config option: "dual" (default), "nip17", or "nip04"
- Send replies using NIP-17 when dmProtocol is "dual" or "nip17"
- Pass raw message text without envelope formatting
- Fix pool.publish() calls (returns array of promises)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>