agentic-proofkit 0.1.146__py3-none-macosx_11_0_arm64.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_proofkit/__init__.py +1 -0
- agentic_proofkit/__main__.py +3 -0
- agentic_proofkit/bin/agentic-proofkit +0 -0
- agentic_proofkit/cli.py +31 -0
- agentic_proofkit-0.1.146.dist-info/METADATA +9 -0
- agentic_proofkit-0.1.146.dist-info/RECORD +8 -0
- agentic_proofkit-0.1.146.dist-info/WHEEL +4 -0
- agentic_proofkit-0.1.146.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Python package-manager wrapper for the agentic-proofkit CLI."""
|
|
Binary file
|
agentic_proofkit/cli.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import stat
|
|
5
|
+
import subprocess
|
|
6
|
+
import sys
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
from typing import Sequence
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def main(argv: Sequence[str] | None = None) -> int:
|
|
12
|
+
if argv is None:
|
|
13
|
+
argv = sys.argv[1:]
|
|
14
|
+
binary = Path(__file__).with_name("bin") / "agentic-proofkit"
|
|
15
|
+
if not binary.is_file():
|
|
16
|
+
print(
|
|
17
|
+
"agentic-proofkit: missing embedded CLI binary; reinstall the package",
|
|
18
|
+
file=sys.stderr,
|
|
19
|
+
)
|
|
20
|
+
return 127
|
|
21
|
+
ensure_executable(binary)
|
|
22
|
+
return subprocess.run([str(binary), *argv], check=False).returncode
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def ensure_executable(path: Path) -> None:
|
|
26
|
+
mode = path.stat().st_mode
|
|
27
|
+
wanted = mode | stat.S_IXUSR
|
|
28
|
+
if os.name != "nt":
|
|
29
|
+
wanted |= stat.S_IXGRP | stat.S_IXOTH
|
|
30
|
+
if wanted != mode:
|
|
31
|
+
path.chmod(wanted)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: agentic-proofkit
|
|
3
|
+
Version: 0.1.146
|
|
4
|
+
Summary: Reusable proof profile, report, graph, and witness-planning primitives.
|
|
5
|
+
License: MIT
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
|
+
Project-URL: Source, https://github.com/research-engineering/agentic-proofkit.git
|
|
8
|
+
|
|
9
|
+
Package-manager wrapper for the agentic-proofkit Go CLI.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
agentic_proofkit-0.1.146.dist-info/METADATA,sha256=j-iLRWoQthnfPw4yBqIRb9OvX2FR0hZx7Wn8pOXadZ4,319
|
|
2
|
+
agentic_proofkit-0.1.146.dist-info/WHEEL,sha256=gurkE3NK6_Fq2JS-pECL1gBSn-lfuQIvX7a88waSla4,102
|
|
3
|
+
agentic_proofkit-0.1.146.dist-info/entry_points.txt,sha256=cOqiZ2ildLhwLbqWwRtGrin5ZMy7ysnPAYfNSESsRbs,63
|
|
4
|
+
agentic_proofkit/__init__.py,sha256=dcfoHZPvf6CoSssqd9S-q3jKzLkLJV7DE5FoRuwpKUc,67
|
|
5
|
+
agentic_proofkit/__main__.py,sha256=e4zPpRRvEBdF6UHeNASKYNAGv44aNhpPHiBOPcd-FOM,64
|
|
6
|
+
agentic_proofkit/bin/agentic-proofkit,sha256=ws-E-yy6jSxCYxWO-ZgZiOAe_gdn2fDXXtKzqm0a1po,15311218
|
|
7
|
+
agentic_proofkit/cli.py,sha256=GLfkUGQ2yCWoxUdz8aET-UYsVeBqtOOPYPD9OkcZvHI,826
|
|
8
|
+
agentic_proofkit-0.1.146.dist-info/RECORD,,
|