I think nostr:npub1ftt05tgku25m2akgvw6v7aqy5ux5mseqcrzy05g26ml43xf74nyqsredsh has already implemented this for this purpose
Discussion
Yep. AI chat history is now live on https://chat.routstr.com
Here’s the implementation of the NIP: https://github.com/Routstr/routstr-chat/blob/main/hooks/useChatSync1081.ts
I’ll also do a PR to the nip to add kind 1081 for optionally storing nsecs instead of only doing it locally.