feat: add HarmonyOS platform support (v2)#678
Closed
wz9527 wants to merge 1 commit into
Closed
Conversation
Member
|
Thank you! This is a huge diff, everything is necessary? Please double check before I jump into reviewing. I have a HarmonyOS device at home so happy to test it later this week when I'm back from SF |
Re-implement HarmonyOS platform support on the new architecture after main branch refactoring. Platform implementation (src/platforms/harmonyos/): - Device discovery and management via HDC - App lifecycle (open, close, app state) with launchAbility resolution - UI snapshot with interactive-only filtering for ArkUI - Screenshot capture - Input actions: scroll, rotate, keyboard, double-tap, long-press - System dialog handling - Clipboard, logcat, perf, and recording support Core changes: - Add 'harmonyos' to Platform type and device resolution - Add 'harmonyos.hdc' to backend capabilities - Add harmonyos interactor with gesture stubs - Add harmonyos to command capability matrix - Add cognition command for UI structure analysis Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Author
|
测试不充分,暂时撤回,待完善后重新提交 |
Member
|
Feel free to keep working on it, no need to close the PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-implements HarmonyOS platform support on the latest main architecture after rebase from original PR failed due to major architectural changes.
Key changes:
Test plan
🤖 Generated with Claude Code