sino-bc-cli 1.8.20 → 1.8.22

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 (22) hide show
  1. package/dist/SKILL.md +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/skills/custom/biz-line-strategy-generate/SKILL.md +20 -23
  4. package/dist/skills/custom/biz-line-strategy-generate/references/api-flow.md +5 -5
  5. package/dist/skills/custom/biz-line-strategy-generate/references/four-strategies.md +16 -14
  6. package/dist/skills/custom/biz-line-strategy-generate/references/metrics.md +29 -278
  7. package/dist/skills/custom/biz-line-strategy-generate/references/output-excel.md +8 -57
  8. package/dist/skills/custom/biz-line-strategy-generate/references/runtime.md +22 -57
  9. package/dist/skills/custom/biz-line-strategy-generate/references/spec.md +124 -0
  10. package/dist/skills/custom/biz-line-strategy-generate/scripts/build_report.py +98 -9
  11. package/dist/skills/custom/biz-line-strategy-generate/scripts/cleanup.py +71 -82
  12. package/dist/skills/custom/biz-line-strategy-generate/scripts/cli_json.py +125 -19
  13. package/dist/skills/custom/biz-line-strategy-generate/scripts/fetch_data.py +61 -32
  14. package/dist/skills/custom/biz-line-strategy-generate/scripts/run_workflow.py +189 -0
  15. package/dist/skills/custom/biz-line-strategy-generate/scripts/summarize.py +158 -148
  16. package/dist/skills/custom/biz-line-strategy-generate/scripts/test_strategy_rules.py +16 -2
  17. package/dist/skills/custom/biz-line-strategy-generate/scripts/test_workflow.py +345 -0
  18. package/package.json +1 -1
  19. package/dist/skills/custom/biz-line-strategy-generate/scripts/__pycache__/build_report.cpython-314.pyc +0 -0
  20. package/dist/skills/custom/biz-line-strategy-generate/scripts/__pycache__/cli_json.cpython-314.pyc +0 -0
  21. package/dist/skills/custom/biz-line-strategy-generate/scripts/__pycache__/fetch_data.cpython-314.pyc +0 -0
  22. package/dist/skills/custom/biz-line-strategy-generate/scripts/__pycache__/summarize.cpython-314.pyc +0 -0
package/dist/SKILL.md CHANGED
@@ -80,7 +80,7 @@ CLI 未安装:`npm i sino-bc-cli@latest -g`(Node.js >= 24)。技能未出
80
80
  | 身份令牌、网关地址、成功/失败怎么看、写操作要不要确认 | [`sino-bc-shared/SKILL.md`](sino-bc-shared/SKILL.md) | `/auth login` `/set-config auth-token <AT> [RT]` `/get-config` |
81
81
  | 浏览器授权登录、身份令牌状态、清除凭证、查询可用签约主体 | 同上 | `/auth login\|status\|logout` `/tenant list` |
82
82
  | 投放品类、业务线列表/详情/状态、周策略增删改查、策略周期/消耗/红绿灯、关联项目/优化项目 | [`sino-bc-biz-line/SKILL.md`](sino-bc-biz-line/SKILL.md) | `biz-line +<shortcut>` |
83
- | 生成业务线投放策略并导出 Excel(预算/广告产品/受众/素材及 learning) | [`biz-line-strategy-generate/SKILL.md`](biz-line-strategy-generate/SKILL.md) | 该技能 `scripts/`(`python3`) |
83
+ | 生成业务线投放策略并导出 Excel(预算/广告产品/受众/素材及 learning) | [`biz-line-strategy-generate/SKILL.md`](biz-line-strategy-generate/SKILL.md) | `scripts/run_workflow.py`(Python 3;最多 3 条并发,逐条清理,仅留最终 Excel) |
84
84
  | 投放渠道、广告投放媒体字典 | [`sino-bc-media/SKILL.md`](sino-bc-media/SKILL.md) | `media +channels` |
85
85
  | Facebook / Google / TikTok 广告策略维度(目标、出价、定向等配置分布)或广告策略成效(消耗、曝光、点击等) | [`sino-bc-biz-line/SKILL.md`](sino-bc-biz-line/SKILL.md) | `biz-line +<shortcut>`(维度 / 成效) |
86
86
  | SSO 组别 | [`sino-bc-sso/SKILL.md`](sino-bc-sso/SKILL.md) | `sso +group-list` |