refactor: stop tracking workflow/validate-workflow as handler attributes
These handler fragments were deleted — the exec handler already covers loading .md workflow files directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2e71d067c3
commit
85178ce58e
|
|
@ -41,9 +41,8 @@ class AgentAnalyzer {
|
||||||
if (exec.route) {
|
if (exec.route) {
|
||||||
profile.usedAttributes.add('exec');
|
profile.usedAttributes.add('exec');
|
||||||
}
|
}
|
||||||
if (exec.workflow) profile.usedAttributes.add('workflow');
|
|
||||||
if (exec.action) profile.usedAttributes.add('action');
|
if (exec.action) profile.usedAttributes.add('action');
|
||||||
if (exec.type && ['exec', 'action', 'workflow'].includes(exec.type)) {
|
if (exec.type && ['exec', 'action'].includes(exec.type)) {
|
||||||
profile.usedAttributes.add(exec.type);
|
profile.usedAttributes.add(exec.type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -52,12 +51,6 @@ class AgentAnalyzer {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Check for each possible attribute in legacy items
|
// Check for each possible attribute in legacy items
|
||||||
if (item.workflow) {
|
|
||||||
profile.usedAttributes.add('workflow');
|
|
||||||
}
|
|
||||||
if (item['validate-workflow']) {
|
|
||||||
profile.usedAttributes.add('validate-workflow');
|
|
||||||
}
|
|
||||||
if (item.exec) {
|
if (item.exec) {
|
||||||
profile.usedAttributes.add('exec');
|
profile.usedAttributes.add('exec');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue