Skip to content

Add window management and remote control tools#76

Merged
Jeomon merged 3 commits into
CursorTouch:mainfrom
dddabtc:feat/focus-window-minimize-all
Feb 11, 2026
Merged

Add window management and remote control tools#76
Jeomon merged 3 commits into
CursorTouch:mainfrom
dddabtc:feat/focus-window-minimize-all

Conversation

@dddabtc

@dddabtc dddabtc commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

New Tools

Window Management

  • FocusWindow: Brings a window to foreground by title (fuzzy match) or handle
  • MinimizeAll: Minimizes all windows (Win+D)

Remote Management

  • GetClipboard / SetClipboard: Read/write clipboard remotely
  • ListProcesses: List running processes with CPU/memory stats, fuzzy name filter, sortable
  • KillProcess: Terminate processes by PID or name (with force option)
  • GetSystemInfo: CPU, memory, disk, network, and uptime overview
  • Notification: Send Windows toast notifications
  • LockScreen: Lock the workstation

Bug Fixes

  • switch_app crash: Fixed NoneType error when desktop_state is None. Added state refresh and null checks.
  • Shell timeout: Increased default from 10s to 30s.

Improvements

  • Added try/except error handling around Shell, Snapshot, and switch_app to prevent server crashes.
  • All new tools include proper error handling and return informative messages on failure.
  • No new dependencies — uses existing psutil, pywin32, thefuzz, and tabulate.

Testing

Tested on Windows 11 with streamable-http transport.

clawd and others added 2 commits February 8, 2026 14:31
…n, lock screen

New tools:
- GetClipboard / SetClipboard: remote clipboard read/write
- ListProcesses: list running processes with CPU/memory stats, fuzzy filter
- KillProcess: terminate processes by PID or name
- GetSystemInfo: CPU, memory, disk, network, uptime overview
- Notification: send Windows toast notifications remotely
- LockScreen: lock the workstation remotely
@dddabtc dddabtc changed the title Add FocusWindow/MinimizeAll tools and improve error handling Add window management and remote control tools Feb 8, 2026
@dddabtc dddabtc closed this Feb 8, 2026
@dddabtc dddabtc deleted the feat/focus-window-minimize-all branch February 8, 2026 19:17
@dddabtc dddabtc restored the feat/focus-window-minimize-all branch February 8, 2026 19:17
@dddabtc dddabtc reopened this Feb 8, 2026
@Jeomon

Jeomon commented Feb 9, 2026

Copy link
Copy Markdown
Member

Awesome work..

Small suggestion

  • Can you make the kill, list process as an omini tool (mode=list/kill/create)
  • Clipboard tool (get/set) omini tool
  • Focus Window functionality I have already included in the app tool(open/switch/resize)

…edback

- Merged ListProcesses + KillProcess → ProcessManager tool with mode=list/kill
- Merged GetClipboard + SetClipboard → Clipboard tool with mode=get/set
- Removed FocusWindow tool (functionality available in app tool switch mode)
@dddabtc

dddabtc commented Feb 11, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback! I've pushed the changes:

  • ProcessManager omni tool with mode=list/kill (merged ListProcesses + KillProcess)
  • Clipboard omni tool with mode=get/set (merged GetClipboard + SetClipboard)
  • Removed FocusWindow — you're right, the app tool's switch mode already covers this

Let me know if anything else needs adjusting!

@Jeomon Jeomon merged commit 97607e0 into CursorTouch:main Feb 11, 2026
@Jeomon

Jeomon commented Feb 11, 2026

Copy link
Copy Markdown
Member

Thanks

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.

2 participants