diff --git a/CLAUDE.md b/CLAUDE.md index 1221319..0f45df3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,6 +6,14 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co Wrystr is a cross-platform Nostr desktop client built with Tauri 2.0 (Rust) + React + TypeScript. It connects to Nostr relays via NDK (Nostr Dev Kit) and aims for Telegram Desktop-quality UX. Long-form content (NIP-23) is a first-class, distinguishing feature — not an afterthought. +## AgentDocs + +When the user shares an AgentDocs URL, fetch the raw content using: +``` +curl https://agentdocs.exe.xyz/api/shared//raw +``` +The `` is the hash at the end of the shared URL. This returns the document as plain text/markdown with embedded image references. + ## Commands ```bash diff --git a/src/components/feed/ComposeBox.tsx b/src/components/feed/ComposeBox.tsx index daff435..fc1417d 100644 --- a/src/components/feed/ComposeBox.tsx +++ b/src/components/feed/ComposeBox.tsx @@ -229,7 +229,7 @@ export function ComposeBox({ onPublished, onNoteInjected }: { onPublished?: () =

{error}

)} -
+
{uploading ? ( @@ -241,7 +241,7 @@ export function ComposeBox({ onPublished, onNoteInjected }: { onPublished?: () = (draft) )} -
+
-
+