execution-agent 0.1.0__tar.gz → 0.1.1__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 (43) hide show
  1. {execution_agent-0.1.0/src/execution_agent.egg-info → execution_agent-0.1.1}/PKG-INFO +2 -2
  2. {execution_agent-0.1.0 → execution_agent-0.1.1}/pyproject.toml +2 -2
  3. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/__init__.py +1 -1
  4. execution_agent-0.1.1/src/execution_agent/llm.py +26 -0
  5. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/main.py +1 -4
  6. {execution_agent-0.1.0 → execution_agent-0.1.1/src/execution_agent.egg-info}/PKG-INFO +2 -2
  7. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/SOURCES.txt +1 -0
  8. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/requires.txt +1 -1
  9. {execution_agent-0.1.0 → execution_agent-0.1.1}/LICENSE.md +0 -0
  10. {execution_agent-0.1.0 → execution_agent-0.1.1}/README.md +0 -0
  11. {execution_agent-0.1.0 → execution_agent-0.1.1}/setup.cfg +0 -0
  12. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/__main__.py +0 -0
  13. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/agent.py +0 -0
  14. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/commands_interface.json +0 -0
  15. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/config.py +0 -0
  16. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/context.py +0 -0
  17. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/docker_helpers_static.py +0 -0
  18. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/env.py +0 -0
  19. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/exceptions.py +0 -0
  20. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/exit_artifacts.py +0 -0
  21. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/c_guidelines +0 -0
  22. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/command_stuck +0 -0
  23. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/cpp_guidelines +0 -0
  24. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/cycle_instruction +0 -0
  25. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/java_guidelines +0 -0
  26. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/javascript_guidelines +0 -0
  27. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/latest_containter_technology +0 -0
  28. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/python_guidelines +0 -0
  29. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/remove_progress_bars +0 -0
  30. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/rust_guidelines +0 -0
  31. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/search_workflows_summary +0 -0
  32. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/steps_list.json +0 -0
  33. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/summarize_cycle +0 -0
  34. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/tools_list +0 -0
  35. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_logging.py +0 -0
  36. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/repetition.py +0 -0
  37. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/shared_utils.py +0 -0
  38. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/state_persistence.py +0 -0
  39. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/tools.py +0 -0
  40. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/trace_to_bash.py +0 -0
  41. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/dependency_links.txt +0 -0
  42. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/entry_points.txt +0 -0
  43. {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: execution-agent
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Automated project building and test execution inside Docker containers
5
5
  Author: Islem Bouzenia
6
6
  License: MIT License
@@ -64,7 +64,7 @@ Classifier: Topic :: Software Development :: Build Tools
64
64
  Requires-Python: >=3.10
65
65
  Description-Content-Type: text/markdown
66
66
  License-File: LICENSE.md
67
- Requires-Dist: mini-swe-agent
67
+ Requires-Dist: litellm
68
68
  Requires-Dist: docker
69
69
  Requires-Dist: pydantic>=2.0
70
70
  Requires-Dist: pyyaml
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "execution-agent"
8
- version = "0.1.0"
8
+ version = "0.1.1"
9
9
  description = "Automated project building and test execution inside Docker containers"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.10"
@@ -29,7 +29,7 @@ classifiers = [
29
29
  ]
30
30
 
31
31
  dependencies = [
32
- "mini-swe-agent",
32
+ "litellm",
33
33
  "docker",
34
34
  "pydantic >= 2.0",
35
35
  "pyyaml",
@@ -2,7 +2,7 @@
2
2
 
3
3
  from pathlib import Path
4
4
 
5
- __version__ = "0.1.0"
5
+ __version__ = "0.1.1"
6
6
 
7
7
  package_dir = Path(__file__).resolve().parent
8
8
  prompt_files_dir = package_dir / "prompt_files"
@@ -0,0 +1,26 @@
1
+ """Lightweight LLM wrapper using litellm for plain text completions."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import litellm
6
+
7
+
8
+ class LitellmModel:
9
+ """Simple litellm wrapper that returns plain text responses.
10
+
11
+ Compatible with the .query() interface used throughout execution_agent.
12
+ """
13
+
14
+ def __init__(self, model_name: str, model_kwargs: dict | None = None):
15
+ self.model_name = model_name
16
+ self.model_kwargs = model_kwargs or {}
17
+
18
+ def query(self, messages: list[dict[str, str]], **kwargs) -> dict:
19
+ merged = {**self.model_kwargs, **kwargs}
20
+ response = litellm.completion(
21
+ model=self.model_name,
22
+ messages=messages,
23
+ **merged,
24
+ )
25
+ content = response.choices[0].message.content or ""
26
+ return {"content": content}
@@ -53,11 +53,8 @@ signal.signal(signal.SIGINT, _cleanup_on_shutdown)
53
53
  signal.signal(signal.SIGTERM, _cleanup_on_shutdown)
54
54
  atexit.register(_cleanup_on_shutdown)
55
55
 
56
- import os as _os
57
- _os.environ.setdefault("MSWEA_SILENT_STARTUP", "1")
58
-
59
56
  from execution_agent.prompt_logging import install_cycle_prompt_logging
60
- from minisweagent.models.litellm_model import LitellmModel
57
+ from execution_agent.llm import LitellmModel
61
58
 
62
59
  from execution_agent.agent import ExecutionAgent
63
60
  from execution_agent.env import ExecutionEnvironment
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: execution-agent
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Automated project building and test execution inside Docker containers
5
5
  Author: Islem Bouzenia
6
6
  License: MIT License
@@ -64,7 +64,7 @@ Classifier: Topic :: Software Development :: Build Tools
64
64
  Requires-Python: >=3.10
65
65
  Description-Content-Type: text/markdown
66
66
  License-File: LICENSE.md
67
- Requires-Dist: mini-swe-agent
67
+ Requires-Dist: litellm
68
68
  Requires-Dist: docker
69
69
  Requires-Dist: pydantic>=2.0
70
70
  Requires-Dist: pyyaml
@@ -11,6 +11,7 @@ src/execution_agent/docker_helpers_static.py
11
11
  src/execution_agent/env.py
12
12
  src/execution_agent/exceptions.py
13
13
  src/execution_agent/exit_artifacts.py
14
+ src/execution_agent/llm.py
14
15
  src/execution_agent/main.py
15
16
  src/execution_agent/prompt_logging.py
16
17
  src/execution_agent/repetition.py
@@ -1,4 +1,4 @@
1
- mini-swe-agent
1
+ litellm
2
2
  docker
3
3
  pydantic>=2.0
4
4
  pyyaml