a2c-tui 0.2.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.
- a2c_tui/__init__.py +1 -0
- a2c_tui/app.py +45 -0
- a2c_tui/screens/__init__.py +1 -0
- a2c_tui-0.2.1.dist-info/METADATA +42 -0
- a2c_tui-0.2.1.dist-info/RECORD +8 -0
- a2c_tui-0.2.1.dist-info/WHEEL +5 -0
- a2c_tui-0.2.1.dist-info/entry_points.txt +2 -0
- a2c_tui-0.2.1.dist-info/top_level.txt +1 -0
a2c_tui/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""A2C Textual TUI — interactive terminal UI over a2c_core."""
|
a2c_tui/app.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Minimal Textual application scaffold."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from textual.app import App, ComposeResult
|
|
6
|
+
from textual.widgets import Footer, Header, Static
|
|
7
|
+
|
|
8
|
+
from a2c_core import __version__
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class A2CApp(App[None]):
|
|
12
|
+
"""Root Textual application (Milestone 4 expands screens)."""
|
|
13
|
+
|
|
14
|
+
TITLE = "A2C"
|
|
15
|
+
SUB_TITLE = f"v{__version__} — scaffold"
|
|
16
|
+
|
|
17
|
+
def compose(self) -> ComposeResult:
|
|
18
|
+
yield Header()
|
|
19
|
+
yield Static(
|
|
20
|
+
"A2C TUI scaffold\n\n"
|
|
21
|
+
"Core services and screens arrive in later milestones.\n"
|
|
22
|
+
"Press q to quit.",
|
|
23
|
+
id="welcome",
|
|
24
|
+
)
|
|
25
|
+
yield Footer()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def main() -> None:
|
|
29
|
+
"""Launch the A2C Textual application."""
|
|
30
|
+
import sys
|
|
31
|
+
|
|
32
|
+
if len(sys.argv) > 1:
|
|
33
|
+
arg = sys.argv[1]
|
|
34
|
+
if arg in {"--help", "-h"}:
|
|
35
|
+
print("Usage: a2c-tui")
|
|
36
|
+
print("Launch the A2C Textual interactive UI.")
|
|
37
|
+
raise SystemExit(0)
|
|
38
|
+
if arg in {"--version", "-V"}:
|
|
39
|
+
print(f"a2c-tui {__version__}")
|
|
40
|
+
raise SystemExit(0)
|
|
41
|
+
A2CApp().run()
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
if __name__ == "__main__":
|
|
45
|
+
main()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""TUI screens (Milestone 4+)."""
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: a2c-tui
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: A2C Textual terminal UI over a2c-core
|
|
5
|
+
Author-email: Michel Gillet <michel.gillet@libesys.org>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://gitlab.com/libesys/ai-workflows/a2c-workflow
|
|
8
|
+
Project-URL: Repository, https://gitlab.com/libesys/ai-workflows/a2c-workflow.git
|
|
9
|
+
Project-URL: Documentation, https://gitlab.com/libesys/ai-workflows/a2c-workflow/-/tree/develop/docs/architecture
|
|
10
|
+
Keywords: a2c,architecture,tui,textual,workflow
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
19
|
+
Requires-Python: >=3.11
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
Requires-Dist: a2c-core==0.2.1
|
|
22
|
+
Requires-Dist: textual>=0.47
|
|
23
|
+
|
|
24
|
+
# a2c-tui
|
|
25
|
+
|
|
26
|
+
Textual terminal UI for A2C — interactive workflows over `a2c-core`.
|
|
27
|
+
|
|
28
|
+
Part of the [a2c-workflow](https://gitlab.com/libesys/ai-workflows/a2c-workflow) product.
|
|
29
|
+
Lockstep version with `a2c-core` and `a2c-cli`.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install a2c-tui
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Console command: `a2c-tui`
|
|
38
|
+
|
|
39
|
+
## Documentation
|
|
40
|
+
|
|
41
|
+
- [Product development](https://gitlab.com/libesys/ai-workflows/a2c-workflow/-/blob/develop/docs/product-development.md)
|
|
42
|
+
- [Package publishing](https://gitlab.com/libesys/ai-workflows/a2c-workflow/-/blob/develop/docs/package-publishing.md)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
a2c_tui/__init__.py,sha256=Bvfr7s1q56vuYpUXd0HgMbIC1rbEWOSZZYLccfalRKY,65
|
|
2
|
+
a2c_tui/app.py,sha256=obyhQFthAaPAcrNqBp6pb1gr95RrzpSfGHhFSHZ_W7g,1124
|
|
3
|
+
a2c_tui/screens/__init__.py,sha256=muXSFY6ut8mjPCUJLXoxMvcWG5PLgoadZ_O3W85p5Gk,34
|
|
4
|
+
a2c_tui-0.2.1.dist-info/METADATA,sha256=6QnihkijvR35nU8XOFOQZHaTr4aQ9WRd9N4tUM9V_v4,1563
|
|
5
|
+
a2c_tui-0.2.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
6
|
+
a2c_tui-0.2.1.dist-info/entry_points.txt,sha256=IfdnUfrLNAcacTkGYKy1ki_CuTfOPA-YP2XaBf7ZvHc,45
|
|
7
|
+
a2c_tui-0.2.1.dist-info/top_level.txt,sha256=-V4V_dKUuNJ2OJDfGoKf9J0nRL4lEC1jRDRlq2MvmTQ,8
|
|
8
|
+
a2c_tui-0.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a2c_tui
|