Skip to content

fix(desktop): wrap ComputerUseLinux.move() in _scope() and call _forget() - #74

Merged
m3lonxd merged 1 commit into
m3lonxd:masterfrom
Burakceliks:fix/move-scope-and-forget-57
Dec 2, 2026
Merged

m3lonxd merged 1 commit into
m3lonxd:masterfrom
Burakceliks:fix/move-scope-and-forget-57

Conversation

@Burakceliks

Copy link
Copy Markdown
Contributor

Fixes #57

  • Wrap ComputerUseLinux.move() in self._scope() and call self._forget() after moving the pointer, matching click_at(), scroll(), and drag().
  • Add an offline unit test in tests/test_desktop_scope.py verifying both standalone _scope() entry/cleanup and memoized-state invalidation inside an active scope.

@m3lonxd
m3lonxd merged commit dd0d151 into m3lonxd:master Dec 2, 2026
5 checks 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.

Wrap ComputerUseLinux.move() in _scope() and call _forget() to invalidate stale memoized state

2 participants