agr-opentui 0.3.1__py3-none-any.whl → 0.3.3__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.
Binary file
agr_opentui/cli.py ADDED
@@ -0,0 +1,28 @@
1
+ """CLI launcher for the packaged OpenTUI binary."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ import sys
7
+ from pathlib import Path
8
+
9
+ _BINARY_NAME = "agr-opentui"
10
+
11
+
12
+ def _binary_path() -> Path:
13
+ return Path(__file__).resolve().parent / "bin" / _BINARY_NAME
14
+
15
+
16
+ def main() -> None:
17
+ binary = _binary_path()
18
+ if not binary.exists():
19
+ raise SystemExit(
20
+ "agr-opentui binary is not bundled in this build. "
21
+ "Install a wheel that includes the binary for your platform."
22
+ )
23
+
24
+ os.execv(str(binary), [str(binary), *sys.argv[1:]])
25
+
26
+
27
+ if __name__ == "__main__":
28
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agr-opentui
3
- Version: 0.3.1
3
+ Version: 0.3.3
4
4
  Summary: OpenTUI frontend for agr
5
5
  Project-URL: Homepage, https://github.com/RelativeSure/agr-opentui
6
6
  Project-URL: Repository, https://github.com/RelativeSure/agr-opentui
@@ -14,10 +14,10 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Topic :: Software Development :: Build Tools
19
19
  Classifier: Topic :: Utilities
20
- Requires-Python: >=3.14.3
20
+ Requires-Python: >=3.10
21
21
  Requires-Dist: agr>=0.7.4
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -37,6 +37,26 @@ An OpenTUI interface for the `agr`/`agrx` CLI: view configured skills, trigger `
37
37
  `agr-opentui` is an OpenTUI front-end for `agr`/`agrx`.
38
38
  The default discover source in this repo points to `https://github.com/kasperjunge/agent-resources`.
39
39
 
40
+ ## Install from PyPI
41
+
42
+ With `uv`:
43
+
44
+ ```bash
45
+ uv tool install agr-opentui
46
+ ```
47
+
48
+ With `pip`:
49
+
50
+ ```bash
51
+ python -m pip install agr-opentui
52
+ ```
53
+
54
+ Then run:
55
+
56
+ ```bash
57
+ agr-opentui
58
+ ```
59
+
40
60
  ## Usage
41
61
 
42
62
  Tabs:
@@ -95,7 +115,7 @@ Discover flow:
95
115
 
96
116
  ## Requirements
97
117
 
98
- ### Runtime (using `agr-tui`):
118
+ ### Runtime (using `agr-opentui`):
99
119
  - Python 3.10+
100
120
  - `uv`
101
121
  - `agr` + `agrx` on your `PATH`
@@ -113,7 +133,7 @@ or
113
133
  ```bash
114
134
  make build
115
135
  ```
116
- This creates `bin/agr-tui`.
136
+ This creates `bin/agr-opentui`.
117
137
 
118
138
 
119
139
  #### Install
@@ -135,7 +155,7 @@ Run it from the repo you want to manage (the current working directory is the ta
135
155
 
136
156
  ```bash
137
157
  cd /path/to/your/project
138
- agr-tui
158
+ agr-opentui
139
159
  ```
140
160
 
141
161
  `agr-opentui` itself does not need to contain your target repo's `agr.toml`.
@@ -0,0 +1,8 @@
1
+ agr_opentui/__init__.py,sha256=noLIoaeF0mg3fcx2LNZjDFKGS7ioA-FDCxKLIdM0v8w,38
2
+ agr_opentui/bridge.py,sha256=NmhjSq8jSvxttue0iHV8F484pfaCDMXaVlWz3qTugZw,4551
3
+ agr_opentui/cli.py,sha256=164eX-rPilq-KHQhMHNBmOYAhU9ZrZrgFx8EcRti-YI,610
4
+ agr_opentui/bin/agr-opentui,sha256=TfDYPg0eItRu1Tx-UznduPuAu3pKCxGECaHRynl549A,110442862
5
+ agr_opentui-0.3.3.dist-info/METADATA,sha256=d996o4yWKb1o1BAxdKeTknD9za3C2p4JAUM-ijOpTx8,5016
6
+ agr_opentui-0.3.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
7
+ agr_opentui-0.3.3.dist-info/entry_points.txt,sha256=u_9GfxrXB4R6RGBsmYzGsTKyWytMy-3qbhFbL_gOh4A,53
8
+ agr_opentui-0.3.3.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ agr-opentui = agr_opentui.cli:main
@@ -1,5 +0,0 @@
1
- agr_opentui/__init__.py,sha256=noLIoaeF0mg3fcx2LNZjDFKGS7ioA-FDCxKLIdM0v8w,38
2
- agr_opentui/bridge.py,sha256=NmhjSq8jSvxttue0iHV8F484pfaCDMXaVlWz3qTugZw,4551
3
- agr_opentui-0.3.1.dist-info/METADATA,sha256=HpkiyEqIepT-u7_q9RHtcrmkNzR4eoIwguMqZLDNpaQ,4835
4
- agr_opentui-0.3.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
- agr_opentui-0.3.1.dist-info/RECORD,,