- {{ sections[0].title }} -
-- By {{ sections[0].author }} -
-diff --git a/.claude/launch.json b/.claude/launch.json index 6f3007ab..f7e736a4 100644 --- a/.claude/launch.json +++ b/.claude/launch.json @@ -2,18 +2,11 @@ "version": "0.0.1", "configurations": [ { - "name": "app", - "runtimeExecutable": "pnpm", - "runtimeArgs": ["--filter", "@aiui/app", "dev:vite"], + "name": "dev", + "runtimeExecutable": "bash", + "runtimeArgs": ["packages/app/scripts/dev.sh"], "port": 5173, "autoPort": true - }, - { - "name": "claude-proxy", - "runtimeExecutable": "pnpm", - "runtimeArgs": ["--filter", "@aiui/app", "dev:proxy"], - "port": 3141, - "autoPort": true } ] } diff --git a/packages/app/scripts/dev.sh b/packages/app/scripts/dev.sh index ff3eebfe..d2aecc31 100755 --- a/packages/app/scripts/dev.sh +++ b/packages/app/scripts/dev.sh @@ -7,23 +7,24 @@ set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" APP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" +cd "$APP_DIR" + cleanup() { - # Kill all child processes kill 0 2>/dev/null || true wait 2>/dev/null || true } trap cleanup EXIT INT TERM +# Use local node_modules binaries +BIN="$APP_DIR/node_modules/.bin" + # Start Claude proxy in background -npx tsx "$APP_DIR/server/claude-proxy.ts" & -PROXY_PID=$! +"$BIN/tsx" server/claude-proxy.ts & -# Give proxy a moment to bind port sleep 0.3 -# Start Vite dev server in foreground -npx vite --host & -VITE_PID=$! +# Start Vite dev server in background +"$BIN/vite" --host & -# Wait for either to exit — then cleanup kills both -wait -n $PROXY_PID $VITE_PID 2>/dev/null || true +# Wait for all background jobs (compatible with bash 3.2 on macOS) +wait diff --git a/packages/app/src/components/content/FilmCard.vue b/packages/app/src/components/content/FilmCard.vue index fbbc3917..99725a87 100644 --- a/packages/app/src/components/content/FilmCard.vue +++ b/packages/app/src/components/content/FilmCard.vue @@ -29,6 +29,11 @@ :class="isDark ? 'text-white/40' : 'text-gray-500'"> {{ film.year }} · {{ film.director }}
++ {{ film.synopsis }} +
- {{ film.synopsis }} -
++ {{ film.synopsis }} +
+@@ -60,7 +67,7 @@