feat(app): redesign magazine grid, improve article views and proxy
- Redesign MagazineGrid with editorial New Yorker-inspired layout - Simplify ArticleDetail and ArticleOverlay components - Enhance claude-proxy with improved content extraction - Add HTML utility for content processing - Update NewsCard styling and chat message handling - Clean up worktree references Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
b71c88f03b
commit
c82b4ef54f
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bash
|
||||
# Start Claude proxy and Vite dev server together.
|
||||
# Both are killed when either exits or when this script receives SIGINT/SIGTERM.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
APP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
|
||||
cleanup() {
|
||||
# Kill all child processes
|
||||
kill 0 2>/dev/null || true
|
||||
wait 2>/dev/null || true
|
||||
}
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
# Start Claude proxy in background
|
||||
npx tsx "$APP_DIR/server/claude-proxy.ts" &
|
||||
PROXY_PID=$!
|
||||
|
||||
# Give proxy a moment to bind port
|
||||
sleep 0.3
|
||||
|
||||
# Start Vite dev server in foreground
|
||||
npx vite --host &
|
||||
VITE_PID=$!
|
||||
|
||||
# Wait for either to exit — then cleanup kills both
|
||||
wait -n $PROXY_PID $VITE_PID 2>/dev/null || true
|
||||
Reference in New Issue
Block a user