open-computer-use 0.1.4 → 0.1.6
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 +11 -18
- package/bin/open-codex-computer-use-mcp +48 -0
- package/bin/open-computer-use +48 -0
- package/bin/open-computer-use-mcp +48 -0
- package/dist/Open Computer Use.app/Contents/Info.plist +2 -2
- package/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse +0 -0
- package/package.json +3 -3
- package/plugins/open-computer-use/.codex-plugin/plugin.json +1 -1
- package/scripts/postinstall.mjs +20 -4
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ This package bundles a ready-to-run `Open Computer Use.app`, the Codex plugin me
|
|
|
14
14
|
npm install -g open-computer-use
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
After install, run `open-computer-use doctor` first. If macOS `Accessibility` or `Screen Recording` permission is missing, it will open the permission onboarding window and tell you what still needs to be granted.
|
|
18
|
+
|
|
17
19
|
## MCP config
|
|
18
20
|
|
|
19
21
|
If your MCP client accepts a stdio-style `mcpServers` JSON config, this is the default setup:
|
|
@@ -29,28 +31,19 @@ If your MCP client accepts a stdio-style `mcpServers` JSON config, this is the d
|
|
|
29
31
|
}
|
|
30
32
|
```
|
|
31
33
|
|
|
32
|
-
If you want the server without the visual cursor overlay:
|
|
33
|
-
|
|
34
|
-
```json
|
|
35
|
-
{
|
|
36
|
-
"mcpServers": {
|
|
37
|
-
"open-computer-use": {
|
|
38
|
-
"command": "open-computer-use",
|
|
39
|
-
"args": ["mcp"],
|
|
40
|
-
"env": {
|
|
41
|
-
"OPEN_COMPUTER_USE_VISUAL_CURSOR": "0"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
```
|
|
47
|
-
|
|
48
34
|
In practice, using this package as MCP is: global install, add the JSON config, then grant macOS `Accessibility` and `Screen Recording` permission to the host terminal or app on first use.
|
|
49
35
|
|
|
36
|
+
Package page: https://www.npmjs.com/package/open-computer-use
|
|
37
|
+
|
|
50
38
|
## Use
|
|
51
39
|
|
|
52
40
|
```bash
|
|
53
|
-
#
|
|
41
|
+
# Show global help, command help, and version
|
|
42
|
+
open-computer-use --help
|
|
43
|
+
open-computer-use help snapshot
|
|
44
|
+
open-computer-use --version
|
|
45
|
+
|
|
46
|
+
# Check permissions first; if Accessibility / Screen Recording is missing, open the permission onboarding window
|
|
54
47
|
open-computer-use doctor
|
|
55
48
|
|
|
56
49
|
# Start the stdio MCP server for Claude Desktop, Cursor, Cline, or another MCP client
|
|
@@ -62,7 +55,7 @@ open-computer-use install-codex-plugin
|
|
|
62
55
|
|
|
63
56
|
## Notes
|
|
64
57
|
|
|
65
|
-
- Version: `0.1.
|
|
58
|
+
- Version: `0.1.6`
|
|
66
59
|
- Platform: macOS 14+
|
|
67
60
|
- Architectures: `arm64` and `x64` via a universal app bundle
|
|
68
61
|
- The host terminal or app still needs macOS `Accessibility` and `Screen Recording` permissions
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
+
print_launcher_help() {
|
|
5
|
+
cat <<'EOF'
|
|
6
|
+
Open Computer Use
|
|
7
|
+
|
|
8
|
+
Usage:
|
|
9
|
+
open-computer-use [command] [options]
|
|
10
|
+
open-computer-use
|
|
11
|
+
|
|
12
|
+
Commands:
|
|
13
|
+
mcp Start the stdio MCP server.
|
|
14
|
+
doctor Print permission status and launch onboarding if needed.
|
|
15
|
+
list-apps Print running or recently used apps.
|
|
16
|
+
snapshot <app> Print the current accessibility snapshot for an app.
|
|
17
|
+
turn-ended Acknowledge the host turn boundary.
|
|
18
|
+
install-codex-plugin Install this npm package into the local Codex plugin cache.
|
|
19
|
+
help [command] Show general or command-specific help.
|
|
20
|
+
version Print the CLI version.
|
|
21
|
+
|
|
22
|
+
Global options:
|
|
23
|
+
-h, --help Show help.
|
|
24
|
+
-v, --version Show version.
|
|
25
|
+
|
|
26
|
+
Notes:
|
|
27
|
+
Running without a command launches the permission onboarding app.
|
|
28
|
+
Use `open-computer-use help <command>` for command-specific help.
|
|
29
|
+
EOF
|
|
30
|
+
}
|
|
31
|
+
|
|
4
32
|
script_path="${BASH_SOURCE[0]}"
|
|
5
33
|
while [[ -L "${script_path}" ]]; do
|
|
6
34
|
script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
|
|
@@ -18,6 +46,26 @@ if [[ "${1:-}" == "install-codex-plugin" ]]; then
|
|
|
18
46
|
exec "${install_script}" "$@"
|
|
19
47
|
fi
|
|
20
48
|
|
|
49
|
+
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
|
|
50
|
+
print_launcher_help
|
|
51
|
+
exit 0
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
if [[ "${1:-}" == "help" && $# -le 1 ]]; then
|
|
55
|
+
print_launcher_help
|
|
56
|
+
exit 0
|
|
57
|
+
fi
|
|
58
|
+
|
|
59
|
+
if [[ "${1:-}" == "help" && "${2:-}" == "install-codex-plugin" ]]; then
|
|
60
|
+
cat <<'EOF'
|
|
61
|
+
Usage:
|
|
62
|
+
open-computer-use install-codex-plugin
|
|
63
|
+
|
|
64
|
+
Install this npm package into the local Codex plugin cache.
|
|
65
|
+
EOF
|
|
66
|
+
exit 0
|
|
67
|
+
fi
|
|
68
|
+
|
|
21
69
|
if [[ ! -x "${app_binary}" ]]; then
|
|
22
70
|
echo "open-computer-use could not find a runnable app bundle at ${app_binary}." >&2
|
|
23
71
|
exit 1
|
package/bin/open-computer-use
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
+
print_launcher_help() {
|
|
5
|
+
cat <<'EOF'
|
|
6
|
+
Open Computer Use
|
|
7
|
+
|
|
8
|
+
Usage:
|
|
9
|
+
open-computer-use [command] [options]
|
|
10
|
+
open-computer-use
|
|
11
|
+
|
|
12
|
+
Commands:
|
|
13
|
+
mcp Start the stdio MCP server.
|
|
14
|
+
doctor Print permission status and launch onboarding if needed.
|
|
15
|
+
list-apps Print running or recently used apps.
|
|
16
|
+
snapshot <app> Print the current accessibility snapshot for an app.
|
|
17
|
+
turn-ended Acknowledge the host turn boundary.
|
|
18
|
+
install-codex-plugin Install this npm package into the local Codex plugin cache.
|
|
19
|
+
help [command] Show general or command-specific help.
|
|
20
|
+
version Print the CLI version.
|
|
21
|
+
|
|
22
|
+
Global options:
|
|
23
|
+
-h, --help Show help.
|
|
24
|
+
-v, --version Show version.
|
|
25
|
+
|
|
26
|
+
Notes:
|
|
27
|
+
Running without a command launches the permission onboarding app.
|
|
28
|
+
Use `open-computer-use help <command>` for command-specific help.
|
|
29
|
+
EOF
|
|
30
|
+
}
|
|
31
|
+
|
|
4
32
|
script_path="${BASH_SOURCE[0]}"
|
|
5
33
|
while [[ -L "${script_path}" ]]; do
|
|
6
34
|
script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
|
|
@@ -18,6 +46,26 @@ if [[ "${1:-}" == "install-codex-plugin" ]]; then
|
|
|
18
46
|
exec "${install_script}" "$@"
|
|
19
47
|
fi
|
|
20
48
|
|
|
49
|
+
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
|
|
50
|
+
print_launcher_help
|
|
51
|
+
exit 0
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
if [[ "${1:-}" == "help" && $# -le 1 ]]; then
|
|
55
|
+
print_launcher_help
|
|
56
|
+
exit 0
|
|
57
|
+
fi
|
|
58
|
+
|
|
59
|
+
if [[ "${1:-}" == "help" && "${2:-}" == "install-codex-plugin" ]]; then
|
|
60
|
+
cat <<'EOF'
|
|
61
|
+
Usage:
|
|
62
|
+
open-computer-use install-codex-plugin
|
|
63
|
+
|
|
64
|
+
Install this npm package into the local Codex plugin cache.
|
|
65
|
+
EOF
|
|
66
|
+
exit 0
|
|
67
|
+
fi
|
|
68
|
+
|
|
21
69
|
if [[ ! -x "${app_binary}" ]]; then
|
|
22
70
|
echo "open-computer-use could not find a runnable app bundle at ${app_binary}." >&2
|
|
23
71
|
exit 1
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
+
print_launcher_help() {
|
|
5
|
+
cat <<'EOF'
|
|
6
|
+
Open Computer Use
|
|
7
|
+
|
|
8
|
+
Usage:
|
|
9
|
+
open-computer-use [command] [options]
|
|
10
|
+
open-computer-use
|
|
11
|
+
|
|
12
|
+
Commands:
|
|
13
|
+
mcp Start the stdio MCP server.
|
|
14
|
+
doctor Print permission status and launch onboarding if needed.
|
|
15
|
+
list-apps Print running or recently used apps.
|
|
16
|
+
snapshot <app> Print the current accessibility snapshot for an app.
|
|
17
|
+
turn-ended Acknowledge the host turn boundary.
|
|
18
|
+
install-codex-plugin Install this npm package into the local Codex plugin cache.
|
|
19
|
+
help [command] Show general or command-specific help.
|
|
20
|
+
version Print the CLI version.
|
|
21
|
+
|
|
22
|
+
Global options:
|
|
23
|
+
-h, --help Show help.
|
|
24
|
+
-v, --version Show version.
|
|
25
|
+
|
|
26
|
+
Notes:
|
|
27
|
+
Running without a command launches the permission onboarding app.
|
|
28
|
+
Use `open-computer-use help <command>` for command-specific help.
|
|
29
|
+
EOF
|
|
30
|
+
}
|
|
31
|
+
|
|
4
32
|
script_path="${BASH_SOURCE[0]}"
|
|
5
33
|
while [[ -L "${script_path}" ]]; do
|
|
6
34
|
script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
|
|
@@ -18,6 +46,26 @@ if [[ "${1:-}" == "install-codex-plugin" ]]; then
|
|
|
18
46
|
exec "${install_script}" "$@"
|
|
19
47
|
fi
|
|
20
48
|
|
|
49
|
+
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
|
|
50
|
+
print_launcher_help
|
|
51
|
+
exit 0
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
if [[ "${1:-}" == "help" && $# -le 1 ]]; then
|
|
55
|
+
print_launcher_help
|
|
56
|
+
exit 0
|
|
57
|
+
fi
|
|
58
|
+
|
|
59
|
+
if [[ "${1:-}" == "help" && "${2:-}" == "install-codex-plugin" ]]; then
|
|
60
|
+
cat <<'EOF'
|
|
61
|
+
Usage:
|
|
62
|
+
open-computer-use install-codex-plugin
|
|
63
|
+
|
|
64
|
+
Install this npm package into the local Codex plugin cache.
|
|
65
|
+
EOF
|
|
66
|
+
exit 0
|
|
67
|
+
fi
|
|
68
|
+
|
|
21
69
|
if [[ ! -x "${app_binary}" ]]; then
|
|
22
70
|
echo "open-computer-use could not find a runnable app bundle at ${app_binary}." >&2
|
|
23
71
|
exit 1
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
<key>CFBundlePackageType</key>
|
|
20
20
|
<string>APPL</string>
|
|
21
21
|
<key>CFBundleShortVersionString</key>
|
|
22
|
-
<string>0.1.
|
|
22
|
+
<string>0.1.6</string>
|
|
23
23
|
<key>CFBundleVersion</key>
|
|
24
|
-
<string>
|
|
24
|
+
<string>1</string>
|
|
25
25
|
<key>LSMinimumSystemVersion</key>
|
|
26
26
|
<string>14.0</string>
|
|
27
27
|
<key>LSUIElement</key>
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-computer-use",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Prebuilt macOS Computer Use MCP server
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Prebuilt macOS Computer Use MCP server. After install, run open-computer-use doctor.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/iFurySt/open-codex-computer-use",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "
|
|
9
|
+
"url": "https://github.com/iFurySt/open-codex-computer-use"
|
|
10
10
|
},
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/iFurySt/open-codex-computer-use/issues"
|
package/scripts/postinstall.mjs
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
const mcpConfig = {
|
|
3
|
+
"mcpServers": {
|
|
4
|
+
"open-computer-use": {
|
|
5
|
+
"command": "open-computer-use",
|
|
6
|
+
"args": [
|
|
7
|
+
"mcp"
|
|
8
|
+
]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
2
12
|
const lines = [
|
|
3
13
|
"",
|
|
4
|
-
"Installed open-computer-use.",
|
|
14
|
+
"Installed open-computer-use@0.1.6.",
|
|
15
|
+
"Package: https://www.npmjs.com/package/open-computer-use",
|
|
5
16
|
"Commands: open-computer-use, open-computer-use-mcp, open-codex-computer-use-mcp",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
17
|
+
"",
|
|
18
|
+
"Next:",
|
|
19
|
+
"1. Run open-computer-use doctor",
|
|
20
|
+
"2. In macOS System Settings, grant Accessibility and Screen Recording to your host terminal or MCP client",
|
|
21
|
+
"3. Start the MCP server with open-computer-use mcp, or install into Codex with open-computer-use install-codex-plugin",
|
|
22
|
+
"",
|
|
23
|
+
"You can add this to any MCP-capable client:",
|
|
24
|
+
JSON.stringify(mcpConfig, null, 2),
|
|
9
25
|
"",
|
|
10
26
|
];
|
|
11
27
|
for (const line of lines) {
|