siluzan-tso-cli 1.1.36 → 1.1.37-beta.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.
Files changed (32) hide show
  1. package/README.md +2 -1
  2. package/dist/index.js +2860 -746
  3. package/dist/skill/_meta.json +2 -2
  4. package/dist/skill/assets/google-period-report.schema.json +226 -0
  5. package/dist/skill/assets/pmax-create-template.md +7 -1
  6. package/dist/skill/references/accounts/accounts.md +3 -3
  7. package/dist/skill/references/accounts/finance.md +1 -1
  8. package/dist/skill/references/accounts/open-account-by-media.md +1 -1
  9. package/dist/skill/references/accounts/open-account-google-ui.md +1 -1
  10. package/dist/skill/references/analytics/rag.md +1 -1
  11. package/dist/skill/references/analytics/reporting.md +5 -5
  12. package/dist/skill/references/core/setup.md +5 -5
  13. package/dist/skill/references/misc/tso-home.md +2 -2
  14. package/dist/skill/references/report-templates/README.md +14 -14
  15. package/dist/skill/references/report-templates/REPORT-WORKFLOW.md +23 -15
  16. package/dist/skill/references/report-templates/bing-period-report.md +89 -23
  17. package/dist/skill/references/report-templates/google-period-report.md +55 -5
  18. package/dist/skill/references/report-templates/meta-account-diagnosis-report.md +144 -16
  19. package/dist/skill/references/report-templates/tiktok-period-report.md +112 -7
  20. package/dist/skill/report-templates/README.md +14 -14
  21. package/dist/skill/report-templates/REPORT-WORKFLOW.md +23 -15
  22. package/dist/skill/report-templates/bing-period-report.html +1343 -0
  23. package/dist/skill/report-templates/bing-period-report.md +89 -23
  24. package/dist/skill/report-templates/google-period-report.html +1314 -0
  25. package/dist/skill/report-templates/google-period-report.md +55 -5
  26. package/dist/skill/report-templates/meta-account-diagnosis-report.html +1124 -0
  27. package/dist/skill/report-templates/meta-account-diagnosis-report.md +144 -16
  28. package/dist/skill/report-templates/tiktok-period-report.html +1111 -0
  29. package/dist/skill/report-templates/tiktok-period-report.md +112 -7
  30. package/dist/skill/scripts/install.ps1 +3 -3
  31. package/dist/skill/scripts/install.sh +3 -3
  32. package/package.json +1 -1
@@ -15,20 +15,20 @@
15
15
 
16
16
  ## 内容纲要文件
17
17
 
18
- | 文件 | 适用场景 |
19
- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
20
- | `google-period-report.md` | Google 账户分析报告(周期/月度/诊断均用此模板) |
21
- | `google-period-report-excel.md` | **仅用户要 Excel 时**(P4 定制 Sheet):先 `*.outline.txt` 后脚本写 xlsx;账户须 `-k` 核验,无 CLI excel 子命令 |
22
- | `google-account-diagnosis-report.md` | Google 账户深度诊断(健康度/转化/结构等) |
23
- | `google-ads-diagnosis.md` | Google **广告诊断**完整纲要(HTML 区块、**每日趋势 2 位小数**、**每模块必填分析/建议**) |
24
- | `meta-period-report.md` / `.html` | **Meta(Facebook)周期报告(默认)**:四步流程 → `facebook-analysis render` 出 HTML,见 P4-FB |
25
- | `meta-period-report-excel.md` | **仅用户要 Excel 时**:5 Sheet xlsx 版式;Agent 脚本写表,无 CLI excel 子命令 |
26
- | `meta-account-diagnosis-report.md` | Meta(Facebook)诊断报告(在 7 Section 内对齐 Google 诊断结构) |
27
- | `tiktok-period-report.md` | TikTok 广告主周期报告 |
28
- | `bing-period-report.md` | Bing(BingV2)分析报告 |
29
- | `okki-weekly-google-client.md` | **OKKI 周报**:Google 发客户固定话术 + 精简维度 CLI;**Excel 仅 Agent 脚本**,见 `references/core/playbooks.md` P6 |
30
- | `google-inquiry-analysis.md` | **Google 询盘分析**:严格 3 个月 + 用户询盘 + 8 Sheet xlsx,见 `references/core/playbooks.md` P7 |
31
- | `website-diagnosis-report.md` / `.html` | **网站诊断**:终稿为 **HTML**(对齐 TSO `WebsiteAnalysisReport/v3`);配合 `website-diagnosis collect`,见 P8 |
18
+ | 文件 | 适用场景 |
19
+ | -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
+ | `google-period-report.md` | **Google 周期分析报告(默认)**:终稿=HTML,四步流程 → `google-analysis render` 出 HTML |
21
+ | `google-period-report-excel.md` | **仅用户要 Excel 时**(P4 定制 Sheet):先 `*.outline.txt` 后脚本写 xlsx;账户须 `-k` 核验,无 CLI excel 子命令 |
22
+ | `google-account-diagnosis-report.md` | Google 账户深度诊断(健康度/转化/结构等) |
23
+ | `google-ads-diagnosis.md` | Google **广告诊断**完整纲要(HTML 区块、**每日趋势 2 位小数**、**每模块必填分析/建议**) |
24
+ | `meta-period-report.md` / `.html` | **Meta(Facebook)周期报告(默认)**:四步流程 → `facebook-analysis render` 出 HTML,见 P4-FB |
25
+ | `meta-period-report-excel.md` | **仅用户要 Excel 时**:5 Sheet xlsx 版式;Agent 脚本写表,无 CLI excel 子命令 |
26
+ | `meta-account-diagnosis-report.md` / `.html` | **Meta(Facebook)诊断报告(默认)**:四步流程 → `facebook-analysis diagnosis-render` 出 HTML(在 7 Section 内对齐 Google 诊断结构,未覆盖小节标 `notAvailable`) |
27
+ | `tiktok-period-report.md` / `.html` | **TikTok 广告主周期报告(默认)**:四步流程 → `tiktok-analysis render` 出 HTML |
28
+ | `bing-period-report.md` / `.html` | **Bing(BingV2)分析报告(默认)**:四步流程 → `bing-analysis render` 出 HTML |
29
+ | `okki-weekly-google-client.md` | **OKKI 周报**:Google 发客户固定话术 + 精简维度 CLI;**Excel 仅 Agent 脚本**,见 `references/core/playbooks.md` P6 |
30
+ | `google-inquiry-analysis.md` | **Google 询盘分析**:严格 3 个月 + 用户询盘 + 8 Sheet xlsx,见 `references/core/playbooks.md` P7 |
31
+ | `website-diagnosis-report.md` / `.html` | **网站诊断**:终稿为 **HTML**(对齐 TSO `WebsiteAnalysisReport/v3`);配合 `website-diagnosis collect`,见 P8 |
32
32
 
33
33
  ---
34
34
 
@@ -21,12 +21,12 @@
21
21
 
22
22
  根据媒体与用户意图,选择 `report-templates/` 下对应的 `*.md`:
23
23
 
24
- | 意图 | Google | Meta | TikTok | Bing |
25
- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------- | ------------------------- | ----------------------- |
26
- | 周期分析 / 月报 / 周报 | `google-period-report.md` | `meta-period-report.md` | `tiktok-period-report.md` | `bing-period-report.md` |
27
- | OKKI 周报 / 固定话术发客户(Google) | `okki-weekly-google-client.md` | — | — | — |
28
- | **询盘分析** / 固定运营触发(Goog账户询盘分析 / 我给你询盘信息分析Google账号XXX效果) | `google-inquiry-analysis.md`(**严格 3 个月** + 用户上传询盘资料 + 8 Sheet xlsx;见 SKILL **P7**) | — | — | — |
29
- | 深度诊断 / 健康检查 | `google-account-diagnosis-report.md` | `meta-account-diagnosis-report.md` | 同周期,注明能力受限 | 同周期 |
24
+ | 意图 | Google | Meta | TikTok | Bing |
25
+ | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------- | ----------------------- |
26
+ | 周期分析 / 月报 / 周报 | `google-period-report.md` | `meta-period-report.md` | `tiktok-period-report.md` | `bing-period-report.md` |
27
+ | OKKI 周报 / 固定话术发客户(Google) | `okki-weekly-google-client.md` | — | — | — |
28
+ | **询盘分析** / 固定运营触发(Goog账户询盘分析 / 我给你询盘信息分析Google账号XXX效果) | `google-inquiry-analysis.md`(**严格 3 个月** + 用户上传询盘资料 + 8 Sheet xlsx;见 SKILL **P7**) | — | — | — |
29
+ | 深度诊断 / 健康检查 | `google-account-diagnosis-report.md` | `meta-account-diagnosis-report.md`(`facebook-analysis diagnosis-render` 出 HTML) | 同周期,注明能力受限 | 同周期 |
30
30
 
31
31
  无精确匹配时,用最接近媒体的同类 `*.md`,并在报告开头注明。
32
32
 
@@ -71,18 +71,26 @@
71
71
 
72
72
  - 用 **node/python 脚本**读落盘 JSON,完成聚合与洞察(禁止 Read 业务 JSON、禁止对话手填数)。
73
73
  - 按 `*.md` 章节结构组织叙事与建议;所有数字可追溯到 JSON 字段。
74
- - **Meta/Facebook**:产出 `meta-period-report.json`(见 `meta-period-report.md`)。
75
- - **Google 等**:可直接组织 Markdown/HTML 正文。
74
+ - **Meta/Facebook 周期**:产出 `meta-period-report.json`(见 `meta-period-report.md`)。
75
+ - **Meta/Facebook 诊断**:产出 `meta-account-diagnosis-report.json`(见 `meta-account-diagnosis-report.md`,`meta`/`kpis` 可由 `--snapshot-dir` 自动合并)。
76
+ - **Google 周期报告**:产出 `google-period-report.json`(见 `google-period-report.md`,仅 `meta` + `narrative` 为必填)。
77
+ - **TikTok 周期报告**:产出 `tiktok-period-report.json`(见 `tiktok-period-report.md`,`meta` 可由 `--snapshot-dir` 自动合并)。
78
+ - **Bing 周期报告**:产出 `bing-period-report.json`(见 `bing-period-report.md`,`meta`/`kpis` 可由 `--snapshot-dir` 自动合并)。
79
+ - **其余场景**(OKKI、询盘等未接入 render 的模板):可直接组织 Markdown/HTML 正文。
76
80
 
77
81
  ### 步骤 5b:生成终稿(按媒体与格式)
78
82
 
79
- | 媒体 | 用户未指定格式 | 用户指定 Excel |
80
- | ----------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
81
- | **Meta/Facebook** | `facebook-analysis render` → **HTML**(必做) | Agent 脚本按 `meta-period-report-excel.md` 写 xlsx;**不**默认 `render` |
82
- | **Google** | `report-template*.html` HTML(默认 `report-template.html`) | **周期/定制 Sheet**:`google-period-report-excel.md`(P4,先 outline 后脚本);**OKKI**:P6;**询盘**:P7 |
83
- | **网站诊断** | `website-diagnosis render` → HTML | |
84
-
85
- **禁止**:Meta 周期报告默认只交 Markdown/JSON;禁止 Agent 手写 Meta HTML。
83
+ | 媒体 | 用户未指定格式 | 用户指定 Excel |
84
+ | ------------------------- | ----------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
85
+ | **Meta/Facebook 周期** | `facebook-analysis render` → **HTML**(必做) | Agent 脚本按 `meta-period-report-excel.md` 写 xlsx;**不**默认 `render` |
86
+ | **Meta/Facebook 诊断** | `facebook-analysis diagnosis-render` **HTML**(必做) | Agent 脚本写 xlsx;**不**默认 `diagnosis-render` |
87
+ | **Google 周期报告** | `google-analysis render` → **HTML**(必做) | **周期/定制 Sheet**:`google-period-report-excel.md`(P4,先 outline 后脚本);**不**默认 `render` |
88
+ | **TikTok 周期报告** | `tiktok-analysis render` → **HTML**(必做) | Agent 脚本写 xlsx;**不**默认 `render` |
89
+ | **Bing 周期报告** | `bing-analysis render` → **HTML**(必做) | Agent 脚本写 xlsx;**不**默认 `render` |
90
+ | **Google 诊断/OKKI/询盘** | 按 `report-template*.html` 写 HTML(默认 `report-template.html`) | **诊断**:同左;**OKKI**:P6;**询盘**:P7 |
91
+ | **网站诊断** | `website-diagnosis render` → HTML | — |
92
+
93
+ **禁止**:Meta / Google / TikTok / Bing 周期报告与 Meta 诊断报告默认只交 Markdown/JSON;禁止 Agent 手写以上报告 HTML。
86
94
 
87
95
  **Google 广告诊断报告**(`google-ads-diagnosis.md` / `google-account-diagnosis-report.md`)额外必遵:
88
96