Add NIP-89 kind 31990 app management for projects

- AppDialog with app preview card, Blossom icon upload, and collapsible advanced section
- AppTool for AI to view/update app with view-before-update guard
- Shared buildAppEvent utility for DRY event construction
- Auto-fill website from deployment URL, default name from project ID
- Add repo 'a' tag when origin is a nostr:// URI owned by the user
- Custom tool call rendering with AppWindow icon
- System prompt guidance for app publishing workflow and prerequisites
- Store app coordinate in .git/shakespeare/app.json via DotAI
This commit is contained in:
Alex Gleason committed 2026-04-02 01:36:15 -05:00
1 parent ed40469af4
commit ed55e600d4
10 files changed
+1152 -2

No files matched your search

+12
View File
@@ -14,6 +14,7 @@ import {
ChevronDown,
Trash2,
Star,
AppWindow,
} from 'lucide-react';
import { cn } from '@/lib/utils';
import { useLocalStorage } from '@/hooks/useLocalStorage';
@@ -27,6 +28,7 @@ interface ProjectTitleMenuProps {
onDuplicate: () => void;
onDelete: () => void;
onProjectDetails: () => void;
onApp: () => void;
isAnyLoading: boolean;
className?: string;
}
@@ -39,6 +41,7 @@ export function ProjectTitleMenu({
onDuplicate,
onDelete,
onProjectDetails,
onApp,
isAnyLoading,
className = '',
}: ProjectTitleMenuProps) {
@@ -98,6 +101,15 @@ export function ProjectTitleMenu({
Project Details
</DropdownMenuItem>
<DropdownMenuItem
onClick={onApp}
disabled={isAnyLoading}
className="gap-2"
>
<AppWindow className="h-4 w-4" />
App
</DropdownMenuItem>
<DropdownMenuItem
onClick={onGitHistory}
disabled={isAnyLoading}