@github/computer-use-mcp 0.1.50 → 0.1.51
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/index.js +5 -8
- package/main.js +4 -0
- package/package.json +3 -2
- package/prebuilds/darwin-arm64/Copilot Computer Use.app/Contents/CodeResources +0 -0
- package/prebuilds/darwin-arm64/Copilot Computer Use.app/Contents/Info.plist +2 -2
- package/prebuilds/darwin-arm64/Copilot Computer Use.app/Contents/MacOS/Copilot Computer Use +0 -0
- package/prebuilds/darwin-arm64/computer-use-mcp +0 -0
- package/prebuilds/darwin-x64/Copilot Computer Use.app/Contents/CodeResources +0 -0
- package/prebuilds/darwin-x64/Copilot Computer Use.app/Contents/Info.plist +2 -2
- package/prebuilds/darwin-x64/Copilot Computer Use.app/Contents/MacOS/Copilot Computer Use +0 -0
- package/prebuilds/darwin-x64/computer-use-mcp +0 -0
- package/prebuilds/win32-arm64/CopilotComputerUse.exe +0 -0
- package/prebuilds/win32-arm64/computer-use-mcp.exe +0 -0
- package/prebuilds/win32-x64/CopilotComputerUse.exe +0 -0
- package/prebuilds/win32-x64/computer-use-mcp.exe +0 -0
package/index.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
1
|
import { spawn } from "node:child_process";
|
|
3
2
|
import { existsSync } from "node:fs";
|
|
4
3
|
import path from "node:path";
|
|
5
4
|
import { fileURLToPath } from "node:url";
|
|
6
5
|
|
|
6
|
+
const modulePath = fileURLToPath(import.meta.url);
|
|
7
|
+
|
|
7
8
|
export function main(args = process.argv.slice(2)) {
|
|
8
9
|
let binary;
|
|
9
10
|
switch (process.platform) {
|
|
10
11
|
case "darwin":
|
|
11
|
-
binary = path.join(path.dirname(
|
|
12
|
+
binary = path.join(path.dirname(modulePath), "prebuilds", `darwin-${process.arch}`, "computer-use-mcp");
|
|
12
13
|
break;
|
|
13
14
|
case "win32":
|
|
14
|
-
binary = path.join(path.dirname(
|
|
15
|
+
binary = path.join(path.dirname(modulePath), "prebuilds", `win32-${process.arch}`, "computer-use-mcp.exe");
|
|
15
16
|
break;
|
|
16
17
|
case "linux":
|
|
17
|
-
binary = path.join(path.dirname(
|
|
18
|
+
binary = path.join(path.dirname(modulePath), "prebuilds", `linux-${process.arch}`, "computer-use-mcp");
|
|
18
19
|
break;
|
|
19
20
|
default:
|
|
20
21
|
throw new Error(`Unsupported platform: ${process.platform}-${process.arch}`);
|
|
@@ -32,7 +33,3 @@ export function main(args = process.argv.slice(2)) {
|
|
|
32
33
|
process.exit(code ?? 1);
|
|
33
34
|
});
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
-
if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
|
|
37
|
-
main();
|
|
38
|
-
}
|
package/main.js
ADDED
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "GitHub",
|
|
3
|
-
"bin": "
|
|
3
|
+
"bin": "main.js",
|
|
4
4
|
"description": "Computer Use MCP Server",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"index.js",
|
|
10
|
+
"main.js",
|
|
10
11
|
"prebuilds"
|
|
11
12
|
],
|
|
12
13
|
"main": "index.js",
|
|
@@ -16,5 +17,5 @@
|
|
|
16
17
|
"url": "https://github.com/github/computer-use.git"
|
|
17
18
|
},
|
|
18
19
|
"type": "module",
|
|
19
|
-
"version": "0.1.
|
|
20
|
+
"version": "0.1.51"
|
|
20
21
|
}
|
|
Binary file
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
<key>CFBundlePackageType</key>
|
|
22
22
|
<string>APPL</string>
|
|
23
23
|
<key>CFBundleShortVersionString</key>
|
|
24
|
-
<string>0.1.
|
|
24
|
+
<string>0.1.51</string>
|
|
25
25
|
<key>CFBundleVersion</key>
|
|
26
|
-
<string>0.1.
|
|
26
|
+
<string>0.1.51</string>
|
|
27
27
|
<key>LSBackgroundOnly</key>
|
|
28
28
|
<false/>
|
|
29
29
|
<key>LSUIElement</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
<key>CFBundlePackageType</key>
|
|
22
22
|
<string>APPL</string>
|
|
23
23
|
<key>CFBundleShortVersionString</key>
|
|
24
|
-
<string>0.1.
|
|
24
|
+
<string>0.1.51</string>
|
|
25
25
|
<key>CFBundleVersion</key>
|
|
26
|
-
<string>0.1.
|
|
26
|
+
<string>0.1.51</string>
|
|
27
27
|
<key>LSBackgroundOnly</key>
|
|
28
28
|
<false/>
|
|
29
29
|
<key>LSUIElement</key>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|