mini-swe-agent 1.1.0__tar.gz → 1.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 (52) hide show
  1. {mini_swe_agent-1.1.0/src/mini_swe_agent.egg-info → mini_swe_agent-1.1.1}/PKG-INFO +3 -3
  2. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/README.md +2 -2
  3. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1/src/mini_swe_agent.egg-info}/PKG-INFO +3 -3
  4. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/mini_swe_agent.egg-info/SOURCES.txt +2 -3
  5. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/__init__.py +3 -3
  6. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/agents/interactive_textual.py +1 -3
  7. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/config/README.md +1 -1
  8. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/models/__init__.py +1 -1
  9. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/inspector.py +1 -1
  10. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/mini.py +1 -1
  11. mini_swe_agent-1.1.0/src/minisweagent/config/__pycache__/__init__.cpython-313.pyc +0 -0
  12. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/LICENSE.md +0 -0
  13. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/pyproject.toml +0 -0
  14. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/setup.cfg +0 -0
  15. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/mini_swe_agent.egg-info/dependency_links.txt +0 -0
  16. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/mini_swe_agent.egg-info/entry_points.txt +0 -0
  17. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/mini_swe_agent.egg-info/requires.txt +0 -0
  18. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/mini_swe_agent.egg-info/top_level.txt +0 -0
  19. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/__main__.py +0 -0
  20. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/agents/__init__.py +0 -0
  21. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/agents/default.py +0 -0
  22. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/agents/interactive.py +0 -0
  23. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/config/__init__.py +0 -0
  24. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/config/default.yaml +0 -0
  25. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/config/extra/__init__.py +0 -0
  26. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/config/extra/swebench.yaml +0 -0
  27. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/config/github_issue.yaml +0 -0
  28. /mini_swe_agent-1.1.0/src/minisweagent/config/local2.tcss → /mini_swe_agent-1.1.1/src/minisweagent/config/mini.tcss +0 -0
  29. /mini_swe_agent-1.1.0/src/minisweagent/config/local.yaml → /mini_swe_agent-1.1.1/src/minisweagent/config/mini.yaml +0 -0
  30. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/environments/__init__.py +0 -0
  31. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/environments/docker.py +0 -0
  32. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/environments/extra/__init__.py +0 -0
  33. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/environments/extra/swerex_docker.py +0 -0
  34. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/environments/local.py +0 -0
  35. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/environments/singularity.py +0 -0
  36. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/models/anthropic.py +0 -0
  37. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/models/litellm_model.py +0 -0
  38. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/models/test_models.py +0 -0
  39. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/models/utils/cache_control.py +0 -0
  40. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/models/utils/key_per_thread.py +0 -0
  41. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/py.typed +0 -0
  42. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/__init__.py +0 -0
  43. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/extra/__init__.py +0 -0
  44. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/extra/config.py +0 -0
  45. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/extra/swebench.py +0 -0
  46. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/extra/swebench_single.py +0 -0
  47. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/extra/utils/batch_progress.py +0 -0
  48. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/github_issue.py +0 -0
  49. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/hello_world.py +0 -0
  50. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/mini_extra.py +0 -0
  51. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/utils/__init__.py +0 -0
  52. {mini_swe_agent-1.1.0 → mini_swe_agent-1.1.1}/src/minisweagent/run/utils/save.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mini-swe-agent
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Nano SWE Agent - A simple AI software engineering agent
5
5
  Author-email: Kilian Lieret <kilian.lieret@posteo.de>, "Carlos E. Jimenez" <carlosej@princeton.edu>
6
6
  License: MIT License
@@ -74,11 +74,11 @@ Dynamic: license-file
74
74
 
