siluzan-tso-cli 1.1.55-beta.1 → 1.1.55
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 +1 -2
- package/dist/index.js +473 -231
- package/dist/skill/SKILL.md +1 -1
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/references/accounts/accounts-list.md +3 -1
- package/dist/skill/references/accounts/accounts-permissions.md +2 -2
- package/dist/skill/references/accounts/finance.md +1 -1
- package/dist/skill/references/accounts/open-account-by-media.md +1 -1
- package/dist/skill/references/accounts/open-account-google-ui.md +1 -1
- package/dist/skill/references/analytics/rag.md +1 -1
- package/dist/skill/references/analytics/reporting.md +5 -5
- package/dist/skill/references/core/agent-conventions.md +3 -3
- package/dist/skill/references/core/setup.md +5 -5
- package/dist/skill/references/misc/tso-home.md +2 -2
- package/dist/skill/references/operations/guard.md +1 -1
- package/dist/skill/scripts/install.ps1 +3 -3
- package/dist/skill/scripts/install.sh +3 -3
- package/eval/cases/compat-account-balance.scenario.json +23 -0
- package/eval/cases/compat-cpa-risk-scan.scenario.json +26 -0
- package/eval/cases/compat-d-group-mcc.scenario.json +31 -0
- package/eval/cases/compat-google-analysis-run-is-real.scenario.json +23 -0
- package/eval/cases/compat-playbook-code-w1.scenario.json +23 -0
- package/eval/cases/hosted-sop-daily-budget-circuit-breaker.scenario.json +8 -2
- package/eval/cases/uj-patrol-google-balances-low.scenario.json +9 -3
- package/package.json +1 -1
package/dist/skill/SKILL.md
CHANGED
|
@@ -141,7 +141,7 @@ siluzan-tso -h
|
|
|
141
141
|
| ------------------ | ------ | -------- |
|
|
142
142
|
| 智能预警:创建/查询/启停/触发记录 | W10 | `references/operations/forewarning.md` |
|
|
143
143
|
| TikTok / Meta 线索表单 | W11 | `references/operations/clue.md` |
|
|
144
|
-
| 日/周巡检 | W12 | `references/core/workflows.md`(W12)+ `references/accounts/accounts-balance-stats.md` |
|
|
144
|
+
| 日/周巡检 | W12 | `references/core/workflows.md`(W12)+ `references/accounts/accounts-balance-stats.md`(交付物是 CLI 的 `userDelivery`,宿主 `present_files`) |
|
|
145
145
|
| 超预算熔断 / 空耗熔断(全户 Google) | — | `references/operations/guard.md`(`guard budget-circuit` / `guard zero-conv`;禁止逐户 for-loop) |
|
|
146
146
|
| Bing 自动化巡检(封禁/拒审/超预算/空耗预警) | — | `references/operations/hosted-automation-bing.md`(只读告警,不能自动暂停/改价) |
|
|
147
147
|
| Yandex 自动化巡检(归档/拒审/超预算/空耗预警) | — | `references/operations/hosted-automation-yandex.md`(只读告警,不能自动暂停/改价) |
|
package/dist/skill/_meta.json
CHANGED
|
@@ -28,6 +28,8 @@ siluzan-tso list-accounts [选项]
|
|
|
28
28
|
|
|
29
29
|
**命令定位**:`list-accounts` 主打**精准查询账号信息**(列表、计数、按名称/ID 找户、`entityId` / `mediaCustomerId` / 币种 / 状态等元数据),**不是余额/消耗汇总工具**。JSON **不含**余额/消耗字段,表格也不显示余额列;**禁止**臆造数值——单户余额用 `balance`、全量余额预警用 `balance-scan`(P2)、多户消耗画像用 `accounts-digest`(P3)、单户消耗用 `stats`(均见 `accounts-balance-stats.md`)。
|
|
30
30
|
|
|
31
|
+
`--login-customer-id <id>` 只保留 `ma.loginCustomerId` 匹配的账户(Google MCC,`397-889-3117` 与 `3978893117` 相同)。D 组日巡检用 `--login-customer-id 3978893117`。没有这个参数名的写法会失败。同一参数也用于 `balance-scan`、`accounts-digest`、`guard`:先拉全量清单,再按该字段过滤,然后才拉消耗。不传时结果与原来一致。`--json-out` 下列全部时带 `--page-size 999`,否则只过滤本页。
|
|
32
|
+
|
|
31
33
|
### Agent 意图速查(**必读 · 避免多次试探**)
|
|
32
34
|
|
|
33
35
|
用户问「有哪些 / 列出全部 / 有多少」某媒体广告账户时,**第一次 CLI 就应带大 `--page-size`**,**禁止**先用默认 20 条再翻页重试:
|
|
@@ -168,7 +170,7 @@ siluzan-tso account-history --start 2026-03-01 --end 2026-03-31 --json-out ./sna
|
|
|
168
170
|
| 状态 | 含义 | 下一步操作 |
|
|
169
171
|
| ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
170
172
|
| `Pending` | 审核中 | 等待,可反复运行此命令轮询;审核周期因媒体而异 |
|
|
171
|
-
| `Approved` | 审核通过 | 运行 `list-accounts -m <媒体>` 确认账户已出现;引导用户充值激活(`config show` 取 `webUrl`,按 `finance.md` 打开对应媒体充值页;例如 Google 为 `https://www
|
|
173
|
+
| `Approved` | 审核通过 | 运行 `list-accounts -m <媒体>` 确认账户已出现;引导用户充值激活(`config show` 取 `webUrl`,按 `finance.md` 打开对应媒体充值页;例如 Google 为 `https://www.siluzan.com/v3/foreign_trade/tso/recharge/pay?mediaType=Google`;Yandex 当前没有对应充值界面) |
|
|
172
174
|
| `Rejected` | 被拒 | 查看 `--json-out` 落盘中的 `reason` 字段了解拒绝原因;修改资料后重新提交;若原因不明,引导用户联系丝路赞客服 |
|
|
173
175
|
|
|
174
176
|
---
|
|
@@ -490,7 +490,7 @@ siluzan-tso account email-deauth -c <mediaCustomerId> --invitation-id <id> --res
|
|
|
490
490
|
|
|
491
491
|
| 功能 | 媒体 | 网页路径 |
|
|
492
492
|
| --------------------------------------- | ------ | ------------------------------------------------- |
|
|
493
|
-
| **账户激活**(邀请他人激活 / 充值激活) | Google | `https://www
|
|
493
|
+
| **账户激活**(邀请他人激活 / 充值激活) | Google | `https://www.siluzan.com/v3/foreign_trade/tso/manageAccounts` |
|
|
494
494
|
|
|
495
495
|
**Agent 建议话术**:
|
|
496
496
|
|
|
@@ -499,5 +499,5 @@ siluzan-tso account email-deauth -c <mediaCustomerId> --invitation-id <id> --res
|
|
|
499
499
|
siluzan-tso config show # 查看 webUrl 字段
|
|
500
500
|
|
|
501
501
|
# 账户激活(Google)→ 引导至账户管理页
|
|
502
|
-
# https://www
|
|
502
|
+
# https://www.siluzan.com/v3/foreign_trade/tso/manageAccounts
|
|
503
503
|
```
|
|
@@ -126,7 +126,7 @@ siluzan-tso config show
|
|
|
126
126
|
|
|
127
127
|
### 充值页链接(按媒体 × 类型)
|
|
128
128
|
|
|
129
|
-
链接模式:`https://www
|
|
129
|
+
链接模式:`https://www.siluzan.com/v3/foreign_trade/tso/recharge/<page>?mediaType=<mediaType>`;丝路赞钱包:`https://www.siluzan.com/v3/foreign_trade/tso/recharge/siluzanWallet`(无媒体参数)。
|
|
130
130
|
|
|
131
131
|
| 充值类型 | `<page>` | 支持媒体(`mediaType` 参数) |
|
|
132
132
|
| ------------------------- | --------------------- | ------------------------------------------- |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 各媒体开户
|
|
2
2
|
|
|
3
|
-
> 网页链接:`https://www
|
|
3
|
+
> 网页链接:`https://www.siluzan.com/v3/foreign_trade/tso/accountOpeningHistory?tso=%2Fv3umijs%2Ftso%2FaccountOpeningHistory`
|
|
4
4
|
> 多命令串联见 `references/core/workflows.md` § 流程一。
|
|
5
5
|
|
|
6
6
|
## Contents
|
|
@@ -65,7 +65,7 @@ siluzan-tso open-account google-wizard
|
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
67
|
siluzan-tso account-history -m Google
|
|
68
|
-
# 审核通过后:config show → https://www
|
|
68
|
+
# 审核通过后:config show → https://www.siluzan.com/v3/foreign_trade/tso/recharge/pay?mediaType=Google
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
---
|
|
@@ -190,9 +190,9 @@ siluzan-tso report push receive-emails -m Google [--json-out ./snap]
|
|
|
190
190
|
|
|
191
191
|
| 媒体 | 报告类型 | URL 模板 |
|
|
192
192
|
| ------ | ---------------- | ----------------------------------------------------------- |
|
|
193
|
-
| Google | 日报(Daily) | `https://www
|
|
194
|
-
| Google | 小时报(Hourly) | `https://www
|
|
195
|
-
| TikTok | 日报 | `https://www
|
|
193
|
+
| Google | 日报(Daily) | `https://www.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
|
|
194
|
+
| Google | 小时报(Hourly) | `https://www.siluzan.com/media-report/hour/{entityId}?culture=zh-CN` |
|
|
195
|
+
| TikTok | 日报 | `https://www.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
|
|
196
196
|
|
|
197
197
|
`entityId` 来自 `siluzan-tso report list --json-out ./snap` 中每条记录的 `entityId` 字段。
|
|
198
198
|
|
|
@@ -205,8 +205,8 @@ siluzan-tso report list -m Google --json-out ./snap
|
|
|
205
205
|
|
|
206
206
|
# 第二步:查看 webUrl
|
|
207
207
|
siluzan-tso config show
|
|
208
|
-
# webUrl: https://www
|
|
208
|
+
# webUrl: https://www.siluzan.com
|
|
209
209
|
|
|
210
210
|
# 第三步:拼接链接(Google 日报)
|
|
211
|
-
# https://www
|
|
211
|
+
# https://www.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
|
|
212
212
|
```
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
- 区间:2026-04-01 ~ 2026-04-30
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
-
**D · 巡检 / 定时任务必须收口**:余额预警、转化成本 / CPA / 零转化、多户汇总等任务,结束时必须向用户交付 **排序表摘要** 或
|
|
241
|
+
**D · 巡检 / 定时任务必须收口**:余额预警、转化成本 / CPA / 零转化、多户汇总等任务,结束时必须向用户交付 **排序表摘要** 或 **显式失败原因**(命令报错、无命中、转化字段未返回等)。定时巡检的交付物就是 CLI 的 `userDelivery`,宿主负责 `present_files`。**禁止**只跑 CLI / 调试脚本后沉默结束。
|
|
242
242
|
|
|
243
243
|
---
|
|
244
244
|
|
|
@@ -246,12 +246,12 @@
|
|
|
246
246
|
|
|
247
247
|
| 任务 | 推荐命令 | 禁止 |
|
|
248
248
|
| -------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
249
|
-
| 多账户余额 / 预算不足预警 | `balance-scan -m <媒体> --threshold-days 7`(用 **`dailySpend`** / `remainingDays`)
|
|
249
|
+
| 多账户余额 / 预算不足预警 | `balance-scan -m <媒体> --threshold-days 7`(用 **`dailySpend`** / `remainingDays`;交付 `agentBrief.userDelivery`) | 逐账户 `balance --accounts ...`;`account balance`;把 `stats` 多日 **`spend` 当「日消耗」** |
|
|
250
250
|
| 多账户投放画像 / 转化成本巡检 | `accounts-digest -m <媒体> [-a ...] --start --end --json-out`(CPA 加 `--max-cpa --skip-balance`;**`spend`=区间合计**;交付 `agentBrief.userDelivery`) | 发明 `cpa-risk-scan`;逐账户 `stats`;把 `meta.totals` 说成全部账户;把 `ctr` 再乘 100 |
|
|
251
251
|
| 单户按日 Excel | `stats … --by-day --json-out`(P4-DAILY) | 默认 `stats` 当按日 |
|
|
252
252
|
| 多账户 × 多维度 Google 数据 | 全量:`google-analysis-batch run`(省略 `-a`);2~10:`google-analysis -a id1,id2,...` | 外层 for-loop;先 list 再拼 `-a` |
|
|
253
253
|
| 多系列诊断 | `ad campaigns --json-out` + node 读文件过滤 | 逐系列 `ad campaign-get` |
|
|
254
|
-
| 单日预算熔断 / 空耗熔断(全户 Google) | `guard budget-circuit` / `guard zero-conv -m Google --json-out
|
|
254
|
+
| 单日预算熔断 / 空耗熔断(全户 Google) | `guard budget-circuit` / `guard zero-conv -m Google --json-out`(交付 `userDelivery`;见 `operations/guard.md`) | 六媒体 `list-accounts` + 逐户 `ad campaigns`/`ad groups` for-loop;`ad campaigns -m`(非法) |
|
|
255
255
|
| 单户当日花费比日预算 | `ad campaigns -a <id> --start <当日> --end <当日>`(**start=end**)后再比 `spend` 与 `budget` | 用默认近 7 天窗口的 `spend` 对比日预算 |
|
|
256
256
|
|
|
257
257
|
**消耗口径(自动化必读)**:凡 `--start`/`--end` 读命令的 `spend` = **闭区间合计**,默认近 7 天 ≠ 一天。日均用 `balance-scan.dailySpend` 或 `合计÷天数`;详见 `references/operations/hosted-automation-self-control.md`「检查项常用 JSON 字段」。
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
## 安装 CLI
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install -g siluzan-tso-cli
|
|
13
|
+
npm install -g siluzan-tso-cli
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
---
|
|
@@ -64,7 +64,7 @@ siluzan-tso config set --api-key <Key> # 或 config 直接写入
|
|
|
64
64
|
siluzan-tso config set --token <Token> # 备用:设置 JWT Token
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
API Key 获取入口:`https://www
|
|
67
|
+
API Key 获取入口:`https://www.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
# 第 1 步:让用户报出手机号后,立刻发码(命令立即返回,不会等待输入)
|
|
@@ -127,9 +127,9 @@ siluzan-tso config show
|
|
|
127
127
|
|
|
128
128
|
```
|
|
129
129
|
构建环境 : production
|
|
130
|
-
apiBaseUrl : https://tso-api
|
|
131
|
-
googleApiUrl : https://googleapi
|
|
132
|
-
webUrl : https://www
|
|
130
|
+
apiBaseUrl : https://tso-api.siluzan.com
|
|
131
|
+
googleApiUrl : https://googleapi.mysiluzan.com
|
|
132
|
+
webUrl : https://www.siluzan.com
|
|
133
133
|
apiKey : abcd****1234
|
|
134
134
|
```
|
|
135
135
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
siluzan-tso config show # 取 webUrl
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
首页地址:`https://www
|
|
9
|
+
首页地址:`https://www.siluzan.com/v3/foreign_trade/tso/home`
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ siluzan-tso config show # 取 webUrl
|
|
|
25
25
|
|
|
26
26
|
## 推荐话术
|
|
27
27
|
|
|
28
|
-
1. **「和首页一样的总览」** → 打开 `https://www
|
|
28
|
+
1. **「和首页一样的总览」** → 打开 `https://www.siluzan.com/v3/foreign_trade/tso/home`。
|
|
29
29
|
2. **「某个 Google 账户昨天花了多少」** → `list-accounts -m Google` + `stats -m Google -a <id>`。
|
|
30
30
|
3. **「有待充值账户」** → 说明聚合数据在首页;CLI 可 `list-accounts` + `balance` 逐户排查,或引导充值页。
|
|
31
31
|
|
|
@@ -69,7 +69,7 @@ siluzan-tso ad adgroup-status -a <mediaCustomerId> --id <adGroupId> \
|
|
|
69
69
|
|
|
70
70
|
## 输出与交付
|
|
71
71
|
|
|
72
|
-
- `--json-out`
|
|
72
|
+
- `--json-out` 的 stdout 含 `agentBrief.userDelivery`(命中表或原文「今日无命中」)。定时巡检原样粘贴,宿主负责 `present_files`
|
|
73
73
|
- 命中后用 **逐账户** `ad *-status` 暂停,**没有** `--apply`
|
|
74
74
|
|
|
75
75
|
恢复:人工加预算 / 改出价后,用 `ad campaign-status|adgroup-status|ad-status … --status Enabled`(或网页),**禁止**无人值守自动恢复。
|
|
@@ -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.55
|
|
12
|
+
$PKG_VERSION = '1.1.55'
|
|
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
|
|
15
|
+
$INSTALL_CMD = 'npm install -g siluzan-tso-cli'
|
|
16
|
+
$WEB_BASE = 'https://www.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.55
|
|
12
|
+
readonly PKG_VERSION="1.1.55"
|
|
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
|
|
15
|
+
readonly INSTALL_CMD="npm install -g siluzan-tso-cli"
|
|
16
|
+
readonly WEB_BASE="https://www.siluzan.com"
|
|
17
17
|
|
|
18
18
|
# -- Constants ----------------------------------------------------------------
|
|
19
19
|
readonly NODE_MAJOR_MIN=18
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "compat-account-balance",
|
|
3
|
+
"description": "用户说 account balance 查全部 Google 户时改跑 balance-scan",
|
|
4
|
+
"turns": [
|
|
5
|
+
"请用 siluzan-tso 执行 account balance,检查我所有 Google 广告账户余额够不够。JSON 落盘,直接跑正确的那条。"
|
|
6
|
+
],
|
|
7
|
+
"judgeExpectation": "路径:没有 `account balance`。多户余额必须 `balance-scan -m Google --json-out`。单户才用 `balance -m Google -a <id>`。\n输出:交付 `userDelivery`。不要停在错误命令上向用户解释用法后结束。",
|
|
8
|
+
"skillMapping": "references/accounts/accounts-balance-stats.md",
|
|
9
|
+
"judgeReferencePaths": [
|
|
10
|
+
"references/accounts/accounts-balance-stats.md"
|
|
11
|
+
],
|
|
12
|
+
"commandMustInclude": [
|
|
13
|
+
[
|
|
14
|
+
"balance-scan"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"--json-out"
|
|
18
|
+
]
|
|
19
|
+
],
|
|
20
|
+
"commandMustNotInclude": [
|
|
21
|
+
"account balance"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "compat-cpa-risk-scan",
|
|
3
|
+
"description": "用户说 cpa-risk-scan 时改跑 accounts-digest",
|
|
4
|
+
"turns": [
|
|
5
|
+
"帮我跑 cpa-risk-scan,看所有 Google 户最近 7 天转化成本有没有超过 500。用 siluzan-tso,直接执行正确命令,JSON 落盘。"
|
|
6
|
+
],
|
|
7
|
+
"judgeExpectation": "路径:没有 `cpa-risk-scan`。转化成本巡检用 `accounts-digest -m Google --max-cpa --json-out`。\n输出:交付 `agentBrief.userDelivery`。",
|
|
8
|
+
"skillMapping": "references/accounts/accounts-balance-stats.md",
|
|
9
|
+
"judgeReferencePaths": [
|
|
10
|
+
"references/accounts/accounts-balance-stats.md"
|
|
11
|
+
],
|
|
12
|
+
"commandMustInclude": [
|
|
13
|
+
[
|
|
14
|
+
"accounts-digest"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"--max-cpa"
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"--json-out"
|
|
21
|
+
]
|
|
22
|
+
],
|
|
23
|
+
"commandMustNotInclude": [
|
|
24
|
+
"cpa-risk-scan"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "compat-d-group-mcc",
|
|
3
|
+
"description": "D 组日巡检必须带 --login-customer-id,不得发明其它 MCC 旗标",
|
|
4
|
+
"turns": [
|
|
5
|
+
"做 D 组日巡检:只看 MCC 3978893117 下面的 Google 账户余额够不够。用 siluzan-tso,JSON 落盘,直接执行。"
|
|
6
|
+
],
|
|
7
|
+
"judgeExpectation": "路径:D 组 / MCC 3978893117 的余额巡检必须是 `balance-scan -m Google --login-customer-id 3978893117 --json-out`。\n禁止发明 `--mcc`、`--login-customerid` 或其它旗标。不传该参数时才扫全部账户。",
|
|
8
|
+
"skillMapping": "references/accounts/accounts-list.md",
|
|
9
|
+
"judgeReferencePaths": [
|
|
10
|
+
"references/accounts/accounts-list.md"
|
|
11
|
+
],
|
|
12
|
+
"commandMustInclude": [
|
|
13
|
+
[
|
|
14
|
+
"balance-scan"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"--login-customer-id"
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"3978893117"
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"--json-out"
|
|
24
|
+
]
|
|
25
|
+
],
|
|
26
|
+
"commandMustNotInclude": [
|
|
27
|
+
"--mcc",
|
|
28
|
+
"--login-customerid",
|
|
29
|
+
"--login_customer_id"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "compat-google-analysis-run-is-real",
|
|
3
|
+
"description": "单户 google-analysis run 是合法默认子命令,多户全量才用 google-analysis-batch",
|
|
4
|
+
"turns": [
|
|
5
|
+
"用 siluzan-tso 对 Google 账户 {{EVAL_ACCOUNT_READ}} 执行 google-analysis run,拉近 7 天周期数据,JSON 落盘,直接执行。"
|
|
6
|
+
],
|
|
7
|
+
"judgeExpectation": "路径:`google-analysis run -a <id> --json-out` 是单户拉数的合法写法,与 `google-analysis -a <id>` 等价,不要改写成别的命令。\n输出:说明结果在 --json-out 目录。不要求数值正确。",
|
|
8
|
+
"skillMapping": "references/core/agent-conventions.md · 批量任务",
|
|
9
|
+
"judgeReferencePaths": [
|
|
10
|
+
"references/core/agent-conventions.md"
|
|
11
|
+
],
|
|
12
|
+
"commandMustInclude": [
|
|
13
|
+
[
|
|
14
|
+
"google-analysis"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"{{EVAL_ACCOUNT_READ}}"
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"--json-out"
|
|
21
|
+
]
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "compat-playbook-code-w1",
|
|
3
|
+
"description": "把 W1 当命令时改跑 list-accounts",
|
|
4
|
+
"turns": [
|
|
5
|
+
"请执行 siluzan-tso W1,把我的 Google 广告账户都列出来,要 JSON。"
|
|
6
|
+
],
|
|
7
|
+
"judgeExpectation": "路径:`W1` 是路由编号不是 CLI 命令。列出 Google 账户用 `list-accounts -m Google --json-out`。\n输出:账户列表或明确的命令失败原因。",
|
|
8
|
+
"skillMapping": "SKILL.md 路由表 W1",
|
|
9
|
+
"commandMustInclude": [
|
|
10
|
+
[
|
|
11
|
+
"list-accounts"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"Google"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"--json-out"
|
|
18
|
+
]
|
|
19
|
+
],
|
|
20
|
+
"commandMustNotInclude": [
|
|
21
|
+
" W1"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
"id": "hosted-sop-daily-budget-circuit-breaker",
|
|
3
3
|
"description": "SOP1:单日预算熔断 — 方案须含拉数字段、系数、暂停与人工恢复(仅方案,不执行 CLI)",
|
|
4
4
|
"turns": [
|
|
5
|
-
"我在给 Google
|
|
5
|
+
"我在给 Google 账户写 Cron 宿主编排「单日预算熔断」:当日累计费用相对日预算达到 115% 就先列出对应 Campaign(系数做成可配置,默认区间按文档建议写进方案)。统计日 2026-04-24。请不要在本轮执行任何 siluzan-tso 命令;只输出一份可落地的文字方案:用哪条命令检查全户、命中后怎么交付、用户授权后才写的暂停命令、人工恢复步骤。"
|
|
6
6
|
],
|
|
7
|
-
"judgeExpectation": "评分对象:仅评 agent 最终回复里的**文字方案**(设计步骤、数据字段、判断条件、拟用写命令、复核与通知),**不**要求本轮对话中真的执行 CLI、也**不**依据命令 trace 给分。\n方案应可交给 Cron/OpenClaw 等宿主落地;示例命令可作为方案的一部分出现。\n
|
|
7
|
+
"judgeExpectation": "评分对象:仅评 agent 最终回复里的**文字方案**(设计步骤、数据字段、判断条件、拟用写命令、复核与通知),**不**要求本轮对话中真的执行 CLI、也**不**依据命令 trace 给分。\n方案应可交给 Cron/OpenClaw 等宿主落地;示例命令可作为方案的一部分出现。\n方案中的全户检查命令必须是 `siluzan-tso guard budget-circuit -m Google --json-out`(可带 `--date` / `--ratio`)。禁止把逐户 `ad campaigns` 写成正确路径。\n方案中应写明:阈值 = 日预算 × ratio(默认 1.1,建议 1.10–1.20);命中字段是系列名称、当日 `spend`、日 `budget`。交付物是 CLI 的 `userDelivery`(无命中为「今日无命中」)。\n方案中应写明:`guard` 只列出命中,不暂停。只有用户当轮明确授权后,才对命中 ID 逐条执行 `ad campaign-status … --status Paused --commit`。恢复须人工调高预算后再启用,不应写成无人值守自动恢复。",
|
|
8
8
|
"skillMapping": "references/operations/hosted-automation-self-control.md · 场景 1",
|
|
9
9
|
"judgeReferencePaths": [
|
|
10
10
|
"references/operations/hosted-automation-self-control.md",
|
|
11
11
|
"references/google-ads/google-ads.md"
|
|
12
|
+
],
|
|
13
|
+
"commandMustNotInclude": [
|
|
14
|
+
"ad campaigns"
|
|
15
|
+
],
|
|
16
|
+
"responseMustMatch": [
|
|
17
|
+
"guard budget-circuit"
|
|
12
18
|
]
|
|
13
19
|
}
|
|
@@ -2,19 +2,25 @@
|
|
|
2
2
|
"id": "uj-patrol-google-balances-low",
|
|
3
3
|
"description": "所有 Google 账户余额是否快没钱",
|
|
4
4
|
"turns": [
|
|
5
|
-
"帮我检查一下所有 Google 账户的余额,看看有没有快没钱的。用 siluzan-tso
|
|
5
|
+
"帮我检查一下所有 Google 账户的余额,看看有没有快没钱的。用 siluzan-tso,JSON 落盘,直接执行。"
|
|
6
6
|
],
|
|
7
|
-
"judgeExpectation": "
|
|
7
|
+
"judgeExpectation": "路径:多户余额预警必须执行 `balance-scan -m Google --json-out`。不要先 `list-accounts` 再逐户 `balance`,也不要执行 `account balance`。\n输出:把 CLI stdout 里的 `userDelivery` 原样交给用户(命中表或「今日无命中」)。",
|
|
8
8
|
"skillMapping": "references/accounts/accounts.md;SKILL 批量任务",
|
|
9
9
|
"judgeReferencePaths": [
|
|
10
10
|
"references/accounts/accounts.md"
|
|
11
11
|
],
|
|
12
12
|
"commandMustInclude": [
|
|
13
13
|
[
|
|
14
|
-
"
|
|
14
|
+
"balance-scan"
|
|
15
15
|
],
|
|
16
16
|
[
|
|
17
17
|
"Google"
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"--json-out"
|
|
18
21
|
]
|
|
22
|
+
],
|
|
23
|
+
"commandMustNotInclude": [
|
|
24
|
+
"account balance"
|
|
19
25
|
]
|
|
20
26
|
}
|