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
@@ -18,6 +18,7 @@ import re
|
||||
from typing import Any
|
||||
import xml.etree.ElementTree as ET
|
||||
from artemis.utils.logger import get_logger
|
||||
from artemis.utils.input_state import input_state
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
@@ -46,8 +47,9 @@ def parse_ui_hierarchy(xml_string: str) -> list[dict[str, Any]]:
|
||||
class_name = attribs.get("class", "")
|
||||
resource_id = attribs.get("resource-id", "")
|
||||
clickable = attribs.get("clickable") == "true"
|
||||
value_evidence = input_state(attribs)
|
||||
|
||||
if text or clickable or resource_id:
|
||||
if text or clickable or resource_id or value_evidence:
|
||||
elements.append(
|
||||
{
|
||||
"text": text,
|
||||
@@ -56,6 +58,7 @@ def parse_ui_hierarchy(xml_string: str) -> list[dict[str, Any]]:
|
||||
"clickable": clickable,
|
||||
"bounds": [x1, y1, x2, y2],
|
||||
"center": [(x1 + x2) // 2, (y1 + y2) // 2],
|
||||
**value_evidence,
|
||||
}
|
||||
)
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user