This commit is contained in:
Nikolas Hor 2026-03-18 16:09:53 -07:00 committed by GitHub
commit 794c317dda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -406,8 +406,8 @@ class ConfigDrivenIdeSetup extends BaseIdeSetup {
getDefaultTemplate(artifactType) { getDefaultTemplate(artifactType) {
if (artifactType === 'agent') { if (artifactType === 'agent') {
return `--- return `---
name: '{{name}}' name: "{{name}}"
description: '{{description}}' description: "{{description}}"
disable-model-invocation: true disable-model-invocation: true
--- ---
@ -421,8 +421,8 @@ You must fully embody this agent's persona and follow all activation instruction
`; `;
} }
return `--- return `---
name: '{{name}}' name: "{{name}}"
description: '{{description}}' description: "{{description}}"
--- ---
# {{name}} # {{name}}
@ -471,7 +471,7 @@ LOAD and execute from: {project-root}/{{bmadFolderName}}/{{path}}
.replaceAll('{{name}}', artifact.name || '') .replaceAll('{{name}}', artifact.name || '')
.replaceAll('{{module}}', artifact.module || 'core') .replaceAll('{{module}}', artifact.module || 'core')
.replaceAll('{{path}}', pathToUse) .replaceAll('{{path}}', pathToUse)
.replaceAll('{{description}}', artifact.description || `${artifact.name} ${artifact.type || ''}`) .replaceAll('{{description}}', (artifact.description || `${artifact.name} ${artifact.type || ''}`).replaceAll('"', String.raw`\"`))
.replaceAll('{{workflow_path}}', pathToUse); .replaceAll('{{workflow_path}}', pathToUse);
return rendered; return rendered;