openagent-app 0.1.0__tar.gz

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.
Files changed (28) hide show
  1. openagent_app-0.1.0/PKG-INFO +14 -0
  2. openagent_app-0.1.0/pyproject.toml +49 -0
  3. openagent_app-0.1.0/setup.cfg +4 -0
  4. openagent_app-0.1.0/src/agent_cli/__init__.py +0 -0
  5. openagent_app-0.1.0/src/agent_cli/__main__.py +3 -0
  6. openagent_app-0.1.0/src/agent_cli/app.py +662 -0
  7. openagent_app-0.1.0/src/agent_cli/approval.py +73 -0
  8. openagent_app-0.1.0/src/agent_cli/commands.py +249 -0
  9. openagent_app-0.1.0/src/agent_cli/config.py +61 -0
  10. openagent_app-0.1.0/src/agent_cli/cost.py +85 -0
  11. openagent_app-0.1.0/src/agent_cli/input.py +51 -0
  12. openagent_app-0.1.0/src/agent_cli/main.py +90 -0
  13. openagent_app-0.1.0/src/agent_cli/renderer.py +524 -0
  14. openagent_app-0.1.0/src/agent_cli/session.py +175 -0
  15. openagent_app-0.1.0/src/openagent_app.egg-info/PKG-INFO +14 -0
  16. openagent_app-0.1.0/src/openagent_app.egg-info/SOURCES.txt +26 -0
  17. openagent_app-0.1.0/src/openagent_app.egg-info/dependency_links.txt +1 -0
  18. openagent_app-0.1.0/src/openagent_app.egg-info/entry_points.txt +2 -0
  19. openagent_app-0.1.0/src/openagent_app.egg-info/requires.txt +10 -0
  20. openagent_app-0.1.0/src/openagent_app.egg-info/top_level.txt +1 -0
  21. openagent_app-0.1.0/tests/test_approval.py +137 -0
  22. openagent_app-0.1.0/tests/test_commands.py +203 -0
  23. openagent_app-0.1.0/tests/test_config.py +98 -0
  24. openagent_app-0.1.0/tests/test_cost.py +113 -0
  25. openagent_app-0.1.0/tests/test_main.py +145 -0
  26. openagent_app-0.1.0/tests/test_plan_mode.py +510 -0
  27. openagent_app-0.1.0/tests/test_renderer.py +852 -0
  28. openagent_app-0.1.0/tests/test_session.py +138 -0
@@ -0,0 +1,14 @@
1
+ Metadata-Version: 2.4
2
+ Name: openagent-app
3
+ Version: 0.1.0
4
+ Summary: Terminal interface for OpenAgent
5
+ Requires-Python: >=3.11
6
+ Requires-Dist: rich<15.0,>=14.0
7
+ Requires-Dist: anthropic<1.0,>=0.42
8
+ Requires-Dist: pydantic-settings<3.0,>=2.6
9
+ Requires-Dist: python-dotenv<2.0,>=1.0
10
+ Requires-Dist: prompt-toolkit<4.0,>=3.0
11
+ Requires-Dist: openagent-core<1.0,>=0.1.0
12
+ Provides-Extra: test
13
+ Requires-Dist: pytest>=8.0; extra == "test"
14
+ Requires-Dist: pytest-asyncio>=0.24; extra == "test"
@@ -0,0 +1,49 @@
1
+ [project]
2
+ name = "openagent-app"
3
+ version = "0.1.0"
4
+ description = "Terminal interface for OpenAgent"
5
+ requires-python = ">=3.11"
6
+ dependencies = [
7
+ "rich>=14.0,<15.0",
8
+ "anthropic>=0.42,<1.0",
9
+ "pydantic-settings>=2.6,<3.0",
10
+ "python-dotenv>=1.0,<2.0",
11
+ "prompt-toolkit>=3.0,<4.0",
12
+ "openagent-core>=0.1.0,<1.0",
13
+ ]
14
+
15
+ [project.optional-dependencies]
16
+ test = ["pytest>=8.0", "pytest-asyncio>=0.24"]
17
+
18
+ [project.scripts]
19
+ openagent = "agent_cli.main:main"
20
+
21
+ [build-system]
22
+ requires = ["setuptools>=75"]
23
+ build-backend = "setuptools.build_meta"
24
+
25
+ [tool.setuptools.packages.find]
26
+ where = ["src"]
27
+
28
+ [tool.pytest.ini_options]
29
+ asyncio_mode = "auto"
30
+ testpaths = ["tests"]
31
+
32
+ [tool.ruff]
33
+ target-version = "py311"
34
+ line-length = 100
35
+
36
+ [tool.ruff.lint]
37
+ select = ["E", "F", "W", "I", "N", "UP", "B", "SIM"]
38
+ ignore = ["E501"]
39
+
40
+ [tool.ruff.lint.isort]
41
+ known-first-party = ["agent_cli"]
42
+
43
+ [tool.mypy]
44
+ python_version = "3.11"
45
+ warn_return_any = true
46
+ warn_unused_configs = true
47
+ disallow_untyped_defs = false
48
+ check_untyped_defs = true
49
+ ignore_missing_imports = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
@@ -0,0 +1,3 @@
1
+ from agent_cli.main import main
2
+
3
+ main()