socialdatax-skills 0.2.0 → 0.2.1
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 +5 -5
- package/cli.mjs +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,12 +35,12 @@ Common search phrases for this skill package:
|
|
|
35
35
|
- Hosted transport: `streamable-http`
|
|
36
36
|
- Authentication: `Authorization: Bearer <SOCIALDATAX_API_KEY>`
|
|
37
37
|
- Website: <https://socialdatax.com>
|
|
38
|
-
- XHS
|
|
39
|
-
- XHS
|
|
40
|
-
- Douyin
|
|
41
|
-
- Douyin
|
|
38
|
+
- XHS current platform MCP registry name: `com.52choujiang/xhs-insights`
|
|
39
|
+
- XHS future platform MCP registry name: `com.socialdatax/xhs-insights`
|
|
40
|
+
- Douyin current platform MCP registry name: `com.52choujiang/douyin-insights`
|
|
41
|
+
- Douyin future platform MCP registry name: `com.socialdatax/douyin-insights`
|
|
42
42
|
- Unified MCP registry name: none; this package installs skills and calls explicit platform services.
|
|
43
|
-
- Current public capability version: `0.2.
|
|
43
|
+
- Current public capability version: `0.2.1`
|
|
44
44
|
|
|
45
45
|
## Direct CLI
|
|
46
46
|
|
package/cli.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { dirname, join, resolve } from "node:path";
|
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
|
|
9
9
|
const PACKAGE_NAME = "socialdatax-skills";
|
|
10
|
-
const PACKAGE_VERSION = "0.2.
|
|
10
|
+
const PACKAGE_VERSION = "0.2.1";
|
|
11
11
|
const PACKAGE_SPEC = `${PACKAGE_NAME}@latest`;
|
|
12
12
|
const LOG_PREFIX = `[${PACKAGE_NAME}]`;
|
|
13
13
|
const MIN_NODE_VERSION = "20.18.1";
|
|
@@ -121,8 +121,8 @@ const PLATFORMS = {
|
|
|
121
121
|
id: "xhs",
|
|
122
122
|
displayName: "XHS / Xiaohongshu / RedNote",
|
|
123
123
|
status: "public",
|
|
124
|
-
registryName: "com.
|
|
125
|
-
|
|
124
|
+
registryName: "com.52choujiang/xhs-insights",
|
|
125
|
+
futureRegistryName: "com.socialdatax/xhs-insights",
|
|
126
126
|
endpoint: "https://mcp.52choujiang.com/xhs/mcp",
|
|
127
127
|
apiKeyEnv: API_KEY_ENV_NAMES,
|
|
128
128
|
upstreamEnv: [
|
|
@@ -183,8 +183,8 @@ const PLATFORMS = {
|
|
|
183
183
|
id: "douyin",
|
|
184
184
|
displayName: "Douyin / 抖音",
|
|
185
185
|
status: "public",
|
|
186
|
-
registryName: "com.
|
|
187
|
-
|
|
186
|
+
registryName: "com.52choujiang/douyin-insights",
|
|
187
|
+
futureRegistryName: "com.socialdatax/douyin-insights",
|
|
188
188
|
endpoint: "https://mcp.52choujiang.com/douyin/mcp",
|
|
189
189
|
apiKeyEnv: API_KEY_ENV_NAMES,
|
|
190
190
|
upstreamEnv: [
|
|
@@ -752,7 +752,7 @@ function buildDoctorReport() {
|
|
|
752
752
|
id: platform.id,
|
|
753
753
|
displayName: platform.displayName,
|
|
754
754
|
registryName: platform.registryName,
|
|
755
|
-
|
|
755
|
+
futureRegistryName: platform.futureRegistryName,
|
|
756
756
|
endpoint,
|
|
757
757
|
defaultEndpoint: platform.endpoint,
|
|
758
758
|
endpointOverrideActive: endpoint !== platform.endpoint,
|
|
@@ -834,8 +834,8 @@ function printDoctor(args) {
|
|
|
834
834
|
for (const platform of report.platforms) {
|
|
835
835
|
console.log(`- ${platform.displayName}`);
|
|
836
836
|
console.log(` registry: ${platform.registryName}`);
|
|
837
|
-
if (platform.
|
|
838
|
-
console.log(`
|
|
837
|
+
if (platform.futureRegistryName) {
|
|
838
|
+
console.log(` future registry: ${platform.futureRegistryName}`);
|
|
839
839
|
}
|
|
840
840
|
console.log(` endpoint: ${platform.endpoint}`);
|
|
841
841
|
if (platform.endpointOverrideActive) {
|
|
@@ -994,11 +994,11 @@ function printRemovedMcpConfigHelp(command) {
|
|
|
994
994
|
console.error("");
|
|
995
995
|
console.error("This package now installs AgentSkills and provides direct CLI data commands only.");
|
|
996
996
|
console.error("For MCP client configuration, use the platform MCP listings:");
|
|
997
|
-
console.error(" com.socialdatax/xhs-insights");
|
|
998
|
-
console.error(" com.socialdatax/douyin-insights");
|
|
999
|
-
console.error("Legacy registry names remain compatible for historical listings:");
|
|
1000
997
|
console.error(" com.52choujiang/xhs-insights");
|
|
1001
998
|
console.error(" com.52choujiang/douyin-insights");
|
|
999
|
+
console.error("Future SocialDataX namespace drafts are kept for a later endpoint migration:");
|
|
1000
|
+
console.error(" com.socialdatax/xhs-insights");
|
|
1001
|
+
console.error(" com.socialdatax/douyin-insights");
|
|
1002
1002
|
console.error("");
|
|
1003
1003
|
console.error("Use hosted streamable HTTP when your client supports remote MCP:");
|
|
1004
1004
|
console.error(" https://mcp.52choujiang.com/xhs/mcp");
|
package/package.json
CHANGED