Commit Graph

5 Commits

Author SHA1 Message Date
Iris Deploy
cdba4f6791 ndr: close existing bus before restart to prevent duplicate listeners
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-28 11:43:54 +01:00
Iris Deploy
01e03d8938 ndr: remove privateKey from clawdbot config
ndr manages its own identity in its config.json - no need for
clawdbot to know or store the private key.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-28 08:58:03 +01:00
Iris Deploy
fb2d16218b ndr: resolve npub to chat_id for outbound messages
When sending messages to an npub, the plugin now:
- Converts npub bech32 to hex pubkey
- Looks up the chat list to find matching their_pubkey
- Returns the chat_id for the actual send

Includes helpful error message listing available chats if
the pubkey isn't found.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-28 08:07:42 +01:00
Iris Deploy
37a724e041 ndr: add inbound media support via htree
- Add media.ts helper module to detect and download nhash URLs
- Auto-download nhash1.../filename.ext URLs in incoming messages
- Pass MediaPath/MediaType/MediaUrl to inbound context
- Enable media capability flag

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-27 12:51:44 +01:00
Iris Deploy
e954a55f1f feat(ndr): add NDR channel plugin for nostr-double-ratchet
Adds NDR (Nostr Double Ratchet) as a channel extension providing
forward-secure E2E encrypted messaging over Nostr relays.

Features:
- Full channel implementation with send/receive/react
- Onboarding flow with invite URL acceptance and hello message
- Auto-generated identity if not configured
- Configurable relays (defaults to popular Nostr relays)
- Owner pubkey authentication for message filtering

Requires external `ndr` CLI (cargo install ndr).

Control surface: chat.iris.to

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-27 12:09:26 +01:00