AbstractAgent 0.3.4__tar.gz → 0.3.6__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.
- {abstractagent-0.3.4/src/abstractagent.egg-info → abstractagent-0.3.6}/PKG-INFO +11 -11
- {abstractagent-0.3.4 → abstractagent-0.3.6}/pyproject.toml +11 -11
- {abstractagent-0.3.4 → abstractagent-0.3.6/src/abstractagent.egg-info}/PKG-INFO +11 -11
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent.egg-info/SOURCES.txt +1 -0
- abstractagent-0.3.6/src/abstractagent.egg-info/requires.txt +24 -0
- abstractagent-0.3.6/tests/test_packaging_profiles.py +43 -0
- abstractagent-0.3.4/src/abstractagent.egg-info/requires.txt +0 -24
- {abstractagent-0.3.4 → abstractagent-0.3.6}/LICENSE +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/README.md +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/setup.cfg +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/adapters/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/adapters/codeact_runtime.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/adapters/generation_params.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/adapters/media.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/adapters/memact_runtime.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/adapters/react_runtime.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/agents/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/agents/base.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/agents/codeact.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/agents/memact.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/agents/react.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/logic/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/logic/builtins.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/logic/codeact.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/logic/memact.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/logic/react.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/logic/types.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/repl.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/sandbox/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/sandbox/interface.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/sandbox/local.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/scripts/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/scripts/lmstudio_tool_eval.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/tools/__init__.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/tools/code_execution.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent/tools/self_improve.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent.egg-info/dependency_links.txt +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent.egg-info/entry_points.txt +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/src/abstractagent.egg-info/top_level.txt +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_active_context_policy_adoption.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_agent_plan_review_modes.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_agents_integration_llm.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_base_agent_trace_accessors.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_builtin_tool_specs_optional_defaults.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_codeact_logic.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_codeact_runtime_verifier_policy.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_generation_params_media_policies.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_llm_call_payload_requires_prompt_or_messages.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_memact_session_memory.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_memact_workflow.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_memory_recall_tool.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_open_attachment_tool_available.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_active_attachments_disable_tools_first_iteration.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_adapter_forwards_context_attachments_media.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_delegate_agent_tool.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_logic.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_loop_context_transcript_levels.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_loop_followthrough_retry.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_loop_side_effect_dedupe_comms.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_loop_truncated_output_retry.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_max_iterations_concludes.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_planish_heuristic.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_workflow_system_prompt_and_tools_override.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_workflow_toolset_refresh.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_run_start_seeds_runtime_provider_model.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_session_memory.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_tool_observe_emits_result_for_tui.py +0 -0
- {abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_tools_editing.py +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: abstractagent
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Agent implementations using AbstractRuntime and AbstractCore
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
|
-
Requires-Dist: abstractcore[tools]>=2.13.
|
|
9
|
-
Requires-Dist: abstractruntime>=0.4.
|
|
8
|
+
Requires-Dist: abstractcore[tools]>=2.13.12
|
|
9
|
+
Requires-Dist: abstractruntime>=0.4.9
|
|
10
10
|
Provides-Extra: apple
|
|
11
|
-
Requires-Dist: abstractcore[apple]>=2.13.
|
|
12
|
-
Requires-Dist: abstractruntime[apple]>=0.4.
|
|
11
|
+
Requires-Dist: abstractcore[apple]>=2.13.12; extra == "apple"
|
|
12
|
+
Requires-Dist: abstractruntime[apple]>=0.4.9; extra == "apple"
|
|
13
13
|
Provides-Extra: gpu
|
|
14
|
-
Requires-Dist: abstractcore[gpu]>=2.13.
|
|
15
|
-
Requires-Dist: abstractruntime[gpu]>=0.4.
|
|
14
|
+
Requires-Dist: abstractcore[gpu]>=2.13.12; extra == "gpu"
|
|
15
|
+
Requires-Dist: abstractruntime[gpu]>=0.4.9; extra == "gpu"
|
|
16
16
|
Provides-Extra: all-apple
|
|
17
|
-
Requires-Dist: abstractcore[all-apple]>=2.13.
|
|
18
|
-
Requires-Dist: abstractruntime[all-apple]>=0.4.
|
|
17
|
+
Requires-Dist: abstractcore[all-apple]>=2.13.12; extra == "all-apple"
|
|
18
|
+
Requires-Dist: abstractruntime[all-apple]>=0.4.9; extra == "all-apple"
|
|
19
19
|
Provides-Extra: all-gpu
|
|
20
|
-
Requires-Dist: abstractcore[all-gpu]>=2.13.
|
|
21
|
-
Requires-Dist: abstractruntime[all-gpu]>=0.4.
|
|
20
|
+
Requires-Dist: abstractcore[all-gpu]>=2.13.12; extra == "all-gpu"
|
|
21
|
+
Requires-Dist: abstractruntime[all-gpu]>=0.4.9; extra == "all-gpu"
|
|
22
22
|
Provides-Extra: dev
|
|
23
23
|
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
24
24
|
Provides-Extra: test
|
|
@@ -4,31 +4,31 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "abstractagent"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.6"
|
|
8
8
|
description = "Agent implementations using AbstractRuntime and AbstractCore"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
dependencies = [
|
|
12
|
-
"abstractcore[tools]>=2.13.
|
|
13
|
-
"abstractruntime>=0.4.
|
|
12
|
+
"abstractcore[tools]>=2.13.12",
|
|
13
|
+
"abstractruntime>=0.4.9",
|
|
14
14
|
]
|
|
15
15
|
|
|
16
16
|
[project.optional-dependencies]
|
|
17
17
|
apple = [
|
|
18
|
-
"abstractcore[apple]>=2.13.
|
|
19
|
-
"abstractruntime[apple]>=0.4.
|
|
18
|
+
"abstractcore[apple]>=2.13.12",
|
|
19
|
+
"abstractruntime[apple]>=0.4.9",
|
|
20
20
|
]
|
|
21
21
|
gpu = [
|
|
22
|
-
"abstractcore[gpu]>=2.13.
|
|
23
|
-
"abstractruntime[gpu]>=0.4.
|
|
22
|
+
"abstractcore[gpu]>=2.13.12",
|
|
23
|
+
"abstractruntime[gpu]>=0.4.9",
|
|
24
24
|
]
|
|
25
25
|
all-apple = [
|
|
26
|
-
"abstractcore[all-apple]>=2.13.
|
|
27
|
-
"abstractruntime[all-apple]>=0.4.
|
|
26
|
+
"abstractcore[all-apple]>=2.13.12",
|
|
27
|
+
"abstractruntime[all-apple]>=0.4.9",
|
|
28
28
|
]
|
|
29
29
|
all-gpu = [
|
|
30
|
-
"abstractcore[all-gpu]>=2.13.
|
|
31
|
-
"abstractruntime[all-gpu]>=0.4.
|
|
30
|
+
"abstractcore[all-gpu]>=2.13.12",
|
|
31
|
+
"abstractruntime[all-gpu]>=0.4.9",
|
|
32
32
|
]
|
|
33
33
|
dev = [
|
|
34
34
|
"pytest>=7.0",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: abstractagent
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Agent implementations using AbstractRuntime and AbstractCore
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
|
-
Requires-Dist: abstractcore[tools]>=2.13.
|
|
9
|
-
Requires-Dist: abstractruntime>=0.4.
|
|
8
|
+
Requires-Dist: abstractcore[tools]>=2.13.12
|
|
9
|
+
Requires-Dist: abstractruntime>=0.4.9
|
|
10
10
|
Provides-Extra: apple
|
|
11
|
-
Requires-Dist: abstractcore[apple]>=2.13.
|
|
12
|
-
Requires-Dist: abstractruntime[apple]>=0.4.
|
|
11
|
+
Requires-Dist: abstractcore[apple]>=2.13.12; extra == "apple"
|
|
12
|
+
Requires-Dist: abstractruntime[apple]>=0.4.9; extra == "apple"
|
|
13
13
|
Provides-Extra: gpu
|
|
14
|
-
Requires-Dist: abstractcore[gpu]>=2.13.
|
|
15
|
-
Requires-Dist: abstractruntime[gpu]>=0.4.
|
|
14
|
+
Requires-Dist: abstractcore[gpu]>=2.13.12; extra == "gpu"
|
|
15
|
+
Requires-Dist: abstractruntime[gpu]>=0.4.9; extra == "gpu"
|
|
16
16
|
Provides-Extra: all-apple
|
|
17
|
-
Requires-Dist: abstractcore[all-apple]>=2.13.
|
|
18
|
-
Requires-Dist: abstractruntime[all-apple]>=0.4.
|
|
17
|
+
Requires-Dist: abstractcore[all-apple]>=2.13.12; extra == "all-apple"
|
|
18
|
+
Requires-Dist: abstractruntime[all-apple]>=0.4.9; extra == "all-apple"
|
|
19
19
|
Provides-Extra: all-gpu
|
|
20
|
-
Requires-Dist: abstractcore[all-gpu]>=2.13.
|
|
21
|
-
Requires-Dist: abstractruntime[all-gpu]>=0.4.
|
|
20
|
+
Requires-Dist: abstractcore[all-gpu]>=2.13.12; extra == "all-gpu"
|
|
21
|
+
Requires-Dist: abstractruntime[all-gpu]>=0.4.9; extra == "all-gpu"
|
|
22
22
|
Provides-Extra: dev
|
|
23
23
|
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
24
24
|
Provides-Extra: test
|
|
@@ -47,6 +47,7 @@ tests/test_memact_session_memory.py
|
|
|
47
47
|
tests/test_memact_workflow.py
|
|
48
48
|
tests/test_memory_recall_tool.py
|
|
49
49
|
tests/test_open_attachment_tool_available.py
|
|
50
|
+
tests/test_packaging_profiles.py
|
|
50
51
|
tests/test_react_active_attachments_disable_tools_first_iteration.py
|
|
51
52
|
tests/test_react_adapter_forwards_context_attachments_media.py
|
|
52
53
|
tests/test_react_delegate_agent_tool.py
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
abstractcore[tools]>=2.13.12
|
|
2
|
+
abstractruntime>=0.4.9
|
|
3
|
+
|
|
4
|
+
[all-apple]
|
|
5
|
+
abstractcore[all-apple]>=2.13.12
|
|
6
|
+
abstractruntime[all-apple]>=0.4.9
|
|
7
|
+
|
|
8
|
+
[all-gpu]
|
|
9
|
+
abstractcore[all-gpu]>=2.13.12
|
|
10
|
+
abstractruntime[all-gpu]>=0.4.9
|
|
11
|
+
|
|
12
|
+
[apple]
|
|
13
|
+
abstractcore[apple]>=2.13.12
|
|
14
|
+
abstractruntime[apple]>=0.4.9
|
|
15
|
+
|
|
16
|
+
[dev]
|
|
17
|
+
pytest>=7.0
|
|
18
|
+
|
|
19
|
+
[gpu]
|
|
20
|
+
abstractcore[gpu]>=2.13.12
|
|
21
|
+
abstractruntime[gpu]>=0.4.9
|
|
22
|
+
|
|
23
|
+
[test]
|
|
24
|
+
pytest>=7.0
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
import tomllib
|
|
7
|
+
except ModuleNotFoundError: # pragma: no cover
|
|
8
|
+
import tomli as tomllib # type: ignore
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _project() -> dict:
|
|
15
|
+
return tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))["project"]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def test_base_dependency_floors_match_gateway_alignment() -> None:
|
|
19
|
+
deps = set(_project()["dependencies"])
|
|
20
|
+
|
|
21
|
+
assert "abstractcore[tools]>=2.13.12" in deps
|
|
22
|
+
assert "abstractruntime>=0.4.9" in deps
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def test_hardware_profile_extras_are_core_runtime_cascades() -> None:
|
|
26
|
+
extras = _project()["optional-dependencies"]
|
|
27
|
+
|
|
28
|
+
assert set(extras["apple"]) == {
|
|
29
|
+
"abstractcore[apple]>=2.13.12",
|
|
30
|
+
"abstractruntime[apple]>=0.4.9",
|
|
31
|
+
}
|
|
32
|
+
assert set(extras["gpu"]) == {
|
|
33
|
+
"abstractcore[gpu]>=2.13.12",
|
|
34
|
+
"abstractruntime[gpu]>=0.4.9",
|
|
35
|
+
}
|
|
36
|
+
assert set(extras["all-apple"]) == {
|
|
37
|
+
"abstractcore[all-apple]>=2.13.12",
|
|
38
|
+
"abstractruntime[all-apple]>=0.4.9",
|
|
39
|
+
}
|
|
40
|
+
assert set(extras["all-gpu"]) == {
|
|
41
|
+
"abstractcore[all-gpu]>=2.13.12",
|
|
42
|
+
"abstractruntime[all-gpu]>=0.4.9",
|
|
43
|
+
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
abstractcore[tools]>=2.13.11
|
|
2
|
-
abstractruntime>=0.4.7
|
|
3
|
-
|
|
4
|
-
[all-apple]
|
|
5
|
-
abstractcore[all-apple]>=2.13.11
|
|
6
|
-
abstractruntime[all-apple]>=0.4.7
|
|
7
|
-
|
|
8
|
-
[all-gpu]
|
|
9
|
-
abstractcore[all-gpu]>=2.13.11
|
|
10
|
-
abstractruntime[all-gpu]>=0.4.7
|
|
11
|
-
|
|
12
|
-
[apple]
|
|
13
|
-
abstractcore[apple]>=2.13.11
|
|
14
|
-
abstractruntime[apple]>=0.4.7
|
|
15
|
-
|
|
16
|
-
[dev]
|
|
17
|
-
pytest>=7.0
|
|
18
|
-
|
|
19
|
-
[gpu]
|
|
20
|
-
abstractcore[gpu]>=2.13.11
|
|
21
|
-
abstractruntime[gpu]>=0.4.7
|
|
22
|
-
|
|
23
|
-
[test]
|
|
24
|
-
pytest>=7.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_builtin_tool_specs_optional_defaults.py
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_loop_context_transcript_levels.py
RENAMED
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_react_loop_side_effect_dedupe_comms.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstractagent-0.3.4 → abstractagent-0.3.6}/tests/test_run_start_seeds_runtime_provider_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|