Add ASCII logo, spinner during install, all packages core, fix tests

- ASCII art logo on website hero and OAuth callback page
- Clean spinner during postinstall instead of npm noise
- pi-session-search and pi-memory moved to core (13 packages)
- pi-generative-ui is the only optional package
- Alpha Hub callback page branded with Feynman logo

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Advait Paliwal
2026-03-23 22:33:35 -07:00
parent e73743d407
commit 7ef1ca2859
12 changed files with 97 additions and 38 deletions

View File

@@ -0,0 +1,26 @@
---
interface Props {
class?: string;
size?: 'nav' | 'hero';
}
const { class: className = '', size = 'hero' } = Astro.props;
const sizeClasses = size === 'nav'
? 'text-[4px] sm:text-[5px]'
: 'text-[6px] sm:text-[8px] md:text-[10px]';
---
<pre
class:list={[
'font-mono text-accent font-bold leading-[1.15] m-0 p-0 inline-block',
sizeClasses,
className,
]}
aria-label="Feynman"
>███████╗███████╗██╗ ██╗███╗ ██╗███╗ ███╗ █████╗ ███╗ ██╗
██╔════╝██╔════╝╚██╗ ██╔╝████╗ ██║████╗ ████║██╔══██╗████╗ ██║
█████╗ █████╗ ╚████╔╝ ██╔██╗ ██║██╔████╔██║███████║██╔██╗ ██║
██╔══╝ ██╔══╝ ╚██╔╝ ██║╚██╗██║██║╚██╔╝██║██╔══██║██║╚██╗██║
██║ ███████╗ ██║ ██║ ╚████║██║ ╚═╝ ██║██║ ██║██║ ╚████║
╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝</pre>

View File

@@ -1,5 +1,6 @@
---
import ThemeToggle from './ThemeToggle.astro';
import AsciiLogo from './AsciiLogo.astro';
interface Props {
active?: 'home' | 'docs';
@@ -10,7 +11,9 @@ const { active = 'home' } = Astro.props;
<nav class="sticky top-0 z-50 bg-bg">
<div class="max-w-6xl mx-auto px-6 h-14 flex items-center justify-between">
<a href="/" class="text-xl font-bold text-accent tracking-tight">Feynman</a>
<a href="/" class="hover:opacity-80 transition-opacity" aria-label="Feynman">
<AsciiLogo size="nav" />
</a>
<div class="flex items-center gap-6">
<a href="/docs/getting-started/installation"
class:list={["text-sm transition-colors", active === 'docs' ? 'text-text-primary' : 'text-text-muted hover:text-text-primary']}>