axio-tui 0.1.0__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.
- axio_tui/__init__.py +1 -0
- axio_tui/__main__.py +32 -0
- axio_tui/app.py +1345 -0
- axio_tui/args.py +40 -0
- axio_tui/plugin.py +129 -0
- axio_tui/prompt.py +357 -0
- axio_tui/screens.py +623 -0
- axio_tui/sqlite_context.py +276 -0
- axio_tui/tools.py +220 -0
- axio_tui/transport_registry.py +210 -0
- axio_tui-0.1.0.dist-info/METADATA +34 -0
- axio_tui-0.1.0.dist-info/RECORD +15 -0
- axio_tui-0.1.0.dist-info/WHEEL +4 -0
- axio_tui-0.1.0.dist-info/entry_points.txt +8 -0
- axio_tui-0.1.0.dist-info/licenses/LICENSE +21 -0
axio_tui/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
axio_tui/__main__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import shlex
|
|
2
|
+
import sys
|
|
3
|
+
|
|
4
|
+
from textual_serve.server import Server
|
|
5
|
+
|
|
6
|
+
from .app import AgentApp
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def main() -> None:
|
|
10
|
+
from .args import Args
|
|
11
|
+
|
|
12
|
+
args = Args().parse_args()
|
|
13
|
+
args.log.configure()
|
|
14
|
+
|
|
15
|
+
if args.serve:
|
|
16
|
+
host, _, port_str = args.web.listen.partition(":")
|
|
17
|
+
port = int(port_str) if port_str else 8086
|
|
18
|
+
host = host or "localhost"
|
|
19
|
+
server = Server(
|
|
20
|
+
command=shlex.join([sys.executable, "-m", "axio_tui"]),
|
|
21
|
+
host=host,
|
|
22
|
+
port=port,
|
|
23
|
+
title="Axio Agent",
|
|
24
|
+
)
|
|
25
|
+
server.serve()
|
|
26
|
+
else:
|
|
27
|
+
app = AgentApp()
|
|
28
|
+
app.run()
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
if __name__ == "__main__":
|
|
32
|
+
main()
|