sugarai 1.5.2__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.
- sugar/__init__.py +0 -0
- sugar/__version__.py +35 -0
- sugar/core/__init__.py +0 -0
- sugar/core/loop.py +1014 -0
- sugar/discovery/__init__.py +0 -0
- sugar/discovery/code_quality.py +408 -0
- sugar/discovery/error_monitor.py +393 -0
- sugar/discovery/github_watcher.py +658 -0
- sugar/discovery/test_coverage.py +494 -0
- sugar/executor/__init__.py +0 -0
- sugar/executor/claude_wrapper.py +846 -0
- sugar/executor/structured_request.py +577 -0
- sugar/learning/__init__.py +0 -0
- sugar/learning/adaptive_scheduler.py +154 -0
- sugar/learning/feedback_processor.py +467 -0
- sugar/main.py +1592 -0
- sugar/storage/__init__.py +0 -0
- sugar/storage/work_queue.py +487 -0
- sugar/utils/__init__.py +0 -0
- sugar/utils/git_operations.py +213 -0
- sugar/workflow/__init__.py +3 -0
- sugar/workflow/orchestrator.py +248 -0
- sugarai-1.5.2.dist-info/METADATA +678 -0
- sugarai-1.5.2.dist-info/RECORD +27 -0
- sugarai-1.5.2.dist-info/WHEEL +5 -0
- sugarai-1.5.2.dist-info/entry_points.txt +2 -0
- sugarai-1.5.2.dist-info/top_level.txt +1 -0
sugar/__init__.py
ADDED
|
File without changes
|
sugar/__version__.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Version information for Sugar"""
|
|
2
|
+
import tomllib
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
def _get_version_from_pyproject():
|
|
6
|
+
"""Read version from pyproject.toml"""
|
|
7
|
+
try:
|
|
8
|
+
pyproject_path = Path(__file__).parent.parent / "pyproject.toml"
|
|
9
|
+
with open(pyproject_path, "rb") as f:
|
|
10
|
+
pyproject = tomllib.load(f)
|
|
11
|
+
return pyproject["project"]["version"]
|
|
12
|
+
except (FileNotFoundError, KeyError, Exception):
|
|
13
|
+
# Fallback version if pyproject.toml can't be read
|
|
14
|
+
return "0.1.0"
|
|
15
|
+
|
|
16
|
+
__version__ = _get_version_from_pyproject()
|
|
17
|
+
__title__ = "Sugar - AI-powered autonomous development system"
|
|
18
|
+
__description__ = "Autonomous development assistant for Claude Code CLI"
|
|
19
|
+
__author__ = "Steven Leggett"
|
|
20
|
+
__author_email__ = "contact@roboticforce.io"
|
|
21
|
+
__url__ = "https://github.com/cdnsteve/sugar"
|
|
22
|
+
|
|
23
|
+
def get_version_info():
|
|
24
|
+
"""Get formatted version information"""
|
|
25
|
+
return f"{__title__} v{__version__}"
|
|
26
|
+
|
|
27
|
+
def get_full_version_info():
|
|
28
|
+
"""Get detailed version information"""
|
|
29
|
+
return f"""
|
|
30
|
+
{__title__} v{__version__}
|
|
31
|
+
{__description__}
|
|
32
|
+
|
|
33
|
+
Author: {__author__} <{__author_email__}>
|
|
34
|
+
Repository: {__url__}
|
|
35
|
+
""".strip()
|
sugar/core/__init__.py
ADDED
|
File without changes
|