mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 18:30:39 +09:00
Merge pull request #2649 from plind-dm/fix/import-ceo-role-default
fix(import): read agent role from frontmatter before defaulting to "a…
This commit is contained in:
commit
73e7007e7c
2 changed files with 45 additions and 1 deletions
|
|
@ -2393,7 +2393,7 @@ function buildManifestFromPackageFiles(
|
|||
name: asString(frontmatter.name) ?? title ?? slug,
|
||||
path: agentPath,
|
||||
skills: readAgentSkillRefs(frontmatter),
|
||||
role: asString(extension.role) ?? "agent",
|
||||
role: asString(extension.role) ?? asString(frontmatter.role) ?? "agent",
|
||||
title,
|
||||
icon: asString(extension.icon),
|
||||
capabilities: asString(extension.capabilities),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue