socialdatax-skills 0.2.27 → 0.2.28
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/cli.mjs +1 -1
- package/package.json +1 -1
- package/skills/media-detail/SKILL.md +1 -0
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ Common search phrases for this skill package:
|
|
|
82
82
|
- Sensitive Words Check MCP server name: `sensitive-check`
|
|
83
83
|
- Sensitive Words Check future MCP registry name: `com.socialdatax/sensitive-check`
|
|
84
84
|
- Unified MCP registry name: none; this package installs skills and calls explicit platform services.
|
|
85
|
-
- Current public capability version: `0.2.
|
|
85
|
+
- Current public capability version: `0.2.28`
|
|
86
86
|
|
|
87
87
|
## Direct CLI
|
|
88
88
|
|
package/cli.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { downloadXhsMediaFromUrl } from "./lib/media/xhs-download.mjs";
|
|
|
22
22
|
export { decryptWechatMediaCommand };
|
|
23
23
|
|
|
24
24
|
const PACKAGE_NAME = "socialdatax-skills";
|
|
25
|
-
const PACKAGE_VERSION = "0.2.
|
|
25
|
+
const PACKAGE_VERSION = "0.2.28";
|
|
26
26
|
const PACKAGE_SPEC = `${PACKAGE_NAME}@latest`;
|
|
27
27
|
const LOG_PREFIX = `[${PACKAGE_NAME}]`;
|
|
28
28
|
const MIN_NODE_VERSION = "20.18.1";
|
package/package.json
CHANGED
|
@@ -148,6 +148,7 @@ If MCP tools are already available in the current agent, use one of these tools:
|
|
|
148
148
|
Return factual fields such as title or description, content, author, publish time, interaction counts, images, and media summary when available.
|
|
149
149
|
For XHS detail results, in every use of a returned `note_url`, such as final answers, display, references, storage, output, or forwarding, preserve it exactly as the full URL, including `xsec_token` query parameters. Do not modify, truncate, redact, mask, normalize, rebuild, or synthesize the URL from `note_id`; if `note_url` is null, show the `note_id` or say that no directly openable full link is available.
|
|
150
150
|
For XHS `note_id`, copy the complete 24-character lowercase hexadecimal ID exactly; do not pass or display only a prefix.
|
|
151
|
+
When the user wants to save XHS images or videos after detail, pass each returned `image_items[].image_url` or `video.video_url` to `npx -y socialdatax-skills@latest xhs download-media --url "<media_url>" --output-dir <directory> --pretty`; this local save command does not require `SOCIALDATAX_API_KEY`.
|
|
151
152
|
For Douyin detail, include `content_type` when available.
|
|
152
153
|
For Douyin detail, use `images` for image/text posts; `video` is the platform player resource and may be audio for image/text posts; `music` is the bound music or original-sound asset.
|
|
153
154
|
Detail access is read-only and does not provide account actions.
|