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.
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")