feat: prepare 2.2.0 with UI and execution fixes
Add dark theme, richer Markdown and readable plugin results. Improve Android input evidence, response integrity and diagnostics. Unify lifecycle, guidance receipts and evidence sources across clients. Keep direct action dispatch without an added AI quota approval layer. Align version metadata at 2.2.0 and bundle Helper 1.2.2. Validation: 3063 backend tests before the version bump; 44 after. Frontend: 317 tests and production build passed.
This commit is contained in:
1 parent
83bcfd54d5
commit
fac4ccb760
146 files changed
+5689
-2033
No files matched your search
@@ -19,6 +19,7 @@ from artemis.agents.operator.operator import OperatorNode
|
||||
from artemis.config.agent import MemoryTranscriptConfig
|
||||
from artemis.context import ArtemisContext
|
||||
from artemis.core.tool_failure import ToolFailure
|
||||
from artemis.utils.action_target import observation_anchor
|
||||
import pytest
|
||||
|
||||
# These tests exercise the legacy 2-message prompt path. Since M5 the
|
||||
@@ -126,6 +127,8 @@ async def test_perform_action_validation():
|
||||
"target_bounds": "[100,100][300,500]",
|
||||
"target_resource_id": "btn_1",
|
||||
"target_class": "android.widget.Button",
|
||||
"target_index": 1,
|
||||
**observation_anchor(mock_state),
|
||||
}
|
||||
]
|
||||
|
||||
@@ -156,6 +159,8 @@ async def test_perform_action_validation():
|
||||
"target_bounds": "[300,400][500,600]",
|
||||
"target_resource_id": "input_1",
|
||||
"target_class": "android.widget.EditText",
|
||||
"target_index": 2,
|
||||
**observation_anchor(mock_state),
|
||||
}
|
||||
|
||||
# Test swipe direction
|
||||
@@ -184,6 +189,8 @@ async def test_perform_action_validation():
|
||||
"target_bounds": "[300,400][500,600]",
|
||||
"target_resource_id": "input_1",
|
||||
"target_class": "android.widget.EditText",
|
||||
"target_index": 2,
|
||||
**observation_anchor(mock_state),
|
||||
}
|
||||
]
|
||||
|
||||
@@ -290,6 +297,7 @@ async def test_coordinate_click_requires_and_records_the_models_description():
|
||||
"times": 1,
|
||||
"delay_ms": 100,
|
||||
"target_description": "play button",
|
||||
**observation_anchor(mock_state),
|
||||
}
|
||||
]
|
||||
|
||||
@@ -883,6 +891,8 @@ async def test_long_press_action_translation():
|
||||
"target_bounds": "[100,100][300,500]",
|
||||
"target_resource_id": "btn_1",
|
||||
"target_class": "android.widget.Button",
|
||||
"target_index": 1,
|
||||
**observation_anchor(mock_state),
|
||||
}
|
||||
]
|
||||
|
||||
@@ -910,6 +920,7 @@ async def test_long_press_action_translation():
|
||||
"normalized_coordinates": [500, 600],
|
||||
"duration": 1000,
|
||||
"target_description": "app icon",
|
||||
**observation_anchor(mock_state),
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user