Add cwd to system prompt

This commit is contained in:
Alex Gleason committed 2025-09-11 18:45:17 -05:00
1 parent 60eca98d86
commit 6085713885
1 file changed
+3 -2
+3 -2
View File
@@ -27,13 +27,14 @@ export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise<stri
day: "numeric",
});
system += `\n\nThe current date is ${currentDate}.`;
// Add Your Environment section
system += `\n\n# Your Environment
You are operating within **Shakespeare**, an AI-powered Nostr website builder that allows users to create custom Nostr applications through natural language conversation.
- **Current Date**: ${currentDate}
- **Current Working Directory**: ${cwd}
## What Shakespeare Is
Shakespeare is a web-based development environment where users can build Nostr websites and applications by chatting with an AI assistant (you). The platform combines the power of AI-driven development with a user-friendly interface that requires no coding knowledge from the user.