127 Commits
Author SHA1 Message Date
chenmingxuan cec9898e4c chore: release 1.0.1 v1.0.1 2026-09-23 02:04:42 +08:00
chenmingxuan 60ac066859 fix: make task IDs selectable and copyable with feedback 2026-09-23 01:53:06 +08:00
chenmingxuan 9d6833f092 fix: normalize Pro action targets and bound no-progress recovery 2026-09-23 01:34:10 +08:00
chenmingxuan 2ec563c079 fix: support max reasoning and custom model selection for 1.0.0 v1.0.0 2026-09-23 00:24:35 +08:00
chenmingxuan e1185a5104 docs: add agent guides and simplify Chinese README 2026-09-23 00:13:20 +08:00
chenmingxuan 8e757d4626 fix: exclude local Roo MCP settings from source archives
CI / Python 3.12 / ubuntu-latest (push) Canceled after 0s
CI / Python 3.12 / windows-latest (push) Canceled after 0s
CI / Frontend tests and production build (push) Canceled after 0s
CI / Build and smoke-test Python packages (push) Canceled after 0s
2026-09-22 23:51:41 +08:00
chenmingxuan 7b1a0755e2 feat: enable full AI automation and safe startup updates 2026-09-22 23:50:03 +08:00
chenmingxuan 2ddec53954 feat: add Chinese UI, Responses models, and mirrored Windows setup
CI / Python 3.12 / ubuntu-latest (push) Canceled after 0s
CI / Python 3.12 / windows-latest (push) Canceled after 0s
CI / Frontend tests and production build (push) Canceled after 0s
CI / Build and smoke-test Python packages (push) Canceled after 0s
Localize the web console and persist custom model and capability settings.
Use OpenAI Responses exclusively and move runtime limits into environment configuration.
Bootstrap uv and the virtual environment on Windows, support optional China mirrors,
and package source distributions without environments, build output, or credentials.

Update regression tests and repository quality checks for the new behavior.
2026-09-22 19:16:17 +08:00
somew1nd 371aa6df56 fix: complete README and relevant file headers per Apache 2.0 requirements 2026-09-11 19:59:56 -07:00
somew1nd 1d9eb44e9b Merge pull request #60 from google/playground-submit
Revert "refactor: clean up legacy code, rename hopper to entity_extra…
2026-09-11 19:37:23 -07:00
yaoyao-open-source 1d82d59ec8 Revert "refactor: clean up legacy code, rename hopper to entity_extractor, and add third-party notices"
This reverts commit 54fcef9887.

Please do not submit unrelated docs and codes in the same commit. I am reverting this commit so that the related files can be submitted in better-organized future commits.
2026-09-11 19:32:22 -07:00
somew1nd 54fcef9887 refactor: clean up legacy code, rename hopper to entity_extractor, and add third-party notices
- Add NOTICE file and README license references for mobile-use and finalrun-agent
- Add derivative attribution headers to 17 files derived from mobile-use
- Rename hopper agent to entity_extractor across prompts, tools, and configs
- Remove obsolete adb_tunnel, ApiBaseUrl, and legacy CLI utility scripts
- Replace legacy examples with native Artemis diagnostic and workflow examples
- Update unit and tool tests to validate entity_extractor and SDK builders
2026-09-11 16:19:42 -07:00
somew1nd 0860788192 fix: use public dependency sources in lockfiles
Regenerate uv.lock against PyPI without changing dependency versions or hashes. Check Python and npm dependency sources before CI installation and enforce a current lockfile.

Fixes #28
2026-09-11 01:48:35 -07:00
somew1nd 52749c7f23 feat: add managed accessibility helper with UIAutomator fallback 2026-09-10 19:40:26 -07:00
somew1nd b86c37127d Merge pull request #24 from google/playground-submit
Add playground backend and proxy
2026-09-10 18:15:13 -07:00
yaoyao-open-source 3047c9c20a Fix Python code format check issues 2026-09-10 17:54:18 -07:00
yaoyao-open-source 70be3c37e5 Add playground backend and proxy 2026-09-10 17:45:46 -07:00
somew1nd bac31b44c1 feat(accessibility): implement Artemis Accessibility Helper for robust UI hierarchy capture
- Introduce ArtemisAccessibilityHelper APK (API 24 to 37+) as a conflict-free, high-performance replacement for UiAutomator:
  * Eliminates native UiAutomator waitForIdle() timeouts, reducing DOM dump latency from ~3s to ~15ms and maintaining resilience against infinite animations.
  * Implements a multi-tier fallback hierarchy discovery strategy (multi-window layer enumeration -> active window fallback -> input/accessibility focus backtracking) with adaptive progressive backoff for seamless page transition capture.
  * Resolves node drop defect caused by 32-bit hash collisions on recurring virtual view IDs in long lists and WebViews by utilizing bounded recursion (MAX_DEPTH=75, MAX_NODES=8000).
  * Strict W3C XML 1.0 character sanitization filtering invalid ASCII control codes and escaping attribute whitespace (
, 
, 	) to preserve multiline text formatting.
  * Enriches semantic parsing with stateDescription (API 30+ Jetpack Compose), screenReaderFocusable, paneTitle, heading, error, and tooltip attributes.
  * Multi-window metadata propagation tagging each node with window-id, window-type, and window-layer.
  * Adds dual-path standalone build script (build_apk.sh) producing a clean 29KB APK without Gradle daemon overhead alongside standard Gradle Kotlin DSL.
