agentic-devtools 0.2.656__py3-none-any.whl → 0.2.657__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.
@@ -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.656'
22
- __version_tuple__ = version_tuple = (0, 2, 656)
21
+ __version__ = version = '0.2.657'
22
+ __version_tuple__ = version_tuple = (0, 2, 657)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -0,0 +1,43 @@
1
+ """Stateless Markdown fence-line candidate classification."""
2
+
3
+ from dataclasses import dataclass
4
+
5
+
6
+ @dataclass(frozen=True)
7
+ class FenceLineCandidate:
8
+ """Syntax facts about one candidate fence delimiter line."""
9
+
10
+ line_number: int
11
+ marker: str
12
+ run_length: int
13
+ can_open: bool
14
+ can_close: bool
15
+
16
+
17
+ def classify_fence_line(line: str, line_number: int) -> FenceLineCandidate | None:
18
+ """Classify one physical line without tracking Markdown fence state."""
19
+ if line_number <= 0:
20
+ raise ValueError("line_number must be positive")
21
+
22
+ marker_start = 0
23
+ while marker_start < len(line) and marker_start < 3 and line[marker_start] == " ":
24
+ marker_start += 1
25
+ if marker_start == len(line) or line[marker_start] not in ("`", "~"):
26
+ return None
27
+
28
+ marker = line[marker_start]
29
+ run_end = marker_start
30
+ while run_end < len(line) and line[run_end] == marker:
31
+ run_end += 1
32
+ run_length = run_end - marker_start
33
+ if run_length < 3:
34
+ return None
35
+
36
+ info = line[run_end:]
37
+ return FenceLineCandidate(
38
+ line_number=line_number,
39
+ marker=marker,
40
+ run_length=run_length,
41
+ can_open=marker != "`" or "`" not in info,
42
+ can_close=not info.strip(),
43
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: agentic-devtools
3
- Version: 0.2.656
3
+ Version: 0.2.657
4
4
  Summary: Agentic devtools integrate Jira, DevOps & more
5
5
  Author: ayaiayorg
6
6
  License-Expression: MIT
@@ -1,5 +1,5 @@
1
1
  agentic_devtools/__init__.py,sha256=gvLzsZ6L3Abr4sPHr4OJ_rdZDD8cFzXacaV0LGs8dVc,539
2
- agentic_devtools/_version.py,sha256=jnIQpoO33KBqGyMUZBpGXojzzc89HmiPYgP1kAtgmfE,524
2
+ agentic_devtools/_version.py,sha256=7FiEfcxvUIl7-VWctawaO1mtN4ng2C031ATW1-GHefs,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
@@ -344,6 +344,7 @@ agentic_devtools/cli/ci/pipeline/exclusion.py,sha256=mrOG5G1-m3U-GM4YgtMTuzmoj02
344
344
  agentic_devtools/cli/ci/pipeline/gate_verdict.py,sha256=-vbp24Kr172wXpB5T-y9lm-7JxiYurixEu3-nuZohgY,44352
345
345
  agentic_devtools/cli/ci/pipeline/lifecycle_reconciliation_support.py,sha256=R15VC18-xSUEMoTtI8y9z5xYIFLWloWXAvnDPSSPtvM,2405
346
346
  agentic_devtools/cli/ci/pipeline/markdown_comments.py,sha256=nNGHpAWwLtXbe8Vg4cmZSziXJ-FD_Fcv8todJvBGfY8,929
347
+ agentic_devtools/cli/ci/pipeline/markdown_fences.py,sha256=pJgoDLfodIqrtm167fWckShLLNW-mCfatbn_5BLoQoc,1244
347
348
  agentic_devtools/cli/ci/pipeline/models.py,sha256=jKuSunZ8FDsVFbIUwLkMVZdfVun9bc_SKvcxLW7s9Ls,4501
348
349
  agentic_devtools/cli/ci/pipeline/repair_attempts.py,sha256=K9JgsxIW0CjxfV6PMmZRKd6w7qsTYClZvzwFSu7shsA,11054
349
350
  agentic_devtools/cli/ci/pipeline/runner.py,sha256=0lXe0sr8GB9VWejOIHZimWy9GF_obRFn9agO-ugCWgM,76902
@@ -1345,8 +1346,8 @@ agentic_devtools/_bundled_skills/skills/speckit-plan/SKILL.md,sha256=qYLpzgLCIZ6
1345
1346
  agentic_devtools/_bundled_skills/skills/speckit-specify/SKILL.md,sha256=HbHRbdphMqbtNw6fL6NcYCj6sSFmUyk2S4U0bZ9p_l4,13681
1346
1347
  agentic_devtools/_bundled_skills/skills/write-github-commit-message/SKILL.md,sha256=Ep1lR8NDN117Iytj172VZgqazFiLpJ56Z7RXgaTnxR8,2626
1347
1348
  agentic_devtools/_bundled_skills/skills/write-github-commit-message/commit-types.md,sha256=bTy_t68ZD6R87rFIzq9wybTu8Wudoahb7nB9IWC4bFo,1839
1348
- agentic_devtools-0.2.656.dist-info/METADATA,sha256=lvvmgROcbnku9mgroCrf3wKymB7eNbFCFAwexMsUW9M,35594
1349
- agentic_devtools-0.2.656.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
1350
- agentic_devtools-0.2.656.dist-info/entry_points.txt,sha256=oHUiF-YvDtXSMTUh0E2bwYKGn4hZlIVbBRaQGSFXASc,13696
1351
- agentic_devtools-0.2.656.dist-info/licenses/LICENSE,sha256=yBEDdICksxhBYLWoERKp9MTqwGnUF6Ryj9BTLwXTc6k,1082
1352
- agentic_devtools-0.2.656.dist-info/RECORD,,
1349
+ agentic_devtools-0.2.657.dist-info/METADATA,sha256=3HbhsXMXF5-TZAM9gMkLWL8PSxyS7GRyjZsq-KOH_2I,35594
1350
+ agentic_devtools-0.2.657.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
1351
+ agentic_devtools-0.2.657.dist-info/entry_points.txt,sha256=oHUiF-YvDtXSMTUh0E2bwYKGn4hZlIVbBRaQGSFXASc,13696
1352
+ agentic_devtools-0.2.657.dist-info/licenses/LICENSE,sha256=yBEDdICksxhBYLWoERKp9MTqwGnUF6Ryj9BTLwXTc6k,1082
1353
+ agentic_devtools-0.2.657.dist-info/RECORD,,