siluzan-tso-cli 1.1.29-beta.2 → 1.1.29-beta.21

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 (169) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +3174 -867
  3. package/dist/skill/AGENTS.md +30 -31
  4. package/dist/skill/SKILL.md +16 -33
  5. package/dist/skill/_meta.json +2 -2
  6. package/dist/skill/assets/campaign-create-keyword-test.fixed.json +10 -33
  7. package/dist/skill/assets/campaign-create-template.json +2 -0
  8. package/dist/skill/assets/campaign-create-template.md +114 -99
  9. package/dist/skill/assets/market-analysis-rules.md +55 -55
  10. package/dist/skill/assets/meta-period-report-rules.md +61 -60
  11. package/dist/skill/assets/pmax-asset-group-template.json +12 -4
  12. package/dist/skill/assets/pmax-asset-group-template.md +25 -0
  13. package/dist/skill/assets/pmax-brand-assets-template.json +25 -0
  14. package/dist/skill/assets/pmax-brand-assets-template.md +22 -0
  15. package/dist/skill/assets/pmax-brand-guidelines-enable-template.json +24 -0
  16. package/dist/skill/assets/pmax-brand-guidelines-enable-template.md +22 -0
  17. package/dist/skill/assets/pmax-create-template.json +41 -2
  18. package/dist/skill/assets/pmax-create-template.md +84 -51
  19. package/dist/skill/assets/pmax-lead-form-template.json +36 -0
  20. package/dist/skill/assets/pmax-lead-form-template.md +70 -0
  21. package/dist/skill/assets/pmax-signals-template.json +2 -6
  22. package/dist/skill/assets/pmax-whatsapp-template.json +26 -0
  23. package/dist/skill/assets/pmax-whatsapp-template.md +45 -0
  24. package/dist/skill/assets/website-diagnosis-rules.md +67 -67
  25. package/dist/skill/references/README.md +78 -65
  26. package/dist/skill/references/accounts/accounts.md +99 -105
  27. package/dist/skill/references/accounts/finance.md +23 -79
  28. package/dist/skill/references/accounts/open-account-by-media.md +84 -81
  29. package/dist/skill/references/accounts/open-account-google-ui.md +24 -24
  30. package/dist/skill/references/analytics/account-analytics.md +94 -103
  31. package/dist/skill/references/analytics/facebook-analysis-guide.md +61 -61
  32. package/dist/skill/references/analytics/google-analysis-batch.md +2 -2
  33. package/dist/skill/references/analytics/keyword-planner-workflows.md +22 -23
  34. package/dist/skill/references/analytics/market-analysis-guide.md +31 -25
  35. package/dist/skill/references/analytics/rag.md +20 -20
  36. package/dist/skill/references/analytics/reporting.md +4 -4
  37. package/dist/skill/references/analytics/website-diagnosis-guide.md +24 -24
  38. package/dist/skill/references/core/agent-conventions.md +136 -106
  39. package/dist/skill/references/core/cli-enums.md +47 -53
  40. package/dist/skill/references/core/playbooks.md +42 -41
  41. package/dist/skill/references/core/subagent-orchestration.md +40 -40
  42. package/dist/skill/references/core/tips.md +18 -61
  43. package/dist/skill/references/core/workflows.md +36 -29
  44. package/dist/skill/references/google-ads/google-ads-campaign-plan.md +25 -24
  45. package/dist/skill/references/google-ads/google-ads.md +81 -57
  46. package/dist/skill/references/google-ads/pmax-api.md +138 -34
  47. package/dist/skill/references/google-ads/rules/README.md +15 -15
  48. package/dist/skill/references/google-ads/rules/google-ads-account-audit.md +22 -22
  49. package/dist/skill/references/google-ads/rules/google-ads-compliance.md +27 -27
  50. package/dist/skill/references/google-ads/rules/google-ads-keyword-strategy.md +15 -15
  51. package/dist/skill/references/google-ads/rules/google-ads-keyword-taxonomy.md +32 -22
  52. package/dist/skill/references/google-ads/rules/google-ads-launch-plan-template.md +32 -30
  53. package/dist/skill/references/google-ads/rules/google-ads-pmax-guide.md +3 -1
  54. package/dist/skill/references/misc/tso-home.md +8 -8
  55. package/dist/skill/references/operations/clue.md +1 -1
  56. package/dist/skill/references/operations/forewarning.md +1 -1
  57. package/dist/skill/references/operations/hosted-automation-optimize-index.md +2 -2
  58. package/dist/skill/references/operations/hosted-automation-scenarios.md +5 -5
  59. package/dist/skill/references/operations/hosted-automation-self-control.md +15 -15
  60. package/dist/skill/references/operations/hosted-automation-user-catalog.md +13 -13
  61. package/dist/skill/references/operations/optimize.md +8 -8
  62. package/dist/skill/references/report-templates/README.md +45 -0
  63. package/dist/skill/references/report-templates/REPORT-WORKFLOW.md +114 -0
  64. package/dist/skill/references/report-templates/bing-period-report.md +65 -0
  65. package/dist/skill/references/report-templates/google-account-diagnosis-report.md +83 -0
  66. package/dist/skill/references/report-templates/google-ads-diagnosis.md +378 -0
  67. package/dist/skill/references/report-templates/google-inquiry-analysis.md +543 -0
  68. package/dist/skill/references/report-templates/google-period-report-excel.md +126 -0
  69. package/dist/skill/references/report-templates/google-period-report.md +60 -0
  70. package/dist/skill/references/report-templates/market-analysis-report.md +40 -0
  71. package/dist/skill/references/report-templates/meta-account-diagnosis-report.md +74 -0
  72. package/dist/skill/references/report-templates/meta-period-report-excel.md +230 -0
  73. package/dist/skill/references/report-templates/meta-period-report.md +219 -0
  74. package/dist/skill/references/report-templates/okki-weekly-google-client.md +217 -0
  75. package/dist/skill/references/report-templates/tiktok-period-report.md +56 -0
  76. package/dist/skill/references/report-templates/website-diagnosis-report.md +79 -0
  77. package/dist/skill/report-templates/README.md +16 -14
  78. package/dist/skill/report-templates/REPORT-WORKFLOW.md +13 -13
  79. package/dist/skill/report-templates/google-account-diagnosis-report.md +1 -1
  80. package/dist/skill/report-templates/google-ads-diagnosis.md +21 -21
  81. package/dist/skill/report-templates/google-inquiry-analysis.md +44 -44
  82. package/dist/skill/report-templates/google-period-report-excel.md +24 -24
  83. package/dist/skill/report-templates/google-period-report.md +23 -23
  84. package/dist/skill/report-templates/market-analysis-report.md +1 -1
  85. package/dist/skill/report-templates/meta-period-report-excel.md +72 -64
  86. package/dist/skill/report-templates/meta-period-report.html +706 -428
  87. package/dist/skill/report-templates/meta-period-report.md +61 -60
  88. package/dist/skill/report-templates/okki-weekly-google-client.md +26 -26
  89. package/dist/skill/report-templates/report-template-academic.html +1 -1
  90. package/dist/skill/report-templates/report-template-dark.html +1 -1
  91. package/dist/skill/report-templates/report-template-formal.html +1 -1
  92. package/dist/skill/report-templates/report-template-mobile.html +1 -1
  93. package/dist/skill/report-templates/report-template-onepager.html +1 -1
  94. package/dist/skill/report-templates/report-template-print.html +1 -1
  95. package/dist/skill/report-templates/report-template.html +1 -1
  96. package/dist/skill/report-templates/website-diagnosis-report.html +1731 -1653
  97. package/dist/skill/report-templates/website-diagnosis-report.md +21 -23
  98. package/dist/skill/scripts/install.ps1 +1 -1
  99. package/dist/skill/scripts/install.sh +1 -1
  100. package/dist/skill/snippets/handoff-p7-inquiry.md +5 -5
  101. package/eval/cases/accounts-entityid-vs-mediaccustomerid.scenario.json +2 -14
  102. package/eval/cases/accounts-mcc-bind-inquiry.scenario.json +1 -3
  103. package/eval/cases/accounts-single-balance-not-bulk.scenario.json +3 -14
  104. package/eval/cases/budget-display-not-raw-micros.scenario.json +1 -8
  105. package/eval/cases/clue-meta-leads-json.scenario.json +2 -14
  106. package/eval/cases/clue-tiktok-leads-json.scenario.json +2 -11
  107. package/eval/cases/destructive-account-delink-needs-confirm.scenario.json +3 -9
  108. package/eval/cases/destructive-forewarning-delete-needs-confirm.scenario.json +3 -9
  109. package/eval/cases/destructive-invoice-apply-needs-confirm.scenario.json +3 -9
  110. package/eval/cases/facebook-analysis-google-section-aliases.scenario.json +2 -11
  111. package/eval/cases/facebook-analysis-not-google-keywords.scenario.json +3 -10
  112. package/eval/cases/facebook-analysis-period-default.scenario.json +2 -14
  113. package/eval/cases/finance-invoice-info-list.scenario.json +3 -11
  114. package/eval/cases/forewarning-list-google.scenario.json +3 -14
  115. package/eval/cases/google-ads-no-structural-without-confirm.scenario.json +2 -6
  116. package/eval/cases/google-analysis-keywords-route.scenario.json +2 -14
  117. package/eval/cases/human-p1-multiturn.scenario.json +1 -5
  118. package/eval/cases/meta-single-balance-not-bulk.scenario.json +3 -17
  119. package/eval/cases/no-legacy-json-flag.scenario.json +2 -6
  120. package/eval/cases/open-account-google-noninteractive.scenario.json +1 -3
  121. package/eval/cases/open-account-tiktok-license-file.scenario.json +1 -3
  122. package/eval/cases/optimize-list-by-account.scenario.json +3 -11
  123. package/eval/cases/p1-single-account-profile.scenario.json +1 -11
  124. package/eval/cases/p2-balance-scan-bulk.scenario.json +2 -9
  125. package/eval/cases/p3-accounts-digest.scenario.json +1 -5
  126. package/eval/cases/p4-fb-meta-period-report.scenario.json +2 -12
  127. package/eval/cases/p4-period-report-window.scenario.json +1 -8
  128. package/eval/cases/pmax-asset-group-create-with-bg.scenario.json +15 -0
  129. package/eval/cases/pmax-brand-edit-routing.scenario.json +12 -0
  130. package/eval/cases/pmax-edit-not-campaign-edit.scenario.json +15 -0
  131. package/eval/cases/pmax-enable-brand-guidelines.scenario.json +15 -0
  132. package/eval/cases/pmax-no-assets-update-brand-fields.scenario.json +12 -0
  133. package/eval/cases/rag-before-keyword-expand.scenario.json +1 -11
  134. package/eval/cases/rag-list-then-query.scenario.json +2 -14
  135. package/eval/cases/report-list-google.scenario.json +2 -11
  136. package/eval/cases/report-push-list-google.scenario.json +2 -11
  137. package/eval/cases/setup-login-or-env.scenario.json +1 -3
  138. package/eval/cases/setup-siluzan-data-permission-env.scenario.json +1 -3
  139. package/eval/cases/tiktok-bc-bind-inquiry.scenario.json +2 -6
  140. package/eval/cases/time-range-user-delegates-default.scenario.json +1 -8
  141. package/eval/cases/tips-json-out-filtering.scenario.json +1 -3
  142. package/eval/cases/tips-large-json-pagination.scenario.json +1 -3
  143. package/eval/cases/uj-ad-campaign-validate-before-create-stub.scenario.json +2 -11
  144. package/eval/cases/uj-ad-outdoor-campgear-search-plan.scenario.json +1 -3
  145. package/eval/cases/uj-analytics-30d-pdf-campaign-device-geo.scenario.json +6 -18
  146. package/eval/cases/uj-analytics-compare-google-tiktok-last-month-roi.scenario.json +1 -8
  147. package/eval/cases/uj-analytics-google-weekly-trends-campaigns-keywords.scenario.json +2 -11
  148. package/eval/cases/uj-analytics-report-push-weekly-email.scenario.json +1 -3
  149. package/eval/cases/uj-finance-invoice-records-this-month.scenario.json +2 -11
  150. package/eval/cases/uj-life-newbie-siluzan-google-end-to-end.scenario.json +1 -4
  151. package/eval/cases/uj-ops-google-accounts-list-normal.scenario.json +2 -17
  152. package/eval/cases/uj-ops-google-yesterday-spend-conversions.scenario.json +2 -14
  153. package/eval/cases/uj-ops-pause-worst-adgroup-confirm.scenario.json +2 -6
  154. package/eval/cases/uj-ops-tiktok-leads-last-week.scenario.json +3 -17
  155. package/eval/cases/uj-patrol-cpc-spike-adgroups-over-15.scenario.json +1 -5
  156. package/eval/cases/uj-patrol-forewarning-create-daily-cap-3000.scenario.json +1 -3
  157. package/eval/cases/uj-patrol-forewarning-trigger-records.scenario.json +3 -17
  158. package/eval/cases/uj-patrol-google-balances-low.scenario.json +2 -11
  159. package/eval/cases/uj-roi-optimize-records-then-execute-cautiously.scenario.json +3 -14
  160. package/eval/cases/uj-roi-search-terms-add-negative-keywords.scenario.json +2 -14
  161. package/eval/stub-fixtures/facebook-analysis.json +24 -4
  162. package/eval/stub-fixtures/meta-overview.json +4 -1
  163. package/eval/stub-fixtures/pmax-asset-group-create-ok.json +12 -0
  164. package/eval/stub-fixtures/pmax-brand-assets-edit-ok.json +11 -0
  165. package/eval/stub-fixtures/pmax-brand-guidelines-enable-ok.json +11 -0
  166. package/eval/stub-fixtures/pmax-edit-ok.json +11 -0
  167. package/eval/stub-fixtures/pmax-get-bg-on.json +20 -0
  168. package/package.json +1 -1
  169. package/dist/skill/references/core/deliverable-preflight.md +0 -109
@@ -1,8 +1,9 @@
1
1
  # 战略市场分析(Market Analysis)
2
2
 
3
- > 对齐 TSO Copilot `getMarketReport` 业务目标;**Skill/CLI 场景**与网页版分工不同:
4
- > - **TSO 网页**:Copilot 工具内调 `aisearch` 一次生成 HTML
5
- > - **siluzan-tso Skill**:`collect` 只落盘上下文 → **宿主 Agent** WebSearch/WebFetch 调研 → 写 `market-report.json` `render` 出 HTML
3
+ > 对齐 TSO Copilot `getMarketReport` 业务目标;**Skill/CLI 场景**与网页版分工不同:
4
+ >
5
+ > - **TSO 网页**:Copilot 工具内调 `aisearch` 一次生成 HTML
6
+ > - **siluzan-tso Skill**:`collect` 只落盘上下文 → **宿主 Agent** WebSearch/WebFetch 调研 → 写 `market-report.json` → `render` 出 HTML
6
7
 
7
8
  **质量门禁**(见 `assets/market-analysis-rules.md`):`render` 按 **原始业务维度清单** 校验必含内容,缺项失败(非文件大小)。
8
9
 
@@ -12,12 +13,12 @@
12
13
 
13
14
  ## 与相近能力区分
14
15
 
