readmeText -> README, agentsText -> AGENTS

This commit is contained in:
Alex Gleason committed 2025-11-21 11:52:16 -06:00
1 parent a6caf93e8b
commit dc549e64bd
1 file changed
+4 -4
+4 -4
View File
@@ -202,9 +202,9 @@ Note: the badge should be displayed at its natural size. It is recommended to om
**Important**: This project does not currently have a repository URL configured. If the user asks about adding an "Edit with Shakespeare" button, inform them that they must first initialize a public Git repository from their Shakespeare project. Once a repository URL is available, an "Edit with Shakespeare" button can be created.{% endif %}{% if readmeText %}
{{ readmeText }}{% endif %}{% if agentsText %}
{{ README }}{% endif %}{% if AGENTS %}
{{ agentsText }}{% endif %}`;
{{ AGENTS }}{% endif %}`;
export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise<string> {
const { tools, mode, fs, cwd, config, defaultConfig, user, metadata, repositoryUrl, template } = opts;
@@ -286,8 +286,8 @@ export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise<stri
},
badgeUrl,
editUrl,
readmeText,
agentsText,
README: readmeText,
AGENTS: agentsText,
};
// Render the template with the context