open-codex-computer-use-mcp 0.1.19 → 0.1.21

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 CHANGED
@@ -62,7 +62,7 @@ open-computer-use install-codex-plugin
62
62
 
63
63
  ## Notes
64
64
 
65
- - Version: `0.1.19`
65
+ - Version: `0.1.21`
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
@@ -21,13 +21,15 @@
21
21
  <key>CFBundlePackageType</key>
22
22
  <string>APPL</string>
23
23
  <key>CFBundleShortVersionString</key>
24
- <string>0.1.19</string>
24
+ <string>0.1.21</string>
25
25
  <key>CFBundleVersion</key>
26
26
  <string>1</string>
27
27
  <key>LSMinimumSystemVersion</key>
28
28
  <string>14.0</string>
29
29
  <key>LSUIElement</key>
30
30
  <true/>
31
+ <key>NSHighResolutionCapable</key>
32
+ <true/>
31
33
  <key>NSPrincipalClass</key>
32
34
  <string>NSApplication</string>
33
35
  </dict>
@@ -6,7 +6,11 @@
6
6
  <dict>
7
7
  <key>Resources/OpenComputerUse.icns</key>
8
8
  <data>
9
- 8Jlh4Z1ahn7A3ku0aP+o5b8FlRY=
9
+ duyp5ZzIsn4z1wLLe2JaPpVWgRE=
10
+ </data>
11
+ <key>Resources/official-software-cursor-window-252.png</key>
12
+ <data>
13
+ 06aDhPT83jwR02Nfn/dD6ePs7Dc=
10
14
  </data>
11
15
  </dict>
12
16
  <key>files2</key>
@@ -15,7 +19,14 @@
15
19
  <dict>
16
20
  <key>hash2</key>
17
21
  <data>
18
- H3Zz0LrzUPmzvdyWQ2+LkgXOzbQ1sRa0iE6uCDgEIGY=
22
+ TzpZ6Uoa9kaMRINj+wBK0dpo2BwU1LLUTraVP2wrri8=
23
+ </data>
24
+ </dict>
25
+ <key>Resources/official-software-cursor-window-252.png</key>
26
+ <dict>
27
+ <key>hash2</key>
28
+ <data>
29
+ qFeEo/Q42hEMQrUJsLJ7kNR7hYEidKnTKfPye5vYll8=
19
30
  </data>
20
31
  </dict>
21
32
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-codex-computer-use-mcp",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-computer-use",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "Open-source macOS Computer Use MCP server packaged as a Codex plugin.",
5
5
  "author": {
6
6
  "name": "Leo",
@@ -99,8 +99,7 @@ mkdir -p "${codex_home}" "${plugin_cache_root}"
99
99
  rm -rf "${plugin_install_root}"
100
100
  mkdir -p "${plugin_install_root}"
101
101
 
102
- rsync -a "${plugin_source_root}/" "${plugin_install_root}/"
103
- rsync -a "${app_bundle}" "${plugin_install_root}/"
102
+ node "${config_helper}" copy-into-dir "${plugin_install_root}" "${plugin_source_root}" "${app_bundle}"
104
103
 
105
104
  node "${config_helper}" codex-plugin-config "${config_path}" "${repo_root}" "${marketplace_name}" "${plugin_name}"
106
105
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
3
+ import { cpSync, existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
4
4
  import path from "node:path";
5
5
 
6
6
  function fail(message) {
@@ -14,6 +14,7 @@ function usage() {
14
14
  node ./scripts/install-config-helper.mjs codex-mcp <config-path> <server-name> <command-name>
15
15
  node ./scripts/install-config-helper.mjs codex-plugin-version <plugin-manifest-path>
16
16
  node ./scripts/install-config-helper.mjs codex-plugin-config <config-path> <repo-root> <marketplace-name> <plugin-name>
17
+ node ./scripts/install-config-helper.mjs copy-into-dir <target-dir> <source-path> [<source-path> ...]
17
18
  `);
18
19
  }
19
20
 
@@ -311,6 +312,24 @@ function installCodexPluginConfig(configPath, repoRoot, marketplaceName, pluginN
311
312
  writeFileSync(configPath, nextText, "utf8");
312
313
  }
313
314
 
315
+ function copyIntoDir(targetDir, sourcePaths) {
316
+ if (sourcePaths.length === 0) {
317
+ fail("copy-into-dir requires at least one source path.");
318
+ }
319
+
320
+ mkdirSync(targetDir, { recursive: true });
321
+
322
+ for (const sourcePath of sourcePaths) {
323
+ if (!existsSync(sourcePath)) {
324
+ fail(`Source path does not exist: ${sourcePath}`);
325
+ }
326
+
327
+ const destinationPath = path.join(targetDir, path.basename(sourcePath));
328
+ rmSync(destinationPath, { recursive: true, force: true });
329
+ cpSync(sourcePath, destinationPath, { recursive: true });
330
+ }
331
+ }
332
+
314
333
  function main(argv) {
315
334
  const [command, ...args] = argv;
316
335
  switch (command) {
@@ -342,6 +361,13 @@ function main(argv) {
342
361
  }
343
362
  installCodexPluginConfig(...args);
344
363
  return;
364
+ case "copy-into-dir":
365
+ if (args.length < 2) {
366
+ usage();
367
+ process.exit(1);
368
+ }
369
+ copyIntoDir(args[0], args.slice(1));
370
+ return;
345
371
  default:
346
372
  usage();
347
373
  process.exit(1);
@@ -11,7 +11,7 @@ const mcpConfig = {
11
11
  };
12
12
  const lines = [
13
13
  "",
14
- "Installed open-codex-computer-use-mcp@0.1.19.",
14
+ "Installed open-codex-computer-use-mcp@0.1.21.",
15
15
  "Package: https://www.npmjs.com/package/open-codex-computer-use-mcp",
16
16
  "Commands: open-computer-use, open-computer-use-mcp, open-codex-computer-use-mcp",
17
17
  "",