15
- | 能力 | 入口 | 说明 |
16
- | ---- | ---- | ---- |
17
- | **战略市场分析** | `market-analysis collect` + Agent + `render` | KA 战略报告(公开数据 + Agent 归纳) |
18
- | **网站诊断** | `website-diagnosis collect` + Agent + `render` | 落地页 6 模块评分 |
19
- | **账户周期报告** | `google-analysis` | 广告投放数据 |
20
- | **拓词市场指标** | `keyword suggest` | Keyword Planner 搜索量/CPC |
16
+ | 能力 | 入口 | 说明 |
17
+ | ---------------- | ---------------------------------------------- | ------------------------------------ |
18
+ | **战略市场分析** | `market-analysis collect` + Agent + `render` | KA 战略报告(公开数据 + Agent 归纳) |
19
+ | **网站诊断** | `website-diagnosis collect` + Agent + `render` | 落地页 6 模块评分 |
20
+ | **账户周期报告** | `google-analysis` | 广告投放数据 |
21
+ | **拓词市场指标** | `keyword suggest` | Keyword Planner 搜索量/CPC |
21
22
 
22
23
  ---
23
24
 
@@ -40,10 +41,10 @@ siluzan-tso market-analysis render \
40
41
  --out ./snap-market/market-analysis-report.html
