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.
- {execution_agent-0.1.0/src/execution_agent.egg-info → execution_agent-0.1.1}/PKG-INFO +2 -2
- {execution_agent-0.1.0 → execution_agent-0.1.1}/pyproject.toml +2 -2
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/__init__.py +1 -1
- execution_agent-0.1.1/src/execution_agent/llm.py +26 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/main.py +1 -4
- {execution_agent-0.1.0 → execution_agent-0.1.1/src/execution_agent.egg-info}/PKG-INFO +2 -2
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/SOURCES.txt +1 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/requires.txt +1 -1
- {execution_agent-0.1.0 → execution_agent-0.1.1}/LICENSE.md +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/README.md +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/setup.cfg +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/__main__.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/agent.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/commands_interface.json +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/config.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/context.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/docker_helpers_static.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/env.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/exceptions.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/exit_artifacts.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/c_guidelines +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/command_stuck +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/cpp_guidelines +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/cycle_instruction +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/java_guidelines +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/javascript_guidelines +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/latest_containter_technology +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/python_guidelines +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/remove_progress_bars +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/rust_guidelines +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/search_workflows_summary +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/steps_list.json +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/summarize_cycle +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/tools_list +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_logging.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/repetition.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/shared_utils.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/state_persistence.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/tools.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/trace_to_bash.py +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/dependency_links.txt +0 -0
- {execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/entry_points.txt +0 -0
- {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.
|
|
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:
|
|
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.
|
|
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
|
-
"
|
|
32
|
+
"litellm",
|
|
33
33
|
"docker",
|
|
34
34
|
"pydantic >= 2.0",
|
|
35
35
|
"pyyaml",
|
|
@@ -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
|
|
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.
|
|
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:
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/docker_helpers_static.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/c_guidelines
RENAMED
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/command_stuck
RENAMED
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/cpp_guidelines
RENAMED
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/cycle_instruction
RENAMED
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/java_guidelines
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/python_guidelines
RENAMED
|
File without changes
|
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/rust_guidelines
RENAMED
|
File without changes
|
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/steps_list.json
RENAMED
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent/prompt_files/summarize_cycle
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{execution_agent-0.1.0 → execution_agent-0.1.1}/src/execution_agent.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|