From 2f50b2611c93bb9f3c05040cf00b1976d5901277 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 9 Dec 2025 20:23:27 -0600 Subject: [PATCH] Expose deployedUrl to system prompt --- src/lib/system.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/system.ts b/src/lib/system.ts index 20ade5be..54035e19 100644 --- a/src/lib/system.ts +++ b/src/lib/system.ts @@ -51,6 +51,7 @@ You are operating within **Shakespeare**, an AI-powered website builder that all - **Current Page**: {{ location.href }} - **Current Working Directory**: {{ cwd }} - **Repository URL**: {% if repositoryUrl %}{{ repositoryUrl }}{% else %}none{% endif %} +- **Deployed URL**: {% if deployedUrl %}{{ deployedUrl }}{% else %}not deployed{% endif %} {% if projectTemplate %}- **Project Template**: {{ projectTemplate.name }}{% endif %} Users can add or remove templates in Settings > AI (\`{{ location.origin }}/settings/ai\`). @@ -291,6 +292,24 @@ export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise