agent-work-runtime 0.1.0.dev0__py3-none-win_amd64.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.
- agent_work_runtime-0.1.0.dev0.dist-info/METADATA +49 -0
- agent_work_runtime-0.1.0.dev0.dist-info/RECORD +12 -0
- agent_work_runtime-0.1.0.dev0.dist-info/WHEEL +5 -0
- agent_work_runtime-0.1.0.dev0.dist-info/entry_points.txt +3 -0
- agent_work_runtime-0.1.0.dev0.dist-info/licenses/LICENSE +201 -0
- agent_work_runtime-0.1.0.dev0.dist-info/licenses/THIRD_PARTY_LICENSES.txt +33816 -0
- agent_work_runtime-0.1.0.dev0.dist-info/top_level.txt +1 -0
- awr_binary/__init__.py +1 -0
- awr_binary/_build.json +2584 -0
- awr_binary/bin/awr-mcp.exe +0 -0
- awr_binary/bin/awr.exe +0 -0
- awr_binary/cli.py +24 -0
|
Binary file
|
awr_binary/bin/awr.exe
ADDED
|
Binary file
|
awr_binary/cli.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def _run(command):
|
|
8
|
+
suffix = ".exe" if os.name == "nt" else ""
|
|
9
|
+
executable = Path(__file__).parent / "bin" / (command + suffix)
|
|
10
|
+
args = [str(executable), *sys.argv[1:]]
|
|
11
|
+
if os.name != "nt":
|
|
12
|
+
os.execv(str(executable), args)
|
|
13
|
+
try:
|
|
14
|
+
return subprocess.call(args)
|
|
15
|
+
except KeyboardInterrupt:
|
|
16
|
+
return 130
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def awr():
|
|
20
|
+
return _run("awr")
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def awr_mcp():
|
|
24
|
+
return _run("awr-mcp")
|