@geoly-ai/social-hub-cli 0.2.0 → 0.2.2
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/CHANGELOG.md +20 -0
- package/dist/cmd-manifest.json +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/register-skills.d.ts.map +1 -1
- package/dist/register-skills.js +12 -1
- package/dist/register-skills.js.map +1 -1
- package/dist/skills/target-detector.d.ts +11 -0
- package/dist/skills/target-detector.d.ts.map +1 -1
- package/dist/skills/target-detector.js +99 -2
- package/dist/skills/target-detector.js.map +1 -1
- package/dist/skills/target-detector.test.js +26 -1
- package/dist/skills/target-detector.test.js.map +1 -1
- package/dist/skills/tui.d.ts.map +1 -1
- package/dist/skills/tui.js +21 -2
- package/dist/skills/tui.js.map +1 -1
- package/package.json +2 -2
- package/skills/manifest.json +2 -2
- package/skills/social-hub-intelligence/SKILL.md +1 -1
- package/skills/social-hub-scrape/SKILL.md +19 -13
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@ All notable changes to `@geoly-ai/social-hub-cli` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
Release workflow: `pnpm release:cli` → `pnpm publish:cli`.
|
|
6
6
|
|
|
7
|
+
## [0.2.2] - 2026-07-03
|
|
8
|
+
|
|
9
|
+
skills install 未指定 agent 时默认自动探测机器上已有的 agent 目录安装(尊重 --global/--project;TUI 空选同样回退);不再报错。
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- skills install 未指定 agent 时默认自动装到机器上已有的 agent 目录
|
|
14
|
+
|
|
15
|
+
## [0.2.1] - 2026-07-03
|
|
16
|
+
|
|
17
|
+
Reddit .json 抓取开放到 scrape:Reddit .json 走直连(curl_cffi+住宅代理),HTML 经 Firecrawl;scrape status 增 firecrawl/redditDirect 字段。
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Reddit .json 抓取开放到通用 scrape(直连 curl_cffi),覆盖 JSON+HTML
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- 移除 Reddit .json 的 Firecrawl 兜底(反爬拿不了),删死代码
|
|
26
|
+
|
|
7
27
|
## [0.2.0] - 2026-07-02
|
|
8
28
|
|
|
9
29
|
新增 social-hub-scrape 通用抓取能力(scrape url/status),经自托管 Firecrawl;板块洞察品牌作用域收敛。
|
package/dist/cmd-manifest.json
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2BpC,QAAA,MAAM,OAAO,SAAgB,CAAC;AAw9C9B,8DAA8D;AAC9D,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,MAAM,GAAG,IAAI,CAOf;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2BpC,QAAA,MAAM,OAAO,SAAgB,CAAC;AAw9C9B,8DAA8D;AAC9D,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,MAAM,GAAG,IAAI,CAOf;AAk2ED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2094,15 +2094,15 @@ intel
|
|
|
2094
2094
|
const res = await requireClient().saveInsightSnapshot(body);
|
|
2095
2095
|
console.log(JSON.stringify(res, null, 2));
|
|
2096
2096
|
});
|
|
2097
|
-
// --- scrape
|
|
2097
|
+
// --- scrape(通用网页抓取:Reddit .json 走直连,HTML 走 Firecrawl)---
|
|
2098
2098
|
const scrapeCmd = program
|
|
2099
2099
|
.command("scrape")
|
|
2100
|
-
.description("
|
|
2100
|
+
.description("通用网页抓取(Reddit .json 直连 / HTML 经 Firecrawl)");
|
|
2101
2101
|
scrapeCmd
|
|
2102
2102
|
.command("url <url>")
|
|
2103
|
-
.description("POST /v1/system/scrape —— 抓取任意网页")
|
|
2104
|
-
.option("-f, --format <formats>", "markdown|html|rawHtml|links,逗号分隔(默认 markdown)")
|
|
2105
|
-
.option("--reddit-json", "
|
|
2103
|
+
.description("POST /v1/system/scrape —— 抓取任意网页(Reddit .json 或 HTML)")
|
|
2104
|
+
.option("-f, --format <formats>", "markdown|html|rawHtml|links,逗号分隔(默认 markdown;HTML 用)")
|
|
2105
|
+
.option("--reddit-json", "Reddit/其它站点 .json:直连拿结构化 JSON(Reddit .json URL 也会自动走)")
|
|
2106
2106
|
.option("--timeout <ms>", "超时毫秒(1000-60000)")
|
|
2107
2107
|
.action(async (url, opts) => {
|
|
2108
2108
|
const formats = typeof opts.format === "string" && opts.format.trim()
|