@eat-pray-ai/yutu 0.10.7-dev → 0.10.7
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/bin/yutu +7 -7
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -250,7 +250,7 @@ You can add `yutu` as a MCP server in VS Code or Cursor by clicking correspondin
|
|
|
250
250
|
|
|
251
251
|
```shell
|
|
252
252
|
# Install a single skill (e.g. video management)
|
|
253
|
-
❯ npx skills add https://github.com/eat-pray-ai/yutu/tree/main/skills/
|
|
253
|
+
❯ npx skills add https://github.com/eat-pray-ai/yutu/tree/main/skills/youtube-video
|
|
254
254
|
|
|
255
255
|
# Install all skills at once
|
|
256
256
|
❯ npx skills add https://github.com/eat-pray-ai/yutu/tree/main/skills
|
package/bin/yutu
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
|
-
const {
|
|
5
|
+
const {execFileSync} = require("child_process");
|
|
6
6
|
const os = require("os");
|
|
7
7
|
|
|
8
8
|
const PLATFORMS = {
|
|
@@ -21,7 +21,7 @@ function getBinaryPath() {
|
|
|
21
21
|
if (!pkg) {
|
|
22
22
|
throw new Error(
|
|
23
23
|
`Unsupported platform: ${platformKey}. ` +
|
|
24
|
-
|
|
24
|
+
`yutu supports: ${Object.keys(PLATFORMS).join(", ")}`
|
|
25
25
|
);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -40,16 +40,16 @@ function getBinaryPath() {
|
|
|
40
40
|
}
|
|
41
41
|
throw new Error(
|
|
42
42
|
`You installed yutu for ${key} but this platform is ${platformKey}.\n` +
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
`This can happen when copying node_modules between platforms.\n` +
|
|
44
|
+
`Run "npm install" on this platform to fix.`
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
throw new Error(
|
|
49
49
|
`The package "${pkg}" could not be found, and is needed by yutu.\n\n` +
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
`If you installed with npm, make sure you don't use the "--no-optional"\n` +
|
|
51
|
+
`or "--omit=optional" flags. The "optionalDependencies" feature is used\n` +
|
|
52
|
+
`by yutu to install the correct binary for your platform.`
|
|
53
53
|
);
|
|
54
54
|
}
|
|
55
55
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eat-pray-ai/yutu",
|
|
3
|
-
"version": "0.10.7
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"description": "The AI-powered toolkit that grows your YouTube channel on autopilot",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"node": ">=18"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@eat-pray-ai/yutu-darwin-arm64": "0.10.7
|
|
35
|
-
"@eat-pray-ai/yutu-darwin-x64": "0.10.7
|
|
36
|
-
"@eat-pray-ai/yutu-linux-arm64": "0.10.7
|
|
37
|
-
"@eat-pray-ai/yutu-linux-x64": "0.10.7
|
|
38
|
-
"@eat-pray-ai/yutu-win32-arm64": "0.10.7
|
|
39
|
-
"@eat-pray-ai/yutu-win32-x64": "0.10.7
|
|
34
|
+
"@eat-pray-ai/yutu-darwin-arm64": "0.10.7",
|
|
35
|
+
"@eat-pray-ai/yutu-darwin-x64": "0.10.7",
|
|
36
|
+
"@eat-pray-ai/yutu-linux-arm64": "0.10.7",
|
|
37
|
+
"@eat-pray-ai/yutu-linux-x64": "0.10.7",
|
|
38
|
+
"@eat-pray-ai/yutu-win32-arm64": "0.10.7",
|
|
39
|
+
"@eat-pray-ai/yutu-win32-x64": "0.10.7"
|
|
40
40
|
}
|
|
41
41
|
}
|