oasr 0.4.0__py3-none-any.whl → 0.4.1__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.
- cli.py +1 -1
- commands/exec.py +3 -8
- {oasr-0.4.0.dist-info → oasr-0.4.1.dist-info}/METADATA +1 -1
- {oasr-0.4.0.dist-info → oasr-0.4.1.dist-info}/RECORD +8 -8
- {oasr-0.4.0.dist-info → oasr-0.4.1.dist-info}/WHEEL +0 -0
- {oasr-0.4.0.dist-info → oasr-0.4.1.dist-info}/entry_points.txt +0 -0
- {oasr-0.4.0.dist-info → oasr-0.4.1.dist-info}/licenses/LICENSE +0 -0
- {oasr-0.4.0.dist-info → oasr-0.4.1.dist-info}/licenses/NOTICE +0 -0
cli.py
CHANGED
|
@@ -13,7 +13,7 @@ from pathlib import Path
|
|
|
13
13
|
from commands import adapter, clean, clone, config, diff, exec, find, registry, sync, update, use, validate
|
|
14
14
|
from commands import help as help_cmd
|
|
15
15
|
|
|
16
|
-
__version__ = "0.4.
|
|
16
|
+
__version__ = "0.4.1"
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
def main(argv: list[str] | None = None) -> int:
|
commands/exec.py
CHANGED
|
@@ -104,14 +104,9 @@ def run(args: argparse.Namespace) -> int:
|
|
|
104
104
|
|
|
105
105
|
try:
|
|
106
106
|
result = driver.execute(skill_content, user_prompt)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
return 0
|
|
111
|
-
else:
|
|
112
|
-
print("\nError executing skill:", file=sys.stderr)
|
|
113
|
-
print(result.error, file=sys.stderr)
|
|
114
|
-
return 1
|
|
107
|
+
# CompletedProcess has returncode attribute (0 = success)
|
|
108
|
+
# Output was already streamed to stdout since capture_output=False
|
|
109
|
+
return result.returncode
|
|
115
110
|
except Exception as e:
|
|
116
111
|
print(f"\nUnexpected error: {e}", file=sys.stderr)
|
|
117
112
|
return 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
__init__.py,sha256=cYuwXNht5J2GDPEbHz57rmXRyWzaUgAaCXz8okR0rKE,84
|
|
2
2
|
__main__.py,sha256=Due_Us-4KNlLZhf8MkmoP1hWS5qMWmpZvz2ZaCqPHT4,120
|
|
3
3
|
adapter.py,sha256=WEpYkKDTb7We0zU9i6Z-r5ydtUdghNhxTZ5Eq58h4fU,10027
|
|
4
|
-
cli.py,sha256=
|
|
4
|
+
cli.py,sha256=J8DqiaLGoUpKOWHMfkOBkQoC-R01ro4zTh2JAjjWVlo,2672
|
|
5
5
|
discovery.py,sha256=WWF8SN2LH88mOUBJLavM7rvXcxi6uDQGpqRK20GysxA,3298
|
|
6
6
|
manifest.py,sha256=feNCjkFWfhoVubevKjLtKoIEuzT1YGQn6wWgs9XM8_o,12229
|
|
7
7
|
registry.py,sha256=zGutwVP39xaYqc3KDEXMWCV1tORYpqc5JISO8OaWP1Q,4470
|
|
@@ -29,7 +29,7 @@ commands/clean.py,sha256=KtC5RJRdSBuz7ekEryMHOvHbqzV2vxUlp8_Mv-4b9TU,4893
|
|
|
29
29
|
commands/clone.py,sha256=4APH34-yHjiXQIQwBnKOSEQ_sxV24_GKypcOJMfncvs,5912
|
|
30
30
|
commands/config.py,sha256=PKuOX7CPRAy2j5NG1rhHYDFJT1XvZnOTF2qJW04v34Q,4940
|
|
31
31
|
commands/diff.py,sha256=37JMjvfAEfvK7-4X5iFbD-IGkS8ae4YSY7ZDIZF5B9E,5766
|
|
32
|
-
commands/exec.py,sha256=
|
|
32
|
+
commands/exec.py,sha256=ePbU25PiD9_kYBB0WdY3-A8yDHbSxZXbO3YhNFdlVzg,6706
|
|
33
33
|
commands/find.py,sha256=zgqwUnaG5aLX6gJIU2ZeQzxsFh2s7oDNNtmV-e-62Jg,1663
|
|
34
34
|
commands/help.py,sha256=5yhIpgGs1xPs2f39lg-ELE7D0tV_uUTjxQsgkWusIwo,1449
|
|
35
35
|
commands/info.py,sha256=zywaUQsrvcPXcX8W49P7Jqnr90pX8nBPqnH1XcIs0Uk,4396
|
|
@@ -47,9 +47,9 @@ config/schema.py,sha256=KUebMCokJkymPyNcT2Bwm5BKwXk0SVGdoW24PRNX350,1387
|
|
|
47
47
|
skillcopy/__init__.py,sha256=YUglUkDzKfnCt4ar_DU33ksI9fGyn2UYbV7qn2c_BcU,2322
|
|
48
48
|
skillcopy/local.py,sha256=QH6484dCenjg8pfNOyTRbQQBklEWhkkTnfQok5ssf_4,1049
|
|
49
49
|
skillcopy/remote.py,sha256=83jRA2VfjtSDGO-YM1x3WGJjKvWzK1RmSTL7SdUOz8s,3155
|
|
50
|
-
oasr-0.4.
|
|
51
|
-
oasr-0.4.
|
|
52
|
-
oasr-0.4.
|
|
53
|
-
oasr-0.4.
|
|
54
|
-
oasr-0.4.
|
|
55
|
-
oasr-0.4.
|
|
50
|
+
oasr-0.4.1.dist-info/METADATA,sha256=Fl64OJMF77F8Q3BfgvUmJFqVNx-2AzXpk7giGf5nmHo,17924
|
|
51
|
+
oasr-0.4.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
52
|
+
oasr-0.4.1.dist-info/entry_points.txt,sha256=VnMuOi6XYMbzAD2bP0X5uV1sQXjOqoDWJ33Lsxwq8u8,52
|
|
53
|
+
oasr-0.4.1.dist-info/licenses/LICENSE,sha256=nQ1j9Ldb8FlJ-z7y2WuXPIlyfnYC7YPasjGdOBgcfP4,10561
|
|
54
|
+
oasr-0.4.1.dist-info/licenses/NOTICE,sha256=EsfkCN0ZRDS0oj3ADvMKeKrAXaPlC8YfpSjvjGVv9jE,207
|
|
55
|
+
oasr-0.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|