75
75
  [![Docs](https://img.shields.io/badge/Docs-green?style=for-the-badge&logo=materialformkdocs&logoColor=white)](https://mini-swe-agent.com/latest/)
76
76
  [![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ)
77
- ![PyPI - Version](https://img.shields.io/pypi/v/mini-swe-agent?style=for-the-badge&logo=python&logoColor=white&labelColor=black&color=deeppink)
77
+ [![PyPI - Version](https://img.shields.io/pypi/v/mini-swe-agent?style=for-the-badge&logo=python&logoColor=white&labelColor=black&color=deeppink)](https://pypi.org/project/mini-swe-agent/)
78
78
 
79
79
  </div>
80
80
 
81
- In 2024, [SWE-bench](https://swebench.com) & [SWE-agent](https://swe-agent.com) helped kickstart the agentic AI for software revolution.
81
+ In 2024, [SWE-bench](https://github.com/swe-bench/SWE-bench) & [SWE-agent](https://github.com/swe-agent/swe-agent) helped kickstart the agentic AI for software revolution.
82
82
 
83
83
  We now ask: **What if SWE-agent was 100x smaller, and still worked nearly as well?**
84
84
 
@@ -6,11 +6,11 @@
6
6
 
7
7
  [![Docs](https://img.shields.io/badge/Docs-green?style=for-the-badge&logo=materialformkdocs&logoColor=white)](https://mini-swe-agent.com/latest/)
8
8
  [![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ)
9
- ![PyPI - Version](https://img.shields.io/pypi/v/mini-swe-agent?style=for-the-badge&logo=python&logoColor=white&labelColor=black&color=deeppink)
9
+ [![PyPI - Version](https://img.shields.io/pypi/v/mini-swe-agent?style=for-the-badge&logo=python&logoColor=white&labelColor=black&color=deeppink)](https://pypi.org/project/mini-swe-agent/)
10
10
 
11
11
  </div>
12
12
 
13
- In 2024, [SWE-bench](https://swebench.com) & [SWE-agent](https://swe-agent.com) helped kickstart the agentic AI for software revolution.
13
+ In 2024, [SWE-bench](https://github.com/swe-bench/SWE-bench) & [SWE-agent](https://github.com/swe-agent/swe-agent) helped kickstart the agentic AI for software revolution.
14
14
 
15
15
  We now ask: **What if SWE-agent was 100x smaller, and still worked nearly as well?**
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mini-swe-agent
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Nano SWE Agent - A simple AI software engineering agent
5
5
  Author-email: Kilian Lieret <kilian.lieret@posteo.de>, "Carlos E. Jimenez" <carlosej@princeton.edu>
6
6
  License: MIT License
@@ -74,11 +74,11 @@ Dynamic: license-file
74
74
 
75
75
  [![Docs](https://img.shields.io/badge/Docs-green?style=for-the-badge&logo=materialformkdocs&logoColor=white)](https://mini-swe-agent.com/latest/)
76
76
  [![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://join.slack.com/t/swe-bench/shared_invite/zt-36pj9bu5s-o3_yXPZbaH2wVnxnss1EkQ)
77
- ![PyPI - Version](https://img.shields.io/pypi/v/mini-swe-agent?style=for-the-badge&logo=python&logoColor=white&labelColor=black&color=deeppink)
77
+ [![PyPI - Version](https://img.shields.io/pypi/v/mini-swe-agent?style=for-the-badge&logo=python&logoColor=white&labelColor=black&color=deeppink)](https://pypi.org/project/mini-swe-agent/)
78
78
 
79
79
  </div>
80
80
 
81
- In 2024, [SWE-bench](https://swebench.com) & [SWE-agent](https://swe-agent.com) helped kickstart the agentic AI for software revolution.
81
+ In 2024, [SWE-bench](https://github.com/swe-bench/SWE-bench) & [SWE-agent](https://github.com/swe-agent/swe-agent) helped kickstart the agentic AI for software revolution.
82
82
 
83
83
  We now ask: **What if SWE-agent was 100x smaller, and still worked nearly as well?**
84
84
 
@@ -18,9 +18,8 @@ src/minisweagent/config/README.md
18
18
  src/minisweagent/config/__init__.py
19
19
  src/minisweagent/config/default.yaml
20
20
  src/minisweagent/config/github_issue.yaml
21
- src/minisweagent/config/local.yaml
22
- src/minisweagent/config/local2.tcss
23
- src/minisweagent/config/__pycache__/__init__.cpython-313.pyc
21
+ src/minisweagent/config/mini.tcss
22
+ src/minisweagent/config/mini.yaml
24
23
  src/minisweagent/config/extra/__init__.py
25
24
  src/minisweagent/config/extra/swebench.yaml
26
25
  src/minisweagent/environments/__init__.py
@@ -8,7 +8,7 @@ This file provides:
8
8
  unless you want the static type checking.
9
9
  """
10
10
 
11
- __version__ = "1.1.0"
11
+ __version__ = "1.1.1"
12
12
 
13
13
  import os
14
14
  from pathlib import Path
@@ -20,11 +20,11 @@ from rich.console import Console
20
20
 
21
21
  package_dir = Path(__file__).resolve().parent
22
22
 
23
- global_config_dir = Path(os.getenv("MINI_SWE_AGENT_GLOBAL_CONFIG_DIR") or user_config_dir("mini-swe-agent"))
23
+ global_config_dir = Path(os.getenv("MSWEA_GLOBAL_CONFIG_DIR") or user_config_dir("mini-swe-agent"))
24
24
  global_config_dir.mkdir(parents=True, exist_ok=True)
25
25
  global_config_file = Path(global_config_dir) / ".env"
26
26
 
27
- if not os.getenv("MINI_SWE_AGENT_SILENT_STARTUP"):
27
+ if not os.getenv("MSWEA_SILENT_STARTUP"):
28
28
  Console().print(
29
29
  f"👋 This is [bold green]mini-swe-agent[/bold green] version [bold green]{__version__}[/bold green].\n"
30
30
  f"Your config is stored in [bold green]'{global_config_file}'[/bold green]"
@@ -174,9 +174,7 @@ class AgentApp(App):
174
174
  ]
175
175
 
176
176
  def __init__(self, model, env, task: str, **kwargs):
177
- css_path = os.environ.get(
178
- "MSWEA_LOCAL2_STYLE_PATH", str(Path(__file__).parent.parent / "config" / "local2.tcss")
179
- )
177
+ css_path = os.environ.get("MSWEA_MINI_STYLE_PATH", str(Path(__file__).parent.parent / "config" / "mini.tcss"))
180
178
  self.__class__.CSS = Path(css_path).read_text()
181
179
  super().__init__()
182
180
  self.agent_state = "UNINITIALIZED"
@@ -1,6 +1,6 @@
1
1
  # Configs
2
2
 
3
- * `local.yaml` - Default config for `mini`/`agents/interactive.py` or `mini -v`/`agents/interactive_textual.py` agent.
3
+ * `mini.yaml` - Default config for `mini`/`agents/interactive.py` or `mini -v`/`agents/interactive_textual.py` agent.
4
4
  * `default.yaml` - Default config for the `default.py` agent.
5
5
  * `github_issue.yaml` - Config for the `run/github_issue.py` entry point.
6
6
 
@@ -18,7 +18,7 @@ class GlobalModelStats:
18
18
  self._lock = threading.Lock()
19
19
  self.cost_limit = float(os.getenv("MSWEA_GLOBAL_COST_LIMIT", "0"))
20
20
  self.call_limit = int(os.getenv("MSWEA_GLOBAL_CALL_LIMIT", "0"))
21
- if (self.cost_limit > 0 or self.call_limit > 0) and not os.getenv("MINI_SWE_AGENT_SILENT_STARTUP"):
21
+ if (self.cost_limit > 0 or self.call_limit > 0) and not os.getenv("MSWEA_SILENT_STARTUP"):
22
22
  print(f"Global cost/call limit: ${self.cost_limit:.4f} / {self.call_limit}")
23
23
 
24
24
  def add(self, cost: float) -> None:
@@ -38,7 +38,7 @@ class TrajectoryInspector(App):
38
38
 
39
39
  def __init__(self, trajectory_files: list[Path]):
40
40
  css_path = os.environ.get(
41
- "MSWEA_INSPECTOR_STYLE_PATH", str(Path(__file__).parent.parent / "config" / "local2.tcss")
41
+ "MSWEA_INSPECTOR_STYLE_PATH", str(Path(__file__).parent.parent / "config" / "mini.tcss")
42
42
  )
43
43
  self.__class__.CSS = Path(css_path).read_text()
44
44
 
@@ -32,7 +32,7 @@ from minisweagent.models import get_model
32
32
  from minisweagent.run.extra.config import configure_if_first_time
33
33
  from minisweagent.run.utils.save import save_traj
34
34
 
35
- DEFAULT_CONFIG = Path(os.getenv("MSWEA_LOCAL_CONFIG_PATH", builtin_config_dir / "local.yaml"))
35
+ DEFAULT_CONFIG = Path(os.getenv("MSWEA_MINI_CONFIG_PATH", builtin_config_dir / "mini.yaml"))
36
36
  console = Console(highlight=False)
37
37
  app = typer.Typer(rich_markup_mode="rich")
38
38
  prompt_session = PromptSession(history=FileHistory(global_config_dir / "mini_task_history.txt"))
File without changes