- Integrate AccessibilityClient into Artemis Python runtime with automatic bundled APK detection, self-healing installation, and port forwarding.
- Add unit test suite covering AccessibilityClient endpoints and atomic snapshot parsing.
2026-09-10 14:10:23 -07:00
somew1nd 38a2de6a9f fix: keep Windows bootstrap scripts ASCII-compatible 2026-09-10 00:57:37 -07:00
somew1nd 5d92939d91 refactor: unify agent history and harden runtime diagnostics
Preserve user guidance through history compression, stabilize Flash index targets, and retire withdrawn checks without applying stale verdicts.

Improve runtime diagnostics, tool responses, and history rendering. Simplify documentation and comments.

Validation: 2076 tests passed in the full suite; 381 affected tests and 26 frontend tests passed after cleanup. Ruff and the quality ratchet passed.
2026-09-09 21:35:40 -07:00
somew1nd e983180b5b docs(assets): update celestial banner with optical centering and generator script
- Rewrite generate_banner.py with Pillow supersampling, Montserrat font caching, seamless background extension, and ambient glow
- Add horizontal offset (--offset-x, default +160px) to balance visual weight against the crescent moon
- Add raw background asset artemis-banner-raw.jpg
- Regenerate and synchronize artemis-banner.png, artemis-banner-cn.png, and artemis-banner-en.png
- Bump banner image cache version in README.md and README_CN.md
2026-09-08 20:27:59 -07:00
somew1nd a45daf23f8 feat: add agentic video analysis and clarify action results
Report device actions as dispatched and preserve full failure details. Route
Flash through McpActionExecutor and use ToolFailure across helper tools and
agent loops instead of inferring failure from response text.

Require model-provided descriptions for coordinate targets. Keep observed
element metadata separate from those descriptions in safety checks, visual
summaries, history, and frontend labels.

Add Gemini Interactions API video analysis with configurable processing mode,
chunk size, and timeouts. Centralize Google provider capabilities and token
usage normalization, and update google-genai to 2.22.0.

Preserve system instructions on follow-up interactions, replan pending chunks
when falling back to static processing, and reject unanswered native video
and audio segments instead of caching placeholder results. Keep helper-tool
failure status intact through history tools and committee calls.

Validation: 1,762 Python unit tests passed (3 skipped), 40 frontend formatter
tests passed, and the production UI build completed. Ruff lint, formatting,
the quality ratchet, and git diff checks passed.
2026-09-08 17:05:54 -07:00
somew1nd 611d1a0947 fix(bootstrap): harden Windows PowerShell & shell scripts against download hangs and version conflicts 2026-09-04 17:16:22 -07:00
somew1nd 739c1c2909 fix(start.sh): remove snap and rogue local keyword, streamline fast portable scrcpy fallback 2026-09-04 17:12:03 -07:00
somew1nd 2e66ac5b8a fix(scripts): set apt lock timeout to 5s for fast fallback 2026-09-04 17:10:44 -07:00
somew1nd afbc402225 fix: add apt lock timeout and official portable scrcpy fallback across Linux and Windows
- Handle Debian/Ubuntu apt-get lock contention with DPkg::Lock::Timeout
- Decouple apt update from apt install so locks on update do not block installation
- Add official portable scrcpy v4.1 fallback download for Linux (x64/arm64) and Windows (win64)
- Add scrcpy user directories to standard PATH discovery
2026-09-04 17:07:54 -07:00
somew1nd 29622bae52 fix: auto-detect and upgrade Node.js to >= 22.22.0 across Linux, macOS and Windows
- Add smart Node.js compatibility checking (>= 22.22.0) required by Angular CLI 22
- Upgrade portable Node.js fallback download to v22.23.2 LTS across Linux, macOS and Windows
- Add automatic upgrade paths using nvm, NodeSource 22.x (with sudo/root), and winget
- Display detected Node.js version in toolchain readiness summary
2026-09-04 17:01:57 -07:00
somew1nd 41b1b94706 fix: auto-start local adb daemon and optimize path discovery across Linux, macOS and Windows 2026-09-04 12:01:32 -07:00
somew1nd 8b3cfe9bb3 fix(start.sh): remove invalid local keyword outside functions 2026-09-04 11:48:50 -07:00
somew1nd e1d67c07b6 fix: support interactive privilege prompts and zero-admin user-space fallbacks 2026-09-04 11:47:19 -07:00
somew1nd db69288fac fix: auto-patch Angular CLI node version constraint and support nvm in start scripts
- Auto-patch Angular CLI 22.1.6 node-version.js requirement from ^22.22.3 to 22.22.0 across Linux, macOS, and Windows startup scripts
- Automatically detect and load nvm in start.sh and install_deps.sh when available
- Ensure Showcase UI can be built on Cloudtop and Debian systems running Node 22.22.x without requiring root privileges
2026-09-04 11:37:05 -07:00
somew1nd c79c6eb27b feat: show history compression progress and fix action trace overlays 2026-09-03 20:48:23 -07:00
somew1nd ab03e1d2bb fix: adjust action validation and preserve recording timeline gaps 2026-09-03 16:29:09 -07:00
somew1nd 2fea9865ee feat: unify history tools and improve execution reliability 2026-09-03 16:05:47 -07:00
somew1nd d23a4f6472 feat: handle mid-stream LLM resets and deduplicate UI action stream events
- Backend (LLM Gateway):
  - Record structured 'llm_stream_reset' event with discard action, failure reason, and retry messaging on mid-stream generation errors.
  - Add unit test verifying stream reset event payload on mid-stream errors.

- Frontend (Showcase UI):
  - Handle 'llm_stream_reset' events in agent service and stream aggregator, discarding interrupted chunks while showing retry indicators.
  - Establish a single source of truth for tool and action events in the timeline to eliminate duplicated action rows while retaining ADB and explorer tools.
  - Add @angular/cdk dependency and update agent stream component styling and layout.
  - Add unit tests for stream aggregation and tool display filtering.
2026-09-03 14:38:02 -07:00
somew1nd d7c64f571d fix: preserve pixel safety target context 2026-09-03 10:58:30 -07:00
somew1nd 4bc79fdec8 feat: improve operator progress and recording accuracy 2026-09-03 10:10:22 -07:00
somew1nd 58210106d7 ci: run Python tests only on manual dispatch 2026-09-02 23:04:19 -07:00
somew1nd 12d7902a82 fix: correct task scheduling and simplify agent internals
Fix queue cancellation, concurrency limits and worker status updates.

Use direct Explorer imports, split the Diagnoser loop into helpers and remove unused tool registration and prompt-builder code.

Correct model caching, endpoint selection and retry handling.
2026-09-02 22:58:00 -07:00
somew1nd 67248c887e feat: improve task execution, verification and packaging
Add execution incidents, action bursts and shared Flash history.

Expose verification and Explorer settings with streamed check results.

Support graceful cancellation, recording recovery and bundled UI resources.

Add CI quality checks and clean up comments and documentation.
2026-09-02 21:45:51 -07:00
somew1nd 5ccf06d677 Merge pull request #13 from google/playground-submit
Create Artemis container for playground
2026-09-02 16:44:26 -07:00
yaoyao-open-source 72ae8cf75a Create Artemis container for playground 2026-09-02 16:05:47 -07:00
somew1nd 73d7b0c116 feat(showcase_ui): support verification and finding cards in agent notes 2026-09-02 00:58:48 -07:00
somew1nd 99343dfe55 docs: remove completed design and planning documents 2026-09-02 00:12:33 -07:00
somew1nd b8ecda9dd1 refactor(queue): split task queue orchestration and worker I/O 2026-09-01 22:13:45 -07:00
somew1nd 582f112287 merge(video): integrate video analyzer module split 2026-09-01 21:46:40 -07:00
somew1nd 7cc20bbddc refactor(video): split video analyzer into engine modules 2026-09-01 21:46:07 -07:00
somew1nd dc619679ea merge(explorer): integrate explorer module split 2026-09-01 21:39:46 -07:00
somew1nd 972201bb4d refactor(explorer): split explorer into facade and phase modules 2026-09-01 21:39:17 -07:00
somew1nd 35fd0fe15d merge(validator): integrate validator module split 2026-09-01 21:35:12 -07:00