socialdatax-skills 0.2.14 → 0.2.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/README.md +5 -3
- package/cli.mjs +5 -5
- package/package.json +1 -1
- package/skills/media-search/SKILL.md +4 -4
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Common search phrases for this skill package:
|
|
|
68
68
|
- Sensitive Check MCP server name: `sensitive-check`
|
|
69
69
|
- Sensitive Check future MCP registry name: `com.socialdatax/sensitive-check`
|
|
70
70
|
- Unified MCP registry name: none; this package installs skills and calls explicit platform services.
|
|
71
|
-
- Current public capability version: `0.2.
|
|
71
|
+
- Current public capability version: `0.2.15`
|
|
72
72
|
|
|
73
73
|
## Direct CLI
|
|
74
74
|
|
|
@@ -168,8 +168,10 @@ Douyin search filters use semantic values: `--sort-type` supports `general`,
|
|
|
168
168
|
supports `all`, `video`, and `image`.
|
|
169
169
|
|
|
170
170
|
WeChat Channels search filters use semantic values: `--sort-type` supports
|
|
171
|
-
`
|
|
172
|
-
|
|
171
|
+
`all`, `time_descending`, and `collect_count_descending`;
|
|
172
|
+
`collect_count_descending` means hottest first / most collected first.
|
|
173
|
+
`--duration-range` supports `all`,
|
|
174
|
+
`under_5_min`, `between_5_and_20_min`, and `over_20_min`.
|
|
173
175
|
|
|
174
176
|
### Runtime Requirements
|
|
175
177
|
|
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.15";
|
|
11
11
|
const PACKAGE_SPEC = `${PACKAGE_NAME}@latest`;
|
|
12
12
|
const LOG_PREFIX = `[${PACKAGE_NAME}]`;
|
|
13
13
|
const MIN_NODE_VERSION = "20.18.1";
|
|
@@ -385,9 +385,9 @@ const WECHAT_DIRECT_ACTION_OPTIONS = {
|
|
|
385
385
|
};
|
|
386
386
|
const WECHAT_DIRECT_ACTION_NAMES = Object.keys(WECHAT_DIRECT_ACTION_OPTIONS).join(", ");
|
|
387
387
|
const WECHAT_SEARCH_SORT_TYPES = [
|
|
388
|
-
"
|
|
388
|
+
"all",
|
|
389
389
|
"time_descending",
|
|
390
|
-
"
|
|
390
|
+
"collect_count_descending",
|
|
391
391
|
];
|
|
392
392
|
const WECHAT_SEARCH_DURATION_RANGES = [
|
|
393
393
|
"all",
|
|
@@ -1895,8 +1895,8 @@ function printHelp() {
|
|
|
1895
1895
|
console.log(" Douyin content type filter; omit for all content types.");
|
|
1896
1896
|
console.log(" --page-token <token>");
|
|
1897
1897
|
console.log(" Continue token-paginated commands with the complete returned next_page_token. For search, omit it on the first request.");
|
|
1898
|
-
console.log(" --sort-type <
|
|
1899
|
-
console.log(" WeChat Channels / 视频号 search sort; omit for default sort.");
|
|
1898
|
+
console.log(" --sort-type <all|time_descending|collect_count_descending>");
|
|
1899
|
+
console.log(" WeChat Channels / 视频号 search sort; collect_count_descending means hottest first / most collected first; omit for default sort.");
|
|
1900
1900
|
console.log(" --duration-range <all|under_5_min|between_5_and_20_min|over_20_min>");
|
|
1901
1901
|
console.log(" WeChat Channels / 视频号 duration filter; omit for no duration filter.");
|
|
1902
1902
|
console.log(" --pretty Pretty-print direct CLI JSON output.");
|
package/package.json
CHANGED
|
@@ -81,7 +81,7 @@ Optional arguments:
|
|
|
81
81
|
- Kuaishou `--page-token <next_page_token>`: opaque pagination token; omit it on the first search request. Continue only with the complete returned `next_page_token` from the same search pagination chain. Do not modify, truncate, redact, mask, omit, normalize, rebuild, generate, or replace the middle with ellipses.
|
|
82
82
|
- Weibo `--page-token <next_page_token>`: opaque pagination token; omit it on the first search request. Continue only with the complete returned `next_page_token` from the same search pagination chain. Do not modify, truncate, redact, mask, omit, normalize, rebuild, generate, or replace the middle with ellipses.
|
|
83
83
|
- WeChat Channels / 视频号 `--page-token <next_page_token>`: opaque pagination token; omit it on the first search request. Continue only with the complete returned `next_page_token` from the same search pagination chain. Do not modify, truncate, redact, mask, omit, normalize, rebuild, generate, or replace the middle with ellipses.
|
|
84
|
-
- WeChat Channels / 视频号 `--sort-type <
|
|
84
|
+
- WeChat Channels / 视频号 `--sort-type <all|time_descending|collect_count_descending>`: optional sort value; omit it for the default sort.
|
|
85
85
|
- WeChat Channels / 视频号 `--duration-range <all|under_5_min|between_5_and_20_min|over_20_min>`: optional duration filter; omit it for no duration filter.
|
|
86
86
|
- Weibo `--pages <n>`: fetch and merge N search pages from the current starting point; continue with returned `next_page_token`.
|
|
87
87
|
- WeChat Channels / 视频号 `--pages <n>`: fetch and merge N search pages from the current starting point; continue with returned `next_page_token`.
|
|
@@ -133,9 +133,9 @@ Kuaishou search pagination:
|
|
|
133
133
|
- Pass the complete returned `next_page_token` back unchanged as `page_token` for the same search pagination chain. Do not modify, truncate, redact, mask, omit, normalize, rebuild, generate, or replace the middle with ellipses.
|
|
134
134
|
|
|
135
135
|
WeChat Channels / 视频号 sort values:
|
|
136
|
-
- `
|
|
136
|
+
- `all`: no sort restriction.
|
|
137
137
|
- `time_descending`: newest first.
|
|
138
|
-
- `
|
|
138
|
+
- `collect_count_descending`: hottest first / most collected first.
|
|
139
139
|
|
|
140
140
|
WeChat Channels / 视频号 duration filter values:
|
|
141
141
|
- `all`: no duration filter.
|
|
@@ -197,7 +197,7 @@ For WeChat Channels / 视频号, call `wechat_search_videos` with:
|
|
|
197
197
|
- `keyword`: required search phrase or topic.
|
|
198
198
|
- `page_token`: optional opaque pagination token. Continue only with the complete returned `next_page_token` from the same search pagination chain. Do not modify, truncate, redact, mask, omit, normalize, rebuild, generate, or replace the middle with ellipses.
|
|
199
199
|
Do not pass `page` to `wechat_search_videos`; omit `page_token` on the first request.
|
|
200
|
-
- `sort_type`: optional, one of `
|
|
200
|
+
- `sort_type`: optional, one of `all`, `time_descending`, `collect_count_descending`; omit it for the default sort.
|
|
201
201
|
- `duration_range`: optional duration filter, one of `all`, `under_5_min`, `between_5_and_20_min`, `over_20_min`; omit it for no duration filter.
|
|
202
202
|
Continue WeChat Channels pagination only when `next_page_token` is not empty. Pass the complete returned `next_page_token` back unchanged as `page_token` for the same keyword and filter chain.
|
|
203
203
|
`--since-days` uses CLI-side filtering only and is not an MCP tool argument; for MCP-only calls, request newest-first/native publish-time filters where available and filter returned `publish_time` values in your analysis.
|