@amaster.ai/pi-computer-use 0.1.2-beta.8 → 0.1.2-beta.80
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 +80 -85
- package/dist/config.d.ts +10 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +3 -2
- package/dist/config.js.map +1 -1
- package/dist/generated/cua-driver-tools.d.ts +4814 -0
- package/dist/generated/cua-driver-tools.d.ts.map +1 -0
- package/dist/generated/cua-driver-tools.js +6988 -0
- package/dist/generated/cua-driver-tools.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +445 -425
- package/dist/index.js.map +1 -1
- package/dist/mcp-client.d.ts +55 -14
- package/dist/mcp-client.d.ts.map +1 -1
- package/dist/mcp-client.js +566 -62
- package/dist/mcp-client.js.map +1 -1
- package/dist/tool-groups.d.ts +16 -0
- package/dist/tool-groups.d.ts.map +1 -0
- package/dist/tool-groups.js +96 -0
- package/dist/tool-groups.js.map +1 -0
- package/dist/tool-result.d.ts +26 -0
- package/dist/tool-result.d.ts.map +1 -0
- package/dist/tool-result.js +103 -0
- package/dist/tool-result.js.map +1 -0
- package/dist/vision.d.ts +1 -1
- package/dist/vision.d.ts.map +1 -1
- package/dist/vision.js +24 -3
- package/dist/vision.js.map +1 -1
- package/package.json +18 -12
- package/preview.png +0 -0
- package/bin/darwin-arm64/.version +0 -2
- package/bin/darwin-arm64/CuaDriver.app/Contents/CodeResources +0 -0
- package/bin/darwin-arm64/CuaDriver.app/Contents/Info.plist +0 -32
- package/bin/darwin-arm64/CuaDriver.app/Contents/MacOS/cua-driver +0 -0
- package/bin/darwin-arm64/CuaDriver.app/Contents/Resources/Skills/cua-driver/README.md +0 -140
- package/bin/darwin-arm64/CuaDriver.app/Contents/Resources/Skills/cua-driver/RECORDING.md +0 -113
- package/bin/darwin-arm64/CuaDriver.app/Contents/Resources/Skills/cua-driver/SKILL.md +0 -887
- package/bin/darwin-arm64/CuaDriver.app/Contents/Resources/Skills/cua-driver/TESTS.md +0 -232
- package/bin/darwin-arm64/CuaDriver.app/Contents/Resources/Skills/cua-driver/WEB_APPS.md +0 -471
- package/bin/darwin-arm64/CuaDriver.app/Contents/_CodeSignature/CodeResources +0 -172
- package/bin/darwin-x64/.version +0 -2
- package/bin/darwin-x64/CuaDriver.app/Contents/CodeResources +0 -0
- package/bin/darwin-x64/CuaDriver.app/Contents/Info.plist +0 -32
- package/bin/darwin-x64/CuaDriver.app/Contents/MacOS/cua-driver +0 -0
- package/bin/darwin-x64/CuaDriver.app/Contents/Resources/Skills/cua-driver/README.md +0 -140
- package/bin/darwin-x64/CuaDriver.app/Contents/Resources/Skills/cua-driver/RECORDING.md +0 -113
- package/bin/darwin-x64/CuaDriver.app/Contents/Resources/Skills/cua-driver/SKILL.md +0 -887
- package/bin/darwin-x64/CuaDriver.app/Contents/Resources/Skills/cua-driver/TESTS.md +0 -232
- package/bin/darwin-x64/CuaDriver.app/Contents/Resources/Skills/cua-driver/WEB_APPS.md +0 -471
- package/bin/darwin-x64/CuaDriver.app/Contents/_CodeSignature/CodeResources +0 -172
- package/bin/linux-x64/.version +0 -2
- package/bin/linux-x64/cua-driver +0 -0
- package/bin/win32-arm64/.version +0 -2
- package/bin/win32-arm64/cua-driver-uia.exe +0 -0
- package/bin/win32-arm64/cua-driver.exe +0 -0
- package/bin/win32-x64/.version +0 -2
- package/bin/win32-x64/cua-driver-uia.exe +0 -0
- package/bin/win32-x64/cua-driver.exe +0 -0
- package/scripts/postinstall.js +0 -29
package/scripts/postinstall.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { chmodSync, existsSync } from 'node:fs';
|
|
3
|
-
import { join, dirname } from 'node:path';
|
|
4
|
-
import { fileURLToPath } from 'node:url';
|
|
5
|
-
|
|
6
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
7
|
-
const binDir = join(__dirname, '..', 'bin');
|
|
8
|
-
|
|
9
|
-
const platform = process.platform === 'win32' ? 'win32-x64' : `${process.platform}-${process.arch}`;
|
|
10
|
-
const platformDir = join(binDir, platform);
|
|
11
|
-
|
|
12
|
-
if (process.platform === 'win32') {
|
|
13
|
-
process.exit(0);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
let binPath;
|
|
17
|
-
if (process.platform === 'darwin') {
|
|
18
|
-
binPath = join(platformDir, 'CuaDriver.app', 'Contents', 'MacOS', 'cua-driver');
|
|
19
|
-
} else {
|
|
20
|
-
binPath = join(platformDir, 'cua-driver');
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
if (existsSync(binPath)) {
|
|
24
|
-
try {
|
|
25
|
-
chmodSync(binPath, 0o755);
|
|
26
|
-
} catch {
|
|
27
|
-
// Non-fatal: runtime will retry or prompt user
|
|
28
|
-
}
|
|
29
|
-
}
|