open-computer-use 0.1.14 → 0.1.17
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 +1 -1
- package/dist/Open Computer Use.app/Contents/Info.plist +3 -1
- package/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse +0 -0
- package/dist/Open Computer Use.app/Contents/_CodeSignature/CodeResources +128 -0
- package/package.json +1 -1
- package/plugins/open-computer-use/.codex-plugin/plugin.json +1 -1
- package/plugins/open-computer-use/scripts/launch-open-computer-use.sh +2 -0
- package/scripts/install-codex-plugin.sh +26 -4
- package/scripts/postinstall.mjs +1 -1
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ open-computer-use install-codex-plugin
|
|
|
62
62
|
|
|
63
63
|
## Notes
|
|
64
64
|
|
|
65
|
-
- Version: `0.1.
|
|
65
|
+
- Version: `0.1.17`
|
|
66
66
|
- Platform: macOS 14+
|
|
67
67
|
- Architectures: `arm64` and `x64` via a universal app bundle
|
|
68
68
|
- The host terminal or app still needs macOS `Accessibility` and `Screen Recording` permissions
|
|
@@ -16,10 +16,12 @@
|
|
|
16
16
|
<string>Open Computer Use</string>
|
|
17
17
|
<key>CFBundleDisplayName</key>
|
|
18
18
|
<string>Open Computer Use</string>
|
|
19
|
+
<key>OpenComputerUseAppVariant</key>
|
|
20
|
+
<string>release</string>
|
|
19
21
|
<key>CFBundlePackageType</key>
|
|
20
22
|
<string>APPL</string>
|
|
21
23
|
<key>CFBundleShortVersionString</key>
|
|
22
|
-
<string>0.1.
|
|
24
|
+
<string>0.1.17</string>
|
|
23
25
|
<key>CFBundleVersion</key>
|
|
24
26
|
<string>1</string>
|
|
25
27
|
<key>LSMinimumSystemVersion</key>
|
|
Binary file
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>files</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Resources/OpenComputerUse.icns</key>
|
|
8
|
+
<data>
|
|
9
|
+
8Jlh4Z1ahn7A3ku0aP+o5b8FlRY=
|
|
10
|
+
</data>
|
|
11
|
+
</dict>
|
|
12
|
+
<key>files2</key>
|
|
13
|
+
<dict>
|
|
14
|
+
<key>Resources/OpenComputerUse.icns</key>
|
|
15
|
+
<dict>
|
|
16
|
+
<key>hash2</key>
|
|
17
|
+
<data>
|
|
18
|
+
H3Zz0LrzUPmzvdyWQ2+LkgXOzbQ1sRa0iE6uCDgEIGY=
|
|
19
|
+
</data>
|
|
20
|
+
</dict>
|
|
21
|
+
</dict>
|
|
22
|
+
<key>rules</key>
|
|
23
|
+
<dict>
|
|
24
|
+
<key>^Resources/</key>
|
|
25
|
+
<true/>
|
|
26
|
+
<key>^Resources/.*\.lproj/</key>
|
|
27
|
+
<dict>
|
|
28
|
+
<key>optional</key>
|
|
29
|
+
<true/>
|
|
30
|
+
<key>weight</key>
|
|
31
|
+
<real>1000</real>
|
|
32
|
+
</dict>
|
|
33
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
34
|
+
<dict>
|
|
35
|
+
<key>omit</key>
|
|
36
|
+
<true/>
|
|
37
|
+
<key>weight</key>
|
|
38
|
+
<real>1100</real>
|
|
39
|
+
</dict>
|
|
40
|
+
<key>^Resources/Base\.lproj/</key>
|
|
41
|
+
<dict>
|
|
42
|
+
<key>weight</key>
|
|
43
|
+
<real>1010</real>
|
|
44
|
+
</dict>
|
|
45
|
+
<key>^version.plist$</key>
|
|
46
|
+
<true/>
|
|
47
|
+
</dict>
|
|
48
|
+
<key>rules2</key>
|
|
49
|
+
<dict>
|
|
50
|
+
<key>.*\.dSYM($|/)</key>
|
|
51
|
+
<dict>
|
|
52
|
+
<key>weight</key>
|
|
53
|
+
<real>11</real>
|
|
54
|
+
</dict>
|
|
55
|
+
<key>^(.*/)?\.DS_Store$</key>
|
|
56
|
+
<dict>
|
|
57
|
+
<key>omit</key>
|
|
58
|
+
<true/>
|
|
59
|
+
<key>weight</key>
|
|
60
|
+
<real>2000</real>
|
|
61
|
+
</dict>
|
|
62
|
+
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
63
|
+
<dict>
|
|
64
|
+
<key>nested</key>
|
|
65
|
+
<true/>
|
|
66
|
+
<key>weight</key>
|
|
67
|
+
<real>10</real>
|
|
68
|
+
</dict>
|
|
69
|
+
<key>^.*</key>
|
|
70
|
+
<true/>
|
|
71
|
+
<key>^Info\.plist$</key>
|
|
72
|
+
<dict>
|
|
73
|
+
<key>omit</key>
|
|
74
|
+
<true/>
|
|
75
|
+
<key>weight</key>
|
|
76
|
+
<real>20</real>
|
|
77
|
+
</dict>
|
|
78
|
+
<key>^PkgInfo$</key>
|
|
79
|
+
<dict>
|
|
80
|
+
<key>omit</key>
|
|
81
|
+
<true/>
|
|
82
|
+
<key>weight</key>
|
|
83
|
+
<real>20</real>
|
|
84
|
+
</dict>
|
|
85
|
+
<key>^Resources/</key>
|
|
86
|
+
<dict>
|
|
87
|
+
<key>weight</key>
|
|
88
|
+
<real>20</real>
|
|
89
|
+
</dict>
|
|
90
|
+
<key>^Resources/.*\.lproj/</key>
|
|
91
|
+
<dict>
|
|
92
|
+
<key>optional</key>
|
|
93
|
+
<true/>
|
|
94
|
+
<key>weight</key>
|
|
95
|
+
<real>1000</real>
|
|
96
|
+
</dict>
|
|
97
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
98
|
+
<dict>
|
|
99
|
+
<key>omit</key>
|
|
100
|
+
<true/>
|
|
101
|
+
<key>weight</key>
|
|
102
|
+
<real>1100</real>
|
|
103
|
+
</dict>
|
|
104
|
+
<key>^Resources/Base\.lproj/</key>
|
|
105
|
+
<dict>
|
|
106
|
+
<key>weight</key>
|
|
107
|
+
<real>1010</real>
|
|
108
|
+
</dict>
|
|
109
|
+
<key>^[^/]+$</key>
|
|
110
|
+
<dict>
|
|
111
|
+
<key>nested</key>
|
|
112
|
+
<true/>
|
|
113
|
+
<key>weight</key>
|
|
114
|
+
<real>10</real>
|
|
115
|
+
</dict>
|
|
116
|
+
<key>^embedded\.provisionprofile$</key>
|
|
117
|
+
<dict>
|
|
118
|
+
<key>weight</key>
|
|
119
|
+
<real>20</real>
|
|
120
|
+
</dict>
|
|
121
|
+
<key>^version\.plist$</key>
|
|
122
|
+
<dict>
|
|
123
|
+
<key>weight</key>
|
|
124
|
+
<real>20</real>
|
|
125
|
+
</dict>
|
|
126
|
+
</dict>
|
|
127
|
+
</dict>
|
|
128
|
+
</plist>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-computer-use",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
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",
|
|
@@ -6,7 +6,9 @@ plugin_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
6
6
|
repo_root="$(cd "${plugin_root}/../.." && pwd)"
|
|
7
7
|
candidate_binaries=(
|
|
8
8
|
"${plugin_root}/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
9
|
+
"${plugin_root}/Open Computer Use (Dev).app/Contents/MacOS/OpenComputerUse"
|
|
9
10
|
"${plugin_root}/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
|
|
11
|
+
"${repo_root}/dist/Open Computer Use (Dev).app/Contents/MacOS/OpenComputerUse"
|
|
10
12
|
"${repo_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
|
|
11
13
|
"${repo_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
|
|
12
14
|
)
|
|
@@ -13,6 +13,26 @@ build_script="${repo_root}/scripts/build-open-computer-use-app.sh"
|
|
|
13
13
|
configuration="debug"
|
|
14
14
|
rebuild="false"
|
|
15
15
|
|
|
16
|
+
resolve_app_bundle() {
|
|
17
|
+
local -a candidates
|
|
18
|
+
|
|
19
|
+
if [[ "${configuration}" == "release" ]]; then
|
|
20
|
+
candidates=("Open Computer Use.app")
|
|
21
|
+
else
|
|
22
|
+
candidates=("Open Computer Use (Dev).app" "Open Computer Use.app")
|
|
23
|
+
fi
|
|
24
|
+
|
|
25
|
+
for bundle_name in "${candidates[@]}"; do
|
|
26
|
+
local candidate="${repo_root}/dist/${bundle_name}"
|
|
27
|
+
if [[ -d "${candidate}" ]]; then
|
|
28
|
+
printf '%s\n' "${candidate}"
|
|
29
|
+
return 0
|
|
30
|
+
fi
|
|
31
|
+
done
|
|
32
|
+
|
|
33
|
+
return 1
|
|
34
|
+
}
|
|
35
|
+
|
|
16
36
|
while [[ $# -gt 0 ]]; do
|
|
17
37
|
case "$1" in
|
|
18
38
|
--rebuild)
|
|
@@ -35,12 +55,14 @@ while [[ $# -gt 0 ]]; do
|
|
|
35
55
|
esac
|
|
36
56
|
done
|
|
37
57
|
|
|
38
|
-
app_bundle="$
|
|
39
|
-
app_binary="${app_bundle}/Contents/MacOS/OpenComputerUse"
|
|
58
|
+
app_bundle="$(resolve_app_bundle || true)"
|
|
59
|
+
app_binary="${app_bundle:+${app_bundle}/Contents/MacOS/OpenComputerUse}"
|
|
40
60
|
|
|
41
|
-
if [[ "${rebuild}" == "true" || ! -x "${app_binary}" ]]; then
|
|
61
|
+
if [[ "${rebuild}" == "true" || -z "${app_binary}" || ! -x "${app_binary}" ]]; then
|
|
42
62
|
if [[ -x "${build_script}" ]]; then
|
|
43
63
|
"${build_script}" "${configuration}"
|
|
64
|
+
app_bundle="$(resolve_app_bundle || true)"
|
|
65
|
+
app_binary="${app_bundle:+${app_bundle}/Contents/MacOS/OpenComputerUse}"
|
|
44
66
|
else
|
|
45
67
|
echo "Missing runnable app bundle at ${app_binary} and no local build script is available." >&2
|
|
46
68
|
exit 1
|
|
@@ -57,7 +79,7 @@ if [[ ! -f "${plugin_manifest}" ]]; then
|
|
|
57
79
|
exit 1
|
|
58
80
|
fi
|
|
59
81
|
|
|
60
|
-
if [[ ! -x "${app_binary}" ]]; then
|
|
82
|
+
if [[ -z "${app_bundle}" || ! -x "${app_binary}" ]]; then
|
|
61
83
|
echo "Missing runnable app binary at ${app_binary}" >&2
|
|
62
84
|
exit 1
|
|
63
85
|
fi
|
package/scripts/postinstall.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const mcpConfig = {
|
|
|
11
11
|
};
|
|
12
12
|
const lines = [
|
|
13
13
|
"",
|
|
14
|
-
"Installed open-computer-use@0.1.
|
|
14
|
+
"Installed open-computer-use@0.1.17.",
|
|
15
15
|
"Package: https://www.npmjs.com/package/open-computer-use",
|
|
16
16
|
"Commands: open-computer-use, open-computer-use-mcp, open-codex-computer-use-mcp",
|
|
17
17
|
"",
|