@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 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;板块洞察品牌作用域收敛。
@@ -1,6 +1,6 @@
1
1
  {
2
- "generatedAt": "2026-07-02T14:00:37.643Z",
3
- "cliVersion": "0.2.0",
2
+ "generatedAt": "2026-07-03T08:48:48.566Z",
3
+ "cliVersion": "0.2.2",
4
4
  "commands": [
5
5
  "accounts",
6
6
  "accounts brand-bindings",
@@ -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;AA+1ED,OAAO,EAAE,OAAO,EAAE,CAAC"}
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(通用网页抓取,经自托管 Firecrawl;不套系统 Reddit 采集逻辑)---
2097
+ // --- scrape(通用网页抓取:Reddit .json 走直连,HTML 走 Firecrawl)---
2098
2098
  const scrapeCmd = program
2099
2099
  .command("scrape")
2100
- .description("通用网页抓取(自托管 Firecrawl)");
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", " .json 并返回剥好的 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()