duduclaw-pro 1.4.13 → 1.4.15
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/bin/duduclaw-pro +4 -2
- package/package.json +4 -3
- package/scripts/install.js +2 -1
package/bin/duduclaw-pro
CHANGED
|
@@ -8,6 +8,7 @@ const path = require("path");
|
|
|
8
8
|
const PLATFORM_PACKAGES = {
|
|
9
9
|
"darwin-arm64": "@duduclaw/pro-darwin-arm64",
|
|
10
10
|
"darwin-x64": "@duduclaw/pro-darwin-x64",
|
|
11
|
+
"win32-x64": "@duduclaw/pro-win32-x64",
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
function getBinaryPath() {
|
|
@@ -16,13 +17,14 @@ function getBinaryPath() {
|
|
|
16
17
|
if (!pkg) {
|
|
17
18
|
throw new Error(
|
|
18
19
|
`DuDuClaw Pro does not support ${process.platform}-${process.arch} yet.\n` +
|
|
19
|
-
`Currently supported: macOS (ARM64 / x64).`
|
|
20
|
+
`Currently supported: macOS (ARM64 / x64), Windows (x64).`
|
|
20
21
|
);
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
try {
|
|
24
25
|
const pkgDir = path.dirname(require.resolve(`${pkg}/package.json`));
|
|
25
|
-
|
|
26
|
+
const binName = process.platform === "win32" ? "duduclaw-pro.exe" : "duduclaw-pro";
|
|
27
|
+
return path.join(pkgDir, "bin", binName);
|
|
26
28
|
} catch {
|
|
27
29
|
throw new Error(
|
|
28
30
|
`Could not find ${pkg}. Please reinstall duduclaw-pro:\n npm install -g duduclaw-pro`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "duduclaw-pro",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.15",
|
|
4
4
|
"description": "DuDuClaw Pro — Multi-Agent AI Assistant Platform (Pro Edition)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"postinstall": "node scripts/install.js"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"@duduclaw/pro-darwin-arm64": "1.4.
|
|
33
|
-
"@duduclaw/pro-darwin-x64": "1.4.
|
|
32
|
+
"@duduclaw/pro-darwin-arm64": "1.4.15",
|
|
33
|
+
"@duduclaw/pro-darwin-x64": "1.4.15",
|
|
34
|
+
"@duduclaw/pro-win32-x64": "1.4.15"
|
|
34
35
|
}
|
|
35
36
|
}
|
package/scripts/install.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
const PLATFORM_PACKAGES = {
|
|
4
4
|
"darwin-arm64": "@duduclaw/pro-darwin-arm64",
|
|
5
5
|
"darwin-x64": "@duduclaw/pro-darwin-x64",
|
|
6
|
+
"win32-x64": "@duduclaw/pro-win32-x64",
|
|
6
7
|
};
|
|
7
8
|
|
|
8
9
|
const key = `${process.platform}-${process.arch}`;
|
|
@@ -11,7 +12,7 @@ const pkg = PLATFORM_PACKAGES[key];
|
|
|
11
12
|
if (!pkg) {
|
|
12
13
|
console.warn(
|
|
13
14
|
`\n[duduclaw-pro] Warning: unsupported platform ${key}.\n` +
|
|
14
|
-
`DuDuClaw Pro currently supports: macOS (ARM64 / x64).\n` +
|
|
15
|
+
`DuDuClaw Pro currently supports: macOS (ARM64 / x64), Windows (x64).\n` +
|
|
15
16
|
`For other platforms, use the Community Edition: npm install -g duduclaw\n`
|
|
16
17
|
);
|
|
17
18
|
process.exit(0);
|