open-computer-use 0.1.2 → 0.1.4
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 +40 -2
- package/bin/open-codex-computer-use-mcp +10 -2
- package/bin/open-computer-use +10 -2
- package/bin/open-computer-use-mcp +10 -2
- package/dist/{OpenComputerUse.app/Contents/Info.plist → Open Computer Use.app/Contents/Info.plist } +4 -2
- package/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse +0 -0
- package/dist/Open Computer Use.app/Contents/Resources/OpenComputerUse.icns +0 -0
- package/package.json +5 -5
- package/plugins/open-computer-use/.codex-plugin/plugin.json +1 -1
- package/plugins/open-computer-use/scripts/launch-open-computer-use.sh +19 -13
- package/scripts/install-codex-plugin.sh +3 -2
- package/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Prebuilt macOS npm distribution for the open-source **Open Computer Use** MCP server.
|
|
4
4
|
|
|
5
|
-
This package bundles a ready-to-run `
|
|
5
|
+
This package bundles a ready-to-run `Open Computer Use.app`, the Codex plugin metadata, and three global command aliases:
|
|
6
6
|
|
|
7
7
|
- `open-computer-use`
|
|
8
8
|
- `open-computer-use-mcp`
|
|
@@ -14,17 +14,55 @@ This package bundles a ready-to-run `OpenComputerUse.app`, the Codex plugin meta
|
|
|
14
14
|
npm install -g open-computer-use
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
## MCP config
|
|
18
|
+
|
|
19
|
+
If your MCP client accepts a stdio-style `mcpServers` JSON config, this is the default setup:
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"mcpServers": {
|
|
24
|
+
"open-computer-use": {
|
|
25
|
+
"command": "open-computer-use",
|
|
26
|
+
"args": ["mcp"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
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
|
+
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
|
+
|
|
17
50
|
## Use
|
|
18
51
|
|
|
19
52
|
```bash
|
|
53
|
+
# Check permissions and diagnose whether Accessibility / Screen Recording are granted
|
|
20
54
|
open-computer-use doctor
|
|
55
|
+
|
|
56
|
+
# Start the stdio MCP server for Claude Desktop, Cursor, Cline, or another MCP client
|
|
21
57
|
open-computer-use mcp
|
|
58
|
+
|
|
59
|
+
# Install this package into the local Codex plugin marketplace/cache
|
|
22
60
|
open-computer-use install-codex-plugin
|
|
23
61
|
```
|
|
24
62
|
|
|
25
63
|
## Notes
|
|
26
64
|
|
|
27
|
-
- Version: `0.1.
|
|
65
|
+
- Version: `0.1.4`
|
|
28
66
|
- Platform: macOS 14+
|
|
29
67
|
- Architectures: `arm64` and `x64` via a universal app bundle
|
|
30
68
|
- The host terminal or app still needs macOS `Accessibility` and `Screen Recording` permissions
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
script_path="${BASH_SOURCE[0]}"
|
|
5
|
+
while [[ -L "${script_path}" ]]; do
|
|
6
|
+
script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
|
|
7
|
+
script_path="$(readlink "${script_path}")"
|
|
8
|
+
if [[ "${script_path}" != /* ]]; then
|
|
9
|
+
script_path="${script_dir}/${script_path}"
|
|
10
|
+
fi
|
|
11
|
+
done
|
|
12
|
+
package_root="$(cd "$(dirname "${script_path}")/.." && pwd)"
|
|
13
|
+
app_binary="${package_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
6
14
|
install_script="${package_root}/scripts/install-codex-plugin.sh"
|
|
7
15
|
|
|
8
16
|
if [[ "${1:-}" == "install-codex-plugin" ]]; then
|
package/bin/open-computer-use
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
script_path="${BASH_SOURCE[0]}"
|
|
5
|
+
while [[ -L "${script_path}" ]]; do
|
|
6
|
+
script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
|
|
7
|
+
script_path="$(readlink "${script_path}")"
|
|
8
|
+
if [[ "${script_path}" != /* ]]; then
|
|
9
|
+
script_path="${script_dir}/${script_path}"
|
|
10
|
+
fi
|
|
11
|
+
done
|
|
12
|
+
package_root="$(cd "$(dirname "${script_path}")/.." && pwd)"
|
|
13
|
+
app_binary="${package_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
6
14
|
install_script="${package_root}/scripts/install-codex-plugin.sh"
|
|
7
15
|
|
|
8
16
|
if [[ "${1:-}" == "install-codex-plugin" ]]; then
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -euo pipefail
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
script_path="${BASH_SOURCE[0]}"
|
|
5
|
+
while [[ -L "${script_path}" ]]; do
|
|
6
|
+
script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
|
|
7
|
+
script_path="$(readlink "${script_path}")"
|
|
8
|
+
if [[ "${script_path}" != /* ]]; then
|
|
9
|
+
script_path="${script_dir}/${script_path}"
|
|
10
|
+
fi
|
|
11
|
+
done
|
|
12
|
+
package_root="$(cd "$(dirname "${script_path}")/.." && pwd)"
|
|
13
|
+
app_binary="${package_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
6
14
|
install_script="${package_root}/scripts/install-codex-plugin.sh"
|
|
7
15
|
|
|
8
16
|
if [[ "${1:-}" == "install-codex-plugin" ]]; then
|
package/dist/{OpenComputerUse.app/Contents/Info.plist → Open Computer Use.app/Contents/Info.plist }
RENAMED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
<string>en</string>
|
|
7
7
|
<key>CFBundleExecutable</key>
|
|
8
8
|
<string>OpenComputerUse</string>
|
|
9
|
+
<key>CFBundleIconFile</key>
|
|
10
|
+
<string>OpenComputerUse.icns</string>
|
|
9
11
|
<key>CFBundleIdentifier</key>
|
|
10
12
|
<string>dev.opencodex.OpenComputerUse</string>
|
|
11
13
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
@@ -17,9 +19,9 @@
|
|
|
17
19
|
<key>CFBundlePackageType</key>
|
|
18
20
|
<string>APPL</string>
|
|
19
21
|
<key>CFBundleShortVersionString</key>
|
|
20
|
-
<string>0.1.
|
|
22
|
+
<string>0.1.4</string>
|
|
21
23
|
<key>CFBundleVersion</key>
|
|
22
|
-
<string>
|
|
24
|
+
<string>17</string>
|
|
23
25
|
<key>LSMinimumSystemVersion</key>
|
|
24
26
|
<string>14.0</string>
|
|
25
27
|
<key>LSUIElement</key>
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-computer-use",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Prebuilt macOS Computer Use MCP server with Codex plugin installer.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/iFurySt/open-codex-computer-use",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"bin": {
|
|
33
|
-
"open-computer-use": "
|
|
34
|
-
"open-computer-use-mcp": "
|
|
35
|
-
"open-codex-computer-use-mcp": "
|
|
33
|
+
"open-computer-use": "bin/open-computer-use",
|
|
34
|
+
"open-computer-use-mcp": "bin/open-computer-use-mcp",
|
|
35
|
+
"open-codex-computer-use-mcp": "bin/open-codex-computer-use-mcp"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"postinstall": "node ./scripts/postinstall.mjs"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"files": [
|
|
41
41
|
".agents/plugins/marketplace.json",
|
|
42
42
|
"bin/",
|
|
43
|
-
"dist/
|
|
43
|
+
"dist/Open Computer Use.app/",
|
|
44
44
|
"plugins/open-computer-use/.codex-plugin/",
|
|
45
45
|
"plugins/open-computer-use/.mcp.json",
|
|
46
46
|
"plugins/open-computer-use/assets/",
|
|
@@ -3,23 +3,29 @@
|
|
|
3
3
|
set -euo pipefail
|
|
4
4
|
|
|
5
5
|
plugin_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
6
|
-
bundled_app_binary="${plugin_root}/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
|
|
7
6
|
repo_root="$(cd "${plugin_root}/../.." && pwd)"
|
|
8
|
-
|
|
7
|
+
candidate_binaries=(
|
|
8
|
+
"${plugin_root}/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
9
|
+
"${plugin_root}/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
|
|
10
|
+
"${repo_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
11
|
+
"${repo_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
|
|
12
|
+
)
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
fi
|
|
14
|
+
for app_binary in "${candidate_binaries[@]}"; do
|
|
15
|
+
if [[ -x "${app_binary}" ]]; then
|
|
16
|
+
if [[ "${app_binary}" == "${plugin_root}"/* ]]; then
|
|
17
|
+
cd "${plugin_root}"
|
|
18
|
+
else
|
|
19
|
+
cd "${repo_root}"
|
|
20
|
+
fi
|
|
21
|
+
exec "${app_binary}" mcp
|
|
22
|
+
fi
|
|
23
|
+
done
|
|
19
24
|
|
|
20
25
|
echo "open-computer-use could not find a runnable app bundle." >&2
|
|
21
26
|
echo "Checked:" >&2
|
|
22
|
-
|
|
23
|
-
echo " - ${
|
|
27
|
+
for app_binary in "${candidate_binaries[@]}"; do
|
|
28
|
+
echo " - ${app_binary}" >&2
|
|
29
|
+
done
|
|
24
30
|
echo "Run ./scripts/install-codex-plugin.sh to populate the Codex plugin cache." >&2
|
|
25
31
|
exit 1
|
|
@@ -35,7 +35,8 @@ while [[ $# -gt 0 ]]; do
|
|
|
35
35
|
esac
|
|
36
36
|
done
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
app_bundle="${repo_root}/dist/Open Computer Use.app"
|
|
39
|
+
app_binary="${app_bundle}/Contents/MacOS/OpenComputerUse"
|
|
39
40
|
|
|
40
41
|
if [[ "${rebuild}" == "true" || ! -x "${app_binary}" ]]; then
|
|
41
42
|
if [[ -x "${build_script}" ]]; then
|
|
@@ -86,7 +87,7 @@ rm -rf "${plugin_install_root}"
|
|
|
86
87
|
mkdir -p "${plugin_install_root}"
|
|
87
88
|
|
|
88
89
|
rsync -a "${plugin_source_root}/" "${plugin_install_root}/"
|
|
89
|
-
rsync -a "${
|
|
90
|
+
rsync -a "${app_bundle}" "${plugin_install_root}/"
|
|
90
91
|
|
|
91
92
|
python3 - "${config_path}" "${repo_root}" "${marketplace_name}" "${plugin_name}" <<'PY'
|
|
92
93
|
import json
|
|
Binary file
|