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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/cli.mjs +11 -11
  3. 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 planned platform MCP registry name: `com.socialdatax/xhs-insights`
39
- - XHS legacy registry name: `com.52choujiang/xhs-insights`
40
- - Douyin planned platform MCP registry name: `com.socialdatax/douyin-insights`
41
- - Douyin legacy registry name: `com.52choujiang/douyin-insights`
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.0`
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.0";
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.socialdatax/xhs-insights",
125
- legacyRegistryName: "com.52choujiang/xhs-insights",
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.socialdatax/douyin-insights",
187
- legacyRegistryName: "com.52choujiang/douyin-insights",
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
- legacyRegistryName: platform.legacyRegistryName,
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.legacyRegistryName) {
838
- console.log(` legacy registry: ${platform.legacyRegistryName}`);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socialdatax-skills",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "SocialDataX / 社媒数据助手 skill installer and direct CLI helper for hosted platform social media MCP services.",
5
5
  "license": "MIT",
6
6
  "type": "module",