agentic-proofkit 0.6.0__py3-none-macosx_13_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 +39 -0
- agentic_proofkit-0.6.0.dist-info/METADATA +10 -0
- agentic_proofkit-0.6.0.dist-info/RECORD +9 -0
- agentic_proofkit-0.6.0.dist-info/WHEEL +4 -0
- agentic_proofkit-0.6.0.dist-info/entry_points.txt +2 -0
- agentic_proofkit-0.6.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Python package-manager wrapper for the agentic-proofkit CLI."""
|
|
Binary file
|
agentic_proofkit/cli.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
command = [str(binary), *argv]
|
|
23
|
+
python_executable = str(Path(sys.executable).absolute())
|
|
24
|
+
environment = os.environ.copy()
|
|
25
|
+
environment["AGENTIC_PROOFKIT_LAUNCHER_PROFILE"] = "python_module"
|
|
26
|
+
environment["AGENTIC_PROOFKIT_PYTHON_EXECUTABLE"] = python_executable
|
|
27
|
+
if os.name != "nt":
|
|
28
|
+
os.execve(str(binary), command, environment)
|
|
29
|
+
raise AssertionError("os.execve returned unexpectedly")
|
|
30
|
+
return subprocess.run(command, check=False, env=environment).returncode
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def ensure_executable(path: Path) -> None:
|
|
34
|
+
mode = path.stat().st_mode
|
|
35
|
+
wanted = mode | stat.S_IXUSR
|
|
36
|
+
if os.name != "nt":
|
|
37
|
+
wanted |= stat.S_IXGRP | stat.S_IXOTH
|
|
38
|
+
if wanted != mode:
|
|
39
|
+
path.chmod(wanted)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentic-proofkit
|
|
3
|
+
Version: 0.6.0
|
|
4
|
+
Summary: Reusable proof profile, report, graph, and witness-planning primitives.
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
|
+
Project-URL: Source, https://github.com/research-engineering/agentic-proofkit.git
|
|
9
|
+
|
|
10
|
+
Package-manager wrapper for the agentic-proofkit Go CLI.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
agentic_proofkit-0.6.0.dist-info/METADATA,sha256=iy0J42Xcl0VQwqvlU4YSC4XsZfm9sXtrzWn92UUXeOo,350
|
|
2
|
+
agentic_proofkit-0.6.0.dist-info/WHEEL,sha256=6oEH43eEV_YEkj-mH8Yxn6YcFIL0WE6vSsuoTG8Jenk,102
|
|
3
|
+
agentic_proofkit-0.6.0.dist-info/entry_points.txt,sha256=cOqiZ2ildLhwLbqWwRtGrin5ZMy7ysnPAYfNSESsRbs,63
|
|
4
|
+
agentic_proofkit-0.6.0.dist-info/licenses/LICENSE,sha256=6LgTIFB8bDHu6Ha0xT-KoQZF5g_oPr3qZblQk9aHT4s,1090
|
|
5
|
+
agentic_proofkit/__init__.py,sha256=dcfoHZPvf6CoSssqd9S-q3jKzLkLJV7DE5FoRuwpKUc,67
|
|
6
|
+
agentic_proofkit/__main__.py,sha256=e4zPpRRvEBdF6UHeNASKYNAGv44aNhpPHiBOPcd-FOM,64
|
|
7
|
+
agentic_proofkit/bin/agentic-proofkit,sha256=WOCvwMLpdktFylEj-sbjwuJJWT93XdgfdPVQSt-I04c,18277010
|
|
8
|
+
agentic_proofkit/cli.py,sha256=nvJHgNbqPUMZ-N-cFgVLLu0SbU7l68kfzok9Pc305pk,1248
|
|
9
|
+
agentic_proofkit-0.6.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Research Engineering contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|