dimcode-darwin-arm64 0.2.10-beta.0 → 0.2.11-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/dimcode
CHANGED
|
Binary file
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ComputerUse
|
|
3
|
+
description: Drive the user's desktop GUI through DimAgent's built-in CUA Driver MCP tools. Use when the user asks to operate a native app, click/type/scroll in another application, inspect desktop windows, or automate a visible GUI workflow from Desktop.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Computer Use
|
|
7
|
+
|
|
8
|
+
Use this skill only in DimAgent Desktop. The CUA Driver runtime and MCP server
|
|
9
|
+
are owned by the Desktop app; do not install, update, or launch a separate
|
|
10
|
+
`cua-driver` binary yourself.
|
|
11
|
+
|
|
12
|
+
## Tool Selection
|
|
13
|
+
|
|
14
|
+
Use the built-in MCP tools from the `cua-driver` server. If no CUA Driver tools
|
|
15
|
+
are available, tell the user to enable the Computer Use plugin in Desktop
|
|
16
|
+
Settings > Plugins&MCP.
|
|
17
|
+
|
|
18
|
+
## Workflow
|
|
19
|
+
|
|
20
|
+
1. Inspect state first. Use the CUA tools to list apps/windows or read the
|
|
21
|
+
target window state before taking an action.
|
|
22
|
+
2. Act with the most specific target available. Prefer element/window scoped
|
|
23
|
+
actions over broad screen coordinates when the tool surface gives both.
|
|
24
|
+
3. Verify after every action by reading the window state again.
|
|
25
|
+
4. Report uncertainty when the post-action state does not prove the requested
|
|
26
|
+
change happened.
|
|
27
|
+
|
|
28
|
+
## Desktop Rules
|
|
29
|
+
|
|
30
|
+
- Do not bring another app to the foreground unless the user explicitly asks.
|
|
31
|
+
- Do not use shell shims such as `open`, `osascript`, `cliclick`, or
|
|
32
|
+
platform-specific input hacks for GUI control while CUA tools are available.
|
|
33
|
+
- On macOS, Accessibility and Screen Recording permission must belong to
|
|
34
|
+
`com.dimagent.cua1`; the Desktop plugin settings own that authorization flow.
|