Merge b696e9a246 into ad9cb7a177
This commit is contained in:
commit
281dc2f95c
|
|
@ -254,8 +254,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
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -269,8 +269,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}}
|
||||||
|
|
@ -319,7 +319,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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue