Skip to content

Commit adce96c

Browse files
authored
fix(skills): improve skills middleware input validation and add annotations (#211)
* fix(skills): improve skills middleware input validation and add annotations * cr * cr * cr
1 parent eadf2a3 commit adce96c

File tree

5 files changed

+629
-85
lines changed

5 files changed

+629
-85
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"deepagents": patch
3+
---
4+
5+
fix(skills): improve skills middleware input validation and add annotations
6+
7+
Port of Python PR #1189. Hardens `parseSkillMetadataFromContent` with stricter
8+
coercion/trimming for all YAML fields, adds Unicode lowercase support in
9+
`validateSkillName`, validates and truncates compatibility length, handles
10+
`allowed-tools` as YAML list or space-delimited string, and shows
11+
license/compatibility annotations in the system prompt skill listing.

.codespellignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
datas
2-
afterAll
2+
afterAll
3+
Nd
4+
Ll

.pr-description.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)