Test Vercel URL detection

jasonnovack@jasonnovackJan 7, 2026claude_codeclaude-opus-4-5-20251101feature

Preview

Live PreviewAfter preview

Diff

diff --git a/packages/web/src/app/api/admin/update-shot/route.ts b/packages/web/src/app/api/admin/update-shot/route.ts
index d3354dc..47abdaa 100644
--- a/packages/web/src/app/api/admin/update-shot/route.ts
+++ b/packages/web/src/app/api/admin/update-shot/route.ts
@@ -4,8 +4,9 @@ import { sql } from 'drizzle-orm'
import { NextRequest, NextResponse } from 'next/server'
export const dynamic = 'force-dynamic'
+export const revalidate = 0
-// Admin endpoint to update shot fields
+// Admin endpoint to update shot preview URLs
export async function POST(request: NextRequest) {
// Auth check - require Bearer token and X-User-Id matching jasonnovack
const authHeader = request.headers.get('Authorization')

Recipe

Model
claude-opus-4-5-20251101
Harness
Claude Code
Token Usage
Input: 15.7KOutput: 250.7KTotal: 266.3KCache Read: 172.7M
Plugins
Frontend Design vclaude-plugins-officialGithub vclaude-plugins-officialFeature Dev vclaude-plugins-officialSwift Lsp vclaude-plugins-official
Prompt
Let's write a product spec for a web app called Oneshot. There is a huge amount of interest right now in AI model selection, harness selection, prompt engineering, context engineering, MCP, etc., etc. The goal is to create an app where users can showcase what they can do and how they do it. The idea is to let users showcase before/after and how they get amazing results with AI. I am thinking there are 3 key components: 1. we take a repo BEFORE state and host it somewhere, or accept a hosted version like a Vercel build that we can verify corresponds with the repo's BEFORE state. 2. users invoke AI, and we capture a VERIFIED set of attributes that allows full reproducibility of this AI action (model, harness, prompt, context, and anything else that's relevant). 3. we take a repo AFTER state and host it somewhere or accept a user-hosted version that we can verify corresponds with the repo's AFTER state. Once we have those 3 components, we build a simple database of all submitted examples, gallery app to discover and inspect them.
Raw Session Data
Tip: Copy the prompt and adapt it for your own project. The key is understanding why this prompt worked, not reproducing it exactly.

Comments (0)

Loading comments...