agentic-devtools 0.2.643__py3-none-any.whl → 0.2.644__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agentic_devtools/_version.py +2 -2
- agentic_devtools/cli/issue_template/refinement_paths.py +29 -0
- {agentic_devtools-0.2.643.dist-info → agentic_devtools-0.2.644.dist-info}/METADATA +1 -1
- {agentic_devtools-0.2.643.dist-info → agentic_devtools-0.2.644.dist-info}/RECORD +7 -6
- {agentic_devtools-0.2.643.dist-info → agentic_devtools-0.2.644.dist-info}/WHEEL +0 -0
- {agentic_devtools-0.2.643.dist-info → agentic_devtools-0.2.644.dist-info}/entry_points.txt +0 -0
- {agentic_devtools-0.2.643.dist-info → agentic_devtools-0.2.644.dist-info}/licenses/LICENSE +0 -0
agentic_devtools/_version.py
CHANGED
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
21
|
+
__version__ = version = '0.2.644'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 644)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Shared lexical normalization for refinement path tokens."""
|
|
2
|
+
|
|
3
|
+
import unicodedata as _unicodedata
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def normalize_refinement_path(value: str) -> tuple[str | None, str | None]:
|
|
7
|
+
"""Convert separators or return the first ordered lexical error.
|
|
8
|
+
|
|
9
|
+
Only backslashes are normalized; all other valid token text is preserved.
|
|
10
|
+
Lexical success does not authorize a path or establish filesystem validity.
|
|
11
|
+
"""
|
|
12
|
+
if not value:
|
|
13
|
+
return None, "empty_token"
|
|
14
|
+
if any(_unicodedata.category(character) == "Cc" for character in value):
|
|
15
|
+
return None, "control_character"
|
|
16
|
+
if any(character.isspace() for character in value):
|
|
17
|
+
return None, "whitespace_character"
|
|
18
|
+
|
|
19
|
+
normalized = value.replace("\\", "/")
|
|
20
|
+
drive_rooted = (
|
|
21
|
+
len(normalized) >= 3
|
|
22
|
+
and ("A" <= normalized[0] <= "Z" or "a" <= normalized[0] <= "z")
|
|
23
|
+
and normalized[1:3] == ":/"
|
|
24
|
+
)
|
|
25
|
+
if normalized.startswith("/") or drive_rooted:
|
|
26
|
+
return None, "absolute_path"
|
|
27
|
+
if any(segment in {".", ".."} for segment in normalized.split("/")):
|
|
28
|
+
return None, "traversal_segment"
|
|
29
|
+
return normalized, None
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
agentic_devtools/__init__.py,sha256=gvLzsZ6L3Abr4sPHr4OJ_rdZDD8cFzXacaV0LGs8dVc,539
|
|
2
|
-
agentic_devtools/_version.py,sha256=
|
|
2
|
+
agentic_devtools/_version.py,sha256=kh0QB-EvuAdvnRcl62XutoeolHgRvbzwhMgz9GZaZLE,524
|
|
3
3
|
agentic_devtools/agdt_gitignore.py,sha256=vVVqTjBZ_ijn6U3Lnh_JGrARLschYVN-fFal9jDk0Ak,2694
|
|
4
4
|
agentic_devtools/background_tasks.py,sha256=sFgmqOnCdCjclABJ8V__yDwBXDyi45b1Z-MVv3G2zB8,17664
|
|
5
5
|
agentic_devtools/config.py,sha256=DEVxTVZhsQbVQwO9qdB_1h19aBpjMzF6xJY_ePYLGLs,15629
|
|
@@ -530,6 +530,7 @@ agentic_devtools/cli/issue_template/discovery.py,sha256=J8ZV0ceRb1MvW-rD2Sdatwnn
|
|
|
530
530
|
agentic_devtools/cli/issue_template/exceptions.py,sha256=Ua24JY1GihNtvUsVGoETJHNLGwt8nR93t5s1zr-uZws,608
|
|
531
531
|
agentic_devtools/cli/issue_template/mapping_resolver.py,sha256=HeUzVF21w5r8BeFqWVx572bd9xMY_M1ErLpih5knjPc,2636
|
|
532
532
|
agentic_devtools/cli/issue_template/mapping_validation.py,sha256=lcbYIBbYjYPjt5-6iFC7eplh4gxBjBnOSHjoOq8Of0c,14254
|
|
533
|
+
agentic_devtools/cli/issue_template/refinement_paths.py,sha256=bEqzHbMTScHo0dJ26_940mjxUXXDWU99zWgbNnQwCYU,1122
|
|
533
534
|
agentic_devtools/cli/issue_template/render_issue_md.py,sha256=fQ8vazYZFAebxDfbGT7T8Wk0DQ9X10OIiqWqHr6A2Cs,3757
|
|
534
535
|
agentic_devtools/cli/issue_template/renderer.py,sha256=pvZj5o-5DZqYSeh0aqaT17QWBE1eKTID5-DraGiqcnU,36725
|
|
535
536
|
agentic_devtools/cli/issue_template/template_placeholders.py,sha256=ANvbmfcJitK23k_CKtNFfRAtJZxyS8IopGEKHqXxTaA,1851
|
|
@@ -1336,8 +1337,8 @@ agentic_devtools/_bundled_skills/skills/speckit-plan/SKILL.md,sha256=qYLpzgLCIZ6
|
|
|
1336
1337
|
agentic_devtools/_bundled_skills/skills/speckit-specify/SKILL.md,sha256=HbHRbdphMqbtNw6fL6NcYCj6sSFmUyk2S4U0bZ9p_l4,13681
|
|
1337
1338
|
agentic_devtools/_bundled_skills/skills/write-github-commit-message/SKILL.md,sha256=Ep1lR8NDN117Iytj172VZgqazFiLpJ56Z7RXgaTnxR8,2626
|
|
1338
1339
|
agentic_devtools/_bundled_skills/skills/write-github-commit-message/commit-types.md,sha256=bTy_t68ZD6R87rFIzq9wybTu8Wudoahb7nB9IWC4bFo,1839
|
|
1339
|
-
agentic_devtools-0.2.
|
|
1340
|
-
agentic_devtools-0.2.
|
|
1341
|
-
agentic_devtools-0.2.
|
|
1342
|
-
agentic_devtools-0.2.
|
|
1343
|
-
agentic_devtools-0.2.
|
|
1340
|
+
agentic_devtools-0.2.644.dist-info/METADATA,sha256=M2kQcTUKBSU318-1tLbV8mdHFAe0bNT8HULXsywMYB4,35594
|
|
1341
|
+
agentic_devtools-0.2.644.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
1342
|
+
agentic_devtools-0.2.644.dist-info/entry_points.txt,sha256=oHUiF-YvDtXSMTUh0E2bwYKGn4hZlIVbBRaQGSFXASc,13696
|
|
1343
|
+
agentic_devtools-0.2.644.dist-info/licenses/LICENSE,sha256=yBEDdICksxhBYLWoERKp9MTqwGnUF6Ryj9BTLwXTc6k,1082
|
|
1344
|
+
agentic_devtools-0.2.644.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|