Skip to content

Commit f11f659

Browse files
committed
chore: add missing changelog for agent templates merge
1 parent a1cd504 commit f11f659

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

CHANGELOG-agent-merge.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Agent Templates Merge — Move agents to AI category
2+
3+
- Changed all 15 agent template categories from `'agents'` to `'ai'`
4+
- Removed unused `case 'agents'` from `getCategoryIconClass()` in `templates.js`
5+
- Removed unused `case 'agents'` from `getCategoryIcon()` in `templates.js`
6+
7+
---
8+
9+
## Summary
10+
Merged the 15 agent templates into the existing AI category so they appear under the AI tab in the template picker, instead of a separate Agents tab that wasn't rendering.
11+
12+
---
13+
14+
## 1. Category Change
15+
**Files:** `js/templates/agents.js`
16+
**What:** Changed `category: 'agents'` to `category: 'ai'` on all 15 template objects.
17+
**Impact:** All agent templates now show under the AI tab in the template picker modal.
18+
19+
## 2. Dead Code Cleanup
20+
**Files:** `js/templates.js`
21+
**What:** Removed `case 'agents': return 'technical'` from `getCategoryIconClass()` and `case 'agents': return 'bi-person-gear'` from `getCategoryIcon()`.
22+
**Impact:** No unused switch cases; cleaner code.
23+
24+
---
25+
26+
## Files Changed (2 total)
27+
28+
| File | Lines Changed | Type |
29+
|------|:---:|------|
30+
| `js/templates/agents.js` | +15 −15 | Category rename |
31+
| `js/templates.js` | +0 −2 | Dead code removal |

0 commit comments

Comments
 (0)