Conversation
Contributor
There was a problem hiding this comment.
Hey - 我已经审查了你的修改,看起来非常棒!
帮我变得更有用吧!请在每条评论上点 👍 或 👎,我会根据你的反馈来改进之后的审查质量。
Original comment in English
Hey - I've reviewed your changes and they look great!
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Member
Author
|
哦话说这些选项重构了之后,用户那边是什么体现 |
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 将“信用点商店购买策略”从原先的白名单/黑名单逻辑重构为 1/2/3 级优先购买(每级可配置物品与折扣阈值),并同步更新任务预设、流水线节点与 Go 侧参数解析以支持新的配置方式。
Changes:
- 将 CreditShopping 任务选项改为 Priority1/2/3(含物品列表与折扣阈值),并更新预设任务使用新选项
- 更新 CreditShopping 流水线:新增 Priority2/3 购买节点与对应 OCR/折扣识别节点
- Go service 侧改为读取 Priority2/3 的 attach 关键词并动态覆盖 OCR expected
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| assets/tasks/preset/QuickDaily.json | 预设任务改用优先级购买配置与折扣阈值 |
| assets/tasks/preset/DailyFull.json | 同上,更新全量日常预设的信用点购物选项 |
| assets/tasks/CreditShopping.json | 重构任务 option 结构:加入 Priority1/2/3 及各自折扣阈值与 pipeline override |
| assets/resource/pipeline/CreditShopping/Shopping.json | 流水线加入 Priority2/3 购买节点并调整扫描顺序与描述 |
| assets/resource/pipeline/CreditShopping/Item.json | 新增 Priority2/3 OCR 与折扣识别节点定义 |
| assets/locales/interface/zh_tw.json | 更新 UI 文案(含新增优先级选项) |
| assets/locales/interface/zh_cn.json | 更新 UI 文案(含新增优先级选项) |
| assets/locales/interface/ko_kr.json | 更新 UI 文案(含新增优先级选项) |
| assets/locales/interface/ja_jp.json | 更新 UI 文案(含新增优先级选项) |
| assets/locales/interface/en_us.json | 更新 UI 文案(含新增优先级选项) |
| agent/go-service/creditshopping/creditshopping.go | Go 侧解析 attach 关键词并覆盖 Priority2/3 OCR expected(替代黑名单正则) |
Contributor
应该是改过名字的选项都会变为默认,对于继承不了配置的重构我建议还是要改一下任务名 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
重构积分商店物品选择逻辑,从基于黑名单的过滤改为使用多级优先级分组。
New Features:
Enhancements:
Documentation:
Original summary in English
Summary by Sourcery
Refactor credit shop item selection to use multi-level priority groups instead of a blacklist-based filter.
New Features:
Enhancements:
Documentation:
增强内容:
文档:
Original summary in English
Summary by Sourcery
重构积分商店物品选择逻辑,从基于黑名单的过滤改为使用多级优先级分组。
New Features:
Enhancements:
Documentation:
Original summary in English
Summary by Sourcery
Refactor credit shop item selection to use multi-level priority groups instead of a blacklist-based filter.
New Features:
Enhancements:
Documentation: