mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-05 00:03:15 +01:00
fix(gen-skill-docs): emit autoplan/DRIVER.md only when the autoplan template is in the tree (setup fixtures with a skill subset)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
d911b48210
commit
98d0b70d8d
1 file changed
+1
-1
@@ -1070,7 +1070,7 @@ export async function runGeneration(settings: GenerationOptions = {}): Promise<G
|
||||
generateDesignChecklistMd(), 'asset', host);
|
||||
emit(path.join(options.outputRoot, DOM_DUMP_FILE), DOM_DUMP_SCRIPT + '\n', 'asset', host);
|
||||
}
|
||||
if (host === 'claude' && includesSkill(hostConfig, 'autoplan')) {
|
||||
if (host === 'claude' && includesSkill(hostConfig, 'autoplan') && templates.some(t => t.tmpl === 'autoplan/SKILL.md.tmpl')) {
|
||||
emit(path.join(options.outputRoot, AUTOPLAN_DRIVER_RELPATH), renderAutoplanDriver(options), 'asset', host);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user