Skip to content

feat: agent intelligence layer + extended device control APIs#1

Merged
HeiCg merged 1 commit intomainfrom
HeiCg/project-status-check
Apr 8, 2026
Merged

feat: agent intelligence layer + extended device control APIs#1
HeiCg merged 1 commit intomainfrom
HeiCg/project-status-check

Conversation

@HeiCg
Copy link
Copy Markdown
Owner

@HeiCg HeiCg commented Apr 8, 2026

Summary

  • New @device-stream/agent package: Navigation graphs with Dijkstra pathfinding, skeleton fingerprinting (ANCHOR/CONTENT zone classification to handle dynamic-content apps like Instagram/Netflix), tree compression, compact text serialization for LLM token efficiency, and AgentSession orchestrator for auto-learning navigation.
  • 24 new DeviceService methods across core, Android, and iOS: accessibility tree capture, app management (launch/terminate/install/uninstall/list/clear), navigation (deeplink/back/longPress), settings (appearance/location/locale), permissions, I/O (clipboard/media), and streaming (logs/recording).
  • Hierarchy parsers: hierarchy-parser.ts for Android uiautomator XML and wda-hierarchy-parser.ts for iOS WDA XML, both producing unified AccessibilityNode[].

Test plan

  • npm run build compiles all packages including agent
  • npm run lint passes across all workspaces
  • Verify import { AgentSession, NavigationGraph } from '@device-stream/agent' resolves
  • Test skeleton fingerprinting produces stable hashes for same-screen different-scroll states
  • Test navigation graph pathfinding with synthetic screen transitions

🤖 Generated with Claude Code

Add @device-stream/agent package with navigation graphs, skeleton
fingerprinting, and LLM-optimized state capture for AI-driven device
automation. Extend DeviceService with 24 new methods (accessibility tree,
app management, navigation, settings, permissions, I/O, streaming).
Add hierarchy parsers for Android uiautomator and iOS WDA XML formats.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@HeiCg HeiCg merged commit a01139b into main Apr 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant