@elizaos/plugin-computeruse 2.0.0-beta.1 → 2.0.11-beta.7
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/LICENSE +21 -0
- package/README.md +80 -0
- package/package.json +36 -10
- package/dist/actions/desktop-handlers.d.ts +0 -20
- package/dist/actions/desktop-handlers.d.ts.map +0 -1
- package/dist/actions/desktop.d.ts +0 -11
- package/dist/actions/desktop.d.ts.map +0 -1
- package/dist/actions/helpers.d.ts +0 -33
- package/dist/actions/helpers.d.ts.map +0 -1
- package/dist/actions/use-computer.d.ts +0 -3
- package/dist/actions/use-computer.d.ts.map +0 -1
- package/dist/approval-manager.d.ts +0 -29
- package/dist/approval-manager.d.ts.map +0 -1
- package/dist/index.d.ts +0 -33
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -7132
- package/dist/index.js.map +0 -34
- package/dist/osworld/action-converter.d.ts +0 -35
- package/dist/osworld/action-converter.d.ts.map +0 -1
- package/dist/osworld/adapter.d.ts +0 -78
- package/dist/osworld/adapter.d.ts.map +0 -1
- package/dist/osworld/types.d.ts +0 -69
- package/dist/osworld/types.d.ts.map +0 -1
- package/dist/platform/a11y.d.ts +0 -36
- package/dist/platform/a11y.d.ts.map +0 -1
- package/dist/platform/browser.d.ts +0 -61
- package/dist/platform/browser.d.ts.map +0 -1
- package/dist/platform/capabilities.d.ts +0 -10
- package/dist/platform/capabilities.d.ts.map +0 -1
- package/dist/platform/desktop.d.ts +0 -33
- package/dist/platform/desktop.d.ts.map +0 -1
- package/dist/platform/driver.d.ts +0 -27
- package/dist/platform/driver.d.ts.map +0 -1
- package/dist/platform/file-ops.d.ts +0 -10
- package/dist/platform/file-ops.d.ts.map +0 -1
- package/dist/platform/helpers.d.ts +0 -61
- package/dist/platform/helpers.d.ts.map +0 -1
- package/dist/platform/nut-driver.d.ts +0 -19
- package/dist/platform/nut-driver.d.ts.map +0 -1
- package/dist/platform/permissions.d.ts +0 -21
- package/dist/platform/permissions.d.ts.map +0 -1
- package/dist/platform/screenshot.d.ts +0 -16
- package/dist/platform/screenshot.d.ts.map +0 -1
- package/dist/platform/security.d.ts +0 -12
- package/dist/platform/security.d.ts.map +0 -1
- package/dist/platform/terminal.d.ts +0 -38
- package/dist/platform/terminal.d.ts.map +0 -1
- package/dist/platform/windows-list.d.ts +0 -36
- package/dist/platform/windows-list.d.ts.map +0 -1
- package/dist/providers/computer-state.d.ts +0 -9
- package/dist/providers/computer-state.d.ts.map +0 -1
- package/dist/register-routes.d.ts +0 -2
- package/dist/register-routes.d.ts.map +0 -1
- package/dist/register-routes.js +0 -7111
- package/dist/register-routes.js.map +0 -34
- package/dist/routes/computer-use-compat-routes.d.ts +0 -29
- package/dist/routes/computer-use-compat-routes.d.ts.map +0 -1
- package/dist/routes/computer-use-routes.d.ts +0 -3
- package/dist/routes/computer-use-routes.d.ts.map +0 -1
- package/dist/routes/sandbox-routes.d.ts +0 -53
- package/dist/routes/sandbox-routes.d.ts.map +0 -1
- package/dist/services/computer-use-service.d.ts +0 -66
- package/dist/services/computer-use-service.d.ts.map +0 -1
- package/dist/services/desktop-control.d.ts +0 -35
- package/dist/services/desktop-control.d.ts.map +0 -1
- package/dist/types.d.ts +0 -275
- package/dist/types.d.ts.map +0 -1
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cross-platform window listing and management.
|
|
3
|
-
*
|
|
4
|
-
* Ported from:
|
|
5
|
-
* - coasty-ai/open-computer-use local-executor.ts window handlers (Apache 2.0)
|
|
6
|
-
* - eliza sandbox-routes.ts listWindows()
|
|
7
|
-
*/
|
|
8
|
-
import type { ScreenSize, WindowInfo } from "../types.js";
|
|
9
|
-
export declare function findWindowsByQuery(query: string, windows?: WindowInfo[]): WindowInfo[];
|
|
10
|
-
export declare function resolveWindowMatch(queryOrId: string, windows?: WindowInfo[]): WindowInfo | null;
|
|
11
|
-
export declare function listWindows(): WindowInfo[];
|
|
12
|
-
export declare function focusWindow(windowId: string): void;
|
|
13
|
-
export declare function switchWindow(windowQuery: string): void;
|
|
14
|
-
export declare function arrangeWindows(arrangement?: string): {
|
|
15
|
-
success: true;
|
|
16
|
-
message: string;
|
|
17
|
-
};
|
|
18
|
-
export declare function moveWindow(windowId: string, x?: number, y?: number): {
|
|
19
|
-
success: true;
|
|
20
|
-
message: string;
|
|
21
|
-
};
|
|
22
|
-
export declare function minimizeWindow(windowId: string): void;
|
|
23
|
-
export declare function maximizeWindow(windowId: string): void;
|
|
24
|
-
export declare function restoreWindow(windowId: string): void;
|
|
25
|
-
export declare function closeWindow(windowId: string): void;
|
|
26
|
-
export declare const list_windows: typeof listWindows;
|
|
27
|
-
export declare const focus_window: typeof focusWindow;
|
|
28
|
-
export declare const switch_to_window: typeof switchWindow;
|
|
29
|
-
export declare const arrange_windows: typeof arrangeWindows;
|
|
30
|
-
export declare const move_window: typeof moveWindow;
|
|
31
|
-
export declare const minimize_window: typeof minimizeWindow;
|
|
32
|
-
export declare const maximize_window: typeof maximizeWindow;
|
|
33
|
-
export declare const restore_window: typeof restoreWindow;
|
|
34
|
-
export declare const close_window: typeof closeWindow;
|
|
35
|
-
export declare function getScreenSize(): ScreenSize;
|
|
36
|
-
//# sourceMappingURL=windows-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windows-list.d.ts","sourceRoot":"","sources":["../../src/platform/windows-list.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA2B1D,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,UAAU,EAAkB,GACpC,UAAU,EAAE,CAUd;AAoBD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,UAAU,EAAkB,GACpC,UAAU,GAAG,IAAI,CAEnB;AAmDD,wBAAgB,WAAW,IAAI,UAAU,EAAE,CAa1C;AA4FD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAqClD;AAED,wBAAgB,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAEtD;AAoFD,wBAAgB,cAAc,CAAC,WAAW,SAAS,GAAG;IACpD,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAuDA;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,MAAM,EAChB,CAAC,CAAC,EAAE,MAAM,EACV,CAAC,CAAC,EAAE,MAAM,GACT;IACD,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CASA;AAID,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CA0BrD;AAID,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CA8BrD;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAqCpD;AAID,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAuBlD;AAED,eAAO,MAAM,YAAY,oBAAc,CAAC;AACxC,eAAO,MAAM,YAAY,oBAAc,CAAC;AACxC,eAAO,MAAM,gBAAgB,qBAAe,CAAC;AAC7C,eAAO,MAAM,eAAe,uBAAiB,CAAC;AAC9C,eAAO,MAAM,WAAW,mBAAa,CAAC;AACtC,eAAO,MAAM,eAAe,uBAAiB,CAAC;AAC9C,eAAO,MAAM,eAAe,uBAAiB,CAAC;AAC9C,eAAO,MAAM,cAAc,sBAAgB,CAAC;AAC5C,eAAO,MAAM,YAAY,oBAAc,CAAC;AAIxC,wBAAgB,aAAa,IAAI,UAAU,CA6G1C"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ComputerStateProvider — injects current computer state into the LLM context.
|
|
3
|
-
*
|
|
4
|
-
* Provides platform info, screen dimensions, available capabilities,
|
|
5
|
-
* and a summary of recent actions so the agent has continuity.
|
|
6
|
-
*/
|
|
7
|
-
import type { Provider } from "@elizaos/core";
|
|
8
|
-
export declare const computerStateProvider: Provider;
|
|
9
|
-
//# sourceMappingURL=computer-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"computer-state.d.ts","sourceRoot":"","sources":["../../src/providers/computer-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAGV,QAAQ,EAGT,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,qBAAqB,EAAE,QAiGnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register-routes.d.ts","sourceRoot":"","sources":["../src/register-routes.ts"],"names":[],"mappings":""}
|