siluzan-tso-cli 1.1.26 → 1.1.27-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.
- package/README.md +2 -1
- package/dist/index.js +721 -102
- package/dist/skill/AGENTS.md +3 -1
- package/dist/skill/SKILL.md +5 -4
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/assets/market-analysis-rules.md +134 -0
- package/dist/skill/references/README.md +3 -1
- package/dist/skill/references/accounts/accounts.md +18 -4
- package/dist/skill/references/accounts/finance.md +32 -32
- package/dist/skill/references/accounts/open-account-google-ui.md +1 -1
- package/dist/skill/references/analytics/market-analysis-guide.md +118 -0
- package/dist/skill/references/analytics/rag.md +1 -1
- package/dist/skill/references/analytics/reporting.md +5 -5
- package/dist/skill/references/analytics/website-diagnosis-guide.md +3 -3
- package/dist/skill/references/core/agent-conventions.md +1 -1
- package/dist/skill/references/core/cli-enums.md +140 -0
- package/dist/skill/references/core/playbooks.md +35 -2
- package/dist/skill/references/core/setup.md +5 -5
- package/dist/skill/references/core/skill-authoring.md +1 -1
- package/dist/skill/references/core/tips.md +1 -1
- package/dist/skill/references/core/workflows.md +4 -4
- package/dist/skill/references/misc/tso-home.md +2 -2
- package/dist/skill/report-templates/market-analysis-report.md +40 -0
- package/dist/skill/report-templates/website-diagnosis-report.html +1869 -420
- package/dist/skill/report-templates/website-diagnosis-report.md +11 -1
- package/dist/skill/report-templates/website-diagnosis-report.runtime.js +0 -0
- package/dist/skill/scripts/install.ps1 +3 -3
- package/dist/skill/scripts/install.sh +3 -3
- package/eval/cases/no-legacy-json-flag.scenario.json +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,17 @@
|
|
|
14
14
|
| **完整报告** | 用户点「查看详情」→ `/v3/foreign_trade/tso/websiteAnalysisReport?key=…` → **Vue 整页 HTML**(`WebsiteAnalysisReport/v3`) |
|
|
15
15
|
| 导出 | 报告页内可导出 PDF |
|
|
16
16
|
|
|
17
|
-
**siluzan-tso Skill / 纯 CLI
|
|
17
|
+
**siluzan-tso Skill / 纯 CLI 场景**:**Agent 只产出诊断 JSON**;终稿 HTML **必须**由 CLI 生成,**禁止** Agent 现场手写/拼接 HTML:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
siluzan-tso website-diagnosis render --data ./diagnosis.json [--collect ./collect.json] --out ./website-diagnosis-report.html
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
模板源码:
|
|
24
|
+
- `report-templates/website-diagnosis-report.html` — 结构与样式(对齐 MarkAI v3)
|
|
25
|
+
- `report-templates/website-diagnosis-report.runtime.js` — `parseAIResultData` + ECharts 渲染逻辑
|
|
26
|
+
|
|
27
|
+
`render` 会向输出目录写入 HTML + runtime.js,并注入 `window.__WEBSITE_DIAGNOSIS__`。
|
|
18
28
|
|
|
19
29
|
---
|
|
20
30
|
|
|
File without changes
|
|
@@ -9,11 +9,11 @@ $ErrorActionPreference = 'Stop'
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
$PKG_NAME = 'siluzan-tso-cli'
|
|
11
11
|
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
-
$PKG_VERSION = '1.1.
|
|
12
|
+
$PKG_VERSION = '1.1.27-beta.2'
|
|
13
13
|
$CLI_BIN = 'siluzan-tso'
|
|
14
14
|
$SKILL_LABEL = 'Siluzan TSO'
|
|
15
|
-
$INSTALL_CMD = 'npm install -g siluzan-tso-cli'
|
|
16
|
-
$WEB_BASE = 'https://www.siluzan.com'
|
|
15
|
+
$INSTALL_CMD = 'npm install -g siluzan-tso-cli@beta'
|
|
16
|
+
$WEB_BASE = 'https://www-ci.siluzan.com'
|
|
17
17
|
|
|
18
18
|
# -- Constants ----------------------------------------------------------------
|
|
19
19
|
$NODE_MAJOR_MIN = 18
|
|
@@ -9,11 +9,11 @@ set -euo pipefail
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
readonly PKG_NAME="siluzan-tso-cli"
|
|
11
11
|
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
-
readonly PKG_VERSION="1.1.
|
|
12
|
+
readonly PKG_VERSION="1.1.27-beta.2"
|
|
13
13
|
readonly CLI_BIN="siluzan-tso"
|
|
14
14
|
readonly SKILL_LABEL="Siluzan TSO"
|
|
15
|
-
readonly INSTALL_CMD="npm install -g siluzan-tso-cli"
|
|
16
|
-
readonly WEB_BASE="https://www.siluzan.com"
|
|
15
|
+
readonly INSTALL_CMD="npm install -g siluzan-tso-cli@beta"
|
|
16
|
+
readonly WEB_BASE="https://www-ci.siluzan.com"
|
|
17
17
|
|
|
18
18
|
# -- Constants ----------------------------------------------------------------
|
|
19
19
|
readonly NODE_MAJOR_MIN=18
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "no-legacy-json-flag",
|
|
3
3
|
"description": "禁止使用过时的 --json flag",
|
|
4
4
|
"turns": [
|
|
5
|
-
"请用 siluzan-tso list-accounts -m Google --
|
|
5
|
+
"请用 siluzan-tso list-accounts -m Google --json-out ./snap 拉账户列表。"
|
|
6
6
|
],
|
|
7
7
|
"judgeExpectation": "路径:结构化拉数应使用 --json-out,不得使用已移除的 --json。",
|
|
8
8
|
"skillMapping": "references/core/tips.md · 仅 --json-out",
|