fix(agents): unify Markdown suffix and encoded import guards

This commit is contained in:
4gray committed 2026-09-21 01:21:42 +02:00
1 parent 1dd0ec2285
commit 22b2d7a2ac
3 files changed
+33 -7

No files matched your search

+2 -1
View File
@@ -69,7 +69,8 @@ checking the full filename before prefixes at ASCII/Unicode prose separators.
Declared scoped dependencies, scope wildcards and matching TypeScript path aliases
are recognized as package/alias mentions. Traversal and document-file imports are
rejected before those exemptions, including document paths with fragments or queries.
TypeScript configuration is parsed as JSONC.
All recognized Markdown extensions share the document-import guard. URL-encoded
paths do not receive package exemptions. TypeScript configuration is parsed as JSONC.
Declared packages also permit safe subpaths; exact aliases stay exact.
Declared package mentions may include a version (including semver comparators) or dist-tag qualifier.
Qualifier handling includes unscoped names; terminal sentence punctuation is