@logictan/dsh-desktop-agent 0.1.0 → 0.1.1
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/README.md +2 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,8 +48,8 @@ to the `cua_driver_native__*` tools it publishes and has no driver of its own.
|
|
|
48
48
|
|
|
49
49
|
`desktop_agent({ app, goal, windowId })` resolves one window, runs the
|
|
50
50
|
observe/decide/act loop until `DONE`/`BLOCKED` or a cap is reached, and returns a
|
|
51
|
-
structured trace. `app` accepts
|
|
52
|
-
|
|
51
|
+
structured trace. `app` accepts an application name or a window title; omitting
|
|
52
|
+
it uses the frontmost window.
|
|
53
53
|
|
|
54
54
|
Only on-screen windows are eligible. A covered window cannot be captured or acted
|
|
55
55
|
on, so the tool fails with the window named rather than screenshotting whatever
|
package/lib/index.js
CHANGED
|
@@ -151,7 +151,7 @@ export function apply(ctx, config) {
|
|
|
151
151
|
'delivery — the plugin settings control that. This tool waits for the run to finish and returns a structured ' +
|
|
152
152
|
'trace of every step.',
|
|
153
153
|
parameters: {
|
|
154
|
-
app: { type: 'string', description: 'Application to drive:
|
|
154
|
+
app: { type: 'string', description: 'Application to drive: an app name or a window title. Omit to use the frontmost window.' },
|
|
155
155
|
goal: { type: 'string', description: 'What must be true when the task is finished.', required: true },
|
|
156
156
|
windowId: { type: 'integer', description: 'Exact window id from a prior listing. Omit to resolve the window from the app argument.' },
|
|
157
157
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logictan/dsh-desktop-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "DSH desktop agent: a native-vision decision loop that drives the host desktop through the Cua Driver tools. DSH 桌面 Agent 子插件。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|