41
42
  ```
42
43
 
43
- | 子命令 | 网络请求 | 说明 |
44
- | ------ | -------- | ---- |
45
- | `collect` | 可选 `POST Agent /download-assets`(有 `--website` 时) | 不调用 aisearch |
46
- | `render` | 无 | 读取本地 JSON 写 HTML |
44
+ | 子命令 | 网络请求 | 说明 |
45
+ | --------- | ------------------------------------------------------- | --------------------- |
46
+ | `collect` | 可选 `POST Agent /download-assets`(有 `--website` 时) | 不调用 aisearch |
47
+ | `render` | 无 | 读取本地 JSON 写 HTML |
47
48
 
48
49
  有 `--website` 时走 Agent 网关(与 `website-diagnosis collect` 相同):`SILUZAN_AGENT_BASE` / `agent.mysiluzan.com`。
49
50
 
@@ -51,16 +52,16 @@ siluzan-tso market-analysis render \
51
52
 
52
53
  ## 输入参数
53
54
 
54
- | 参数 | CLI 选项 | 必填 | 默认 |
55
- | ---- | -------- | ---- | ---- |
56
- | 客户名称 | `--customer-name` | 四选一* | — |
57
- | 客户网站 | `--website` | 四选一* | — |
58
- | 所属行业 | `--industry` | 四选一* | — |
59
- | 核心产品 | `--core-products` | 四选一* | — |
60
- | 商业定位 | `--business-position` | 否 | — |
61
- | 目标市场 | `--target-market` | 否 | 全球 |
62
- | 时间范围 | `--time-range` | 否 | 近12个月 |
63
- | 跳过官网抓取 | `--skip-website` | 否 | 有 website 时默认抓取预览 |
55
+ | 参数 | CLI 选项 | 必填 | 默认 |
56
+ | ------------ | --------------------- | -------- | ------------------------- |
57
+ | 客户名称 | `--customer-name` | 四选一\* | — |
58
+ | 客户网站 | `--website` | 四选一\* | — |
59
+ | 所属行业 | `--industry` | 四选一\* | — |
60
+ | 核心产品 | `--core-products` | 四选一\* | — |
61
+ | 商业定位 | `--business-position` | 否 | — |
62
+ | 目标市场 | `--target-market` | 否 | 全球 |
63
+ | 时间范围 | `--time-range` | 否 | 近12个月 |
64
+ | 跳过官网抓取 | `--skip-website` | 否 | 有 website 时默认抓取预览 |
64
65
 
65
66
  \* 客户名称、网站、行业、核心产品**至少提供一项**。
66
67
 
@@ -77,7 +78,7 @@ siluzan-tso market-analysis render \
77
78
  ```bash
78
79
  siluzan-tso market-analysis render --data ./snap-market/market-report.json --out ./snap-market/market-analysis-report.html
79
80
  ```
80
- 7. 向用户交付 HTML 路径;说明需联网加载 CDN
81
+ 7. 向用户交付 HTML 路径;说明需联网加载 Bootstrap / ECharts CDN(`homeCDN/echarts.js`)。
81
82
 
82
83
  **禁止**跳过 `render` 直接把聊天里的 HTML 当终稿;**禁止**编造无来源的具体数据。
83
84
 
@@ -89,7 +90,12 @@ siluzan-tso market-analysis render \
89
90
 
90
91
  ```json
91
92
  {
92
- "customerInfo": { "customerName": "…", "website": "…", "targetMarket": "北美", "timeRange": "近12个月" },
93
+ "customerInfo": {
94
+ "customerName": "…",
95
+ "website": "…",
96
+ "targetMarket": "北美",
97
+ "timeRange": "近12个月"
98
+ },
93
99
  "targetMarket": "北美",
94
100
  "timeRange": "近12个月",
95
101
  "collectedAt": "2026-06-05T12:00:00.000Z",
@@ -25,14 +25,14 @@ siluzan-tso rag query -q "行业术语 英文类目" --folder-id <id> --top-k 10
25
25
 
26
26
  ## 参数说明
27
27
 
28
- | 选项 | 默认 | 说明 |
29
- | ------------- | --------- | --------------------------------------------------------------- |
30
- | `-q, --query` | 必填 | 检索词。含空白时按词分检、去重合并(`--json-out` 含 `subQueries`) |
31
- | `--folder-id` | 全库 | 文件夹 ID,逗号分隔;**已识别客户/品牌时强烈建议锁定** |
32
- | `--tags` | 不过滤 | 不传 = 全库无标签限制 |
33
- | `--partition` | `default` | 仅 `wiki` 或 `default`;长正文优先 `wiki`,缺细节再补 `default` |
34
- | `--top-k` | 7 | 每分检 3–30 条;多词合并上限 `min(30, topK×词数)` |
35
- | `--json-out` | false | 机器可读输出(含 `score` 0–1,越大越相关) |
28
+ | 选项 | 默认 | 说明 |
29
+ | ------------- | --------- | ------------------------------------------------------------------ |
30
+ | `-q, --query` | 必填 | 检索词。含空白时按词分检、去重合并(`--json-out` 含 `subQueries`) |
31
+ | `--folder-id` | 全库 | 文件夹 ID,逗号分隔;**已识别客户/品牌时强烈建议锁定** |
32
+ | `--tags` | 不过滤 | 不传 = 全库无标签限制 |
33
+ | `--partition` | `default` | 仅 `wiki` 或 `default`;长正文优先 `wiki`,缺细节再补 `default` |
34
+ | `--top-k` | 7 | 每分检 3–30 条;多词合并上限 `min(30, topK×词数)` |
35
+ | `--json-out` | false | 机器可读输出(含 `score` 0–1,越大越相关) |
36
36
 
37
37
  `belongToId` 默认从当前登录账号的 `companyId` 解析;`csoBaseUrl` 从 TSO API 自动推导,可用 `SILUZAN_CSO_BASE` 覆盖。
38
38
 
@@ -40,14 +40,14 @@ siluzan-tso rag query -q "行业术语 英文类目" --folder-id <id> --top-k 10
40
40
 
41
41
  ## TSO 业务场景路由
42
42
 
43
- | 用户意图 | 建议检索词(示例) | 后续 TSO 命令 |
44
- | ------------------------------ | ----------------------------------------- | ----------------------------------------------------------------- |
43
+ | 用户意图 | 建议检索词(示例) | 后续 TSO 命令 |
44
+ | ------------------------------ | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
45
45
  | Google 搜索广告方案 / 批量草稿 | 产品卖点、应用行业、目标国家、竞品差异 | `google-ads/google-ads-campaign-plan.md` + `keyword` / `campaign-create`;草稿发布见 `google-ads/google-ads.md` § ad batch |
46
- | 关键字拓词补语境 | 产品型号、英文类目、行业术语、应用场景 | `keyword suggest -k "..."`;编排见 `analytics/keyword-planner-workflows.md` |
47
- | 账户诊断 / 周期报告「背景」段 | 公司简介、主营产品、目标市场、认证资质 | `google-analysis` + `report-templates/` 对应模板 |
48
- | 询盘分析报告 | 产品线、出口市场、客户画像、大洲业务侧重 | `report-templates/google-inquiry-analysis.md` |
49
- | 开户行业/资质核对 | 营业执照经营范围、行业描述、品牌全称 | `accounts/open-account-by-media.md` 对应媒体开户流 |
50
- | 优化建议解释 | 产品毛利结构、旺季、转化路径(表单/电话) | `optimize` 记录 + 人工解读;数据仍来自 `google-analysis` |
46
+ | 关键字拓词补语境 | 产品型号、英文类目、行业术语、应用场景 | `keyword suggest -k "..."`;编排见 `analytics/keyword-planner-workflows.md` |
47
+ | 账户诊断 / 周期报告「背景」段 | 公司简介、主营产品、目标市场、认证资质 | `google-analysis` + `report-templates/` 对应模板 |
48
+ | 询盘分析报告 | 产品线、出口市场、客户画像、大洲业务侧重 | `report-templates/google-inquiry-analysis.md` |
49
+ | 开户行业/资质核对 | 营业执照经营范围、行业描述、品牌全称 | `accounts/open-account-by-media.md` 对应媒体开户流 |
50
+ | 优化建议解释 | 产品毛利结构、旺季、转化路径(表单/电话) | `optimize` 记录 + 人工解读;数据仍来自 `google-analysis` |
51
51
 
52
52
  检索结果**只作事实参考**:广告标题/描述须符合 `google-ads/rules/google-ads-compliance.md`;数值指标仍以 CLI 拉数为准。
53
53
 
@@ -96,9 +96,9 @@ rag list --rag-only --json-out ./snap
96
96
 
97
97
  ## 与 CSO rag 的区别
98
98
 
99
- | 维度 | siluzan-tso `rag` | siluzan-cso `rag` |
100
- | --------- | ----------------------------------------- | --------------------------------------------- |
101
- | 主要用途 | 广告投放、分析、拓词、报告背景 | 社媒文案、三库素材、口播写稿 |
99
+ | 维度 | siluzan-tso `rag` | siluzan-cso `rag` |
100
+ | --------- | ----------------------------------------- | ------------------------------------------------------- |
101
+ | 主要用途 | 广告投放、分析、拓词、报告背景 | 社媒文案、三库素材、口播写稿 |
102
102
  | 默认 tags | 不过滤(按 folder 锁客户) | 常配合三库 tags(见 CSO `references/analytics/rag.md`) |
103
- | 后续命令 | `ad` / `keyword` / `google-analysis` | `publish` / 写稿工作流 |
104
- | API | 相同 `cutapi/v1/material/queryknowledges` | 相同 |
103
+ | 后续命令 | `ad` / `keyword` / `google-analysis` | `publish` / 写稿工作流 |
104
+ | API | 相同 `cutapi/v1/material/queryknowledges` | 相同 |
@@ -25,7 +25,7 @@ siluzan-tso report list -m <媒体> [选项]
25
25
  | `-s, --status <ready>` | 是否已生成:`true \| false` |
26
26
  | `-k, --keyword <text>` | 报告名称关键字 |
27
27
  | `--start / --end <date>` | 日期范围(YYYY-MM-DD) |
28
- | `--json-out` | 输出原始 JSON |
28
+ | `--json-out` | 输出原始 JSON |
29
29
 
30
30
  **仅 JSON 交付**:若用户明确要求「只输出一个 JSON / 不要解释」,回复中**只放一个** JSON 代码块(与本次 CLI stdout 一致),前后不加说明文字;分页结果以 JSON 内 `page` / `pageSize` / `total` / `itemCount` 为准,需全量时再翻页执行。
31
31
 
@@ -109,7 +109,7 @@ siluzan-tso report push list -m <媒体> [选项]
109
109
  | `--stopped` | 仅已停用 |
110
110
  | `--start` / `--end` | 日期筛选 |
111
111
  | `-p` / `--page-size` | 分页 |
112
- | `--json-out` | 原始 JSON(列表信封 + `items`) |
112
+ | `--json-out` | 原始 JSON(列表信封 + `items`) |
113
113
 
114
114
  #### create — 新建推送
115
115
 
@@ -190,8 +190,8 @@ siluzan-tso report push receive-emails -m Google [--json-out ./snap]
190
190
 
191
191
  报告生成后,在网页查看。先用 `siluzan-tso config show` 获取 `webUrl`,再按以下规则拼接链接:
192
192
 
193
- | 媒体 | 报告类型 | URL 模板 |
194
- | ------ | ---------------- | -------------------------------------------------------- |
193
+ | 媒体 | 报告类型 | URL 模板 |
194
+ | ------ | ---------------- | ----------------------------------------------------------- |
195
195
  | Google | 日报(Daily) | `https://www-ci.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
196
196
  | Google | 小时报(Hourly) | `https://www-ci.siluzan.com/media-report/hour/{entityId}?culture=zh-CN` |
197
197
  | TikTok | 日报 | `https://www-ci.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
@@ -8,12 +8,12 @@
8
8
 
9
9
  ## 与「广告诊断」区分
10
10
 
11
- | 能力 | 入口 | 说明 |
12
- | ---- | ---- | ---- |
13
- | **网站诊断** | `website-diagnosis collect` | 落地页/官网内容与性能、营销转化、6 模块评分 |
14
- | **Google 广告账户诊断** | 前端 `/v3/foreign_trade/tso/tool/AdvertisingDiagnosis` | 账户投放健康度,非网站 HTML 评分 |
15
- | **ARIT 历史分** | `list-accounts` / `website-diagnosis search` | `ma.diagnoseReports` 中 `reportSource=ARIT` 的 `summaryScore` |
16
- | **账户周期报告** | `google-analysis` + `google-period-report.md` | 投放数据报告,非网站诊断 |
11
+ | 能力 | 入口 | 说明 |
12
+ | ----------------------- | ------------------------------------------------------ | ------------------------------------------------------------- |
13
+ | **网站诊断** | `website-diagnosis collect` | 落地页/官网内容与性能、营销转化、6 模块评分 |
14
+ | **Google 广告账户诊断** | 前端 `/v3/foreign_trade/tso/tool/AdvertisingDiagnosis` | 账户投放健康度,非网站 HTML 评分 |
15
+ | **ARIT 历史分** | `list-accounts` / `website-diagnosis search` | `ma.diagnoseReports` 中 `reportSource=ARIT` 的 `summaryScore` |
16
+ | **账户周期报告** | `google-analysis` + `google-period-report.md` | 投放数据报告,非网站诊断 |
17
17
 
18
18
  ---
19
19
 
@@ -33,11 +33,11 @@ siluzan-tso website-diagnosis search --ids <id1,id2> --json-out ./snap-web
33
33
  siluzan-tso website-diagnosis render --data ./diagnosis.json --collect ./snap-web/<collect>.json
34
34
  ```
35
35
 
36
- | 子命令 | HTTP | 基址 |
37
- | ------ | ---- | ---- |
38
- | `performance` | `GET /api/WebsiteDiagnosisReports/performance?url=` | TSO `apiBaseUrl` |
39
- | `collect` | 上式 + `POST /download-assets` body `{ urls: [url] }` | TSO + Agent 网关 |
40
- | `search` | `GET /query/WebsiteDiagnoseReport/search?ids=` | TSO |
36
+ | 子命令 | HTTP | 基址 |
37
+ | ------------- | ----------------------------------------------------- | ---------------- |
38
+ | `performance` | `GET /api/WebsiteDiagnosisReports/performance?url=` | TSO `apiBaseUrl` |
39
+ | `collect` | 上式 + `POST /download-assets` body `{ urls: [url] }` | TSO + Agent 网关 |
40
+ | `search` | `GET /query/WebsiteDiagnoseReport/search?ids=` | TSO |
41
41
 
42
42
  **Agent 网关**(与 `TSOWebsiteService` 一致):
43
43
 
@@ -94,25 +94,25 @@ siluzan-tso website-diagnosis render --data ./diagnosis.json --collect ./snap-we
94
94
  }
95
95
  ```
96
96
 
97
- | 字段 | 说明 |
98
- | ---- | ---- |
99
- | `ratingId` | `s1` 优秀 … `s5` 不建议投放(见规则文档评分等级) |
100
- | `coreIssuesIds` | 从 `ci1`–`ci10` 选取适用项 |
101
- | `modules[].id` | `m1`–`m6` 六板块均须出现 |
97
+ | 字段 | 说明 |
98
+ | -------------------- | ------------------------------------------------------------------------------ |
99
+ | `ratingId` | `s1` 优秀 … `s5` 不建议投放(见规则文档评分等级) |
100
+ | `coreIssuesIds` | 从 `ci1`–`ci10` 选取适用项 |
101
+ | `modules[].id` | `m1`–`m6` 六板块均须出现 |
102
102
  | `items[].suggestion` | 较差/需优化/缺失类 status → **「强烈建议:」** 开头;其余 → **「推荐优化:」** |
103
103
 
104
104
  ---
105
105
 
106
106
  ## 六模块一览(29 子项,ID 与 tso_agent 一致)
107
107
 
108
- | ID | 名称 | 子项 ID |
109
- | -- | ---- | ------- |
110
- | m1 | 网站内容及结构 | m1i1–m1i9 |
111
- | m2 | 网站性能 | m2i1–m2i5 |
112
- | m3 | 营销基础与广告落地页 | m3i1、m3i2、m3i4、m3i5(无 m3i3) |
113
- | m4 | 用户体验与转化 | m4i1–m4i5 |
114
- | m5 | 媒体广告投放辅助 | m5i1、m5i2、m5i4(无 m5i3) |
115
- | m6 | 社交媒体辅助 | m6i1–m6i3 |
108
+ | ID | 名称 | 子项 ID |
109
+ | --- | -------------------- | --------------------------------- |
110
+ | m1 | 网站内容及结构 | m1i1–m1i9 |
111
+ | m2 | 网站性能 | m2i1–m2i5 |
112
+ | m3 | 营销基础与广告落地页 | m3i1、m3i2、m3i4、m3i5(无 m3i3) |
113
+ | m4 | 用户体验与转化 | m4i1–m4i5 |
114
+ | m5 | 媒体广告投放辅助 | m5i1、m5i2、m5i4(无 m5i3) |
115
+ | m6 | 社交媒体辅助 | m6i1–m6i3 |
116
116
 
117
117
  子项满分、判断规则、评分细则见 **`assets/website-diagnosis-rules.md`**(摘自 `tso_agent/data/website_guide.py`)。
118
118