Skip to content

feat: add BagelSpam task#245

Closed
Watanabehato wants to merge 9 commits into
1bananachicken:devfrom
Watanabehato:feat/bagel-spam
Closed

feat: add BagelSpam task#245
Watanabehato wants to merge 9 commits into
1bananachicken:devfrom
Watanabehato:feat/bagel-spam

Conversation

@Watanabehato
Copy link
Copy Markdown
Collaborator

@Watanabehato Watanabehato commented May 30, 2026

Summary

  • add the BagelSpam task entry and register it under Hethereau Hobbies
  • add BagelSpam pipeline flow with template matching, OCR checks, retries, and publish loop
  • add BagelSpam image templates and task i18n labels/descriptions

Test

  • node JSON/JSONC parse check for interface, task, pipeline, and locale files

Summary by Sourcery

添加新的 BagelSpam 自动化任务,并将其接入界面和本地化资源。

新特性:

  • 引入 BagelSpam 任务配置和流水线定义。
  • 在界面元数据中的 Hethereau Hobbies 部分下注册 BagelSpam 任务。

文档:

  • 为所有受支持的界面语言添加 BagelSpam 任务的本地化标签和描述。

测试:

  • 对新的任务、流水线、界面以及本地化资源文件运行 JSON/JSONC 解析检查。
Original summary in English

Summary by Sourcery

Add a new BagelSpam automated task and wire it into the interface and localization resources.

New Features:

  • Introduce the BagelSpam task configuration and pipeline definition.
  • Register the BagelSpam task under the Hethereau Hobbies section in the interface metadata.

Documentation:

  • Add localized labels and descriptions for the BagelSpam task across supported interface languages.

Tests:

  • Run JSON/JSONC parsing checks over the new task, pipeline, interface, and locale resource files.

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented May 30, 2026

审阅者指南(在小型 PR 上折叠)

审阅者指南

在 Hethereau Hobbies 下实现新的 BagelSpam 任务,包括其任务配置、基于模板的自动化与 OCR 校验的执行流水线,以及在所有支持语言中的本地化界面文案。

文件级变更

变更 详情 文件
在界面和任务注册表中将 BagelSpam 注册为新任务。
  • 在主界面配置中添加 BagelSpam 任务的元数据和配置条目
  • 将 BagelSpam 归入 Hethereau Hobbies 分类,使其出现在 UI 任务列表中
  • 确保任务标识符和显示顺序与现有任务保持一致
assets/interface.json
assets/resource/tasks/BagelSpam.json
定义 BagelSpam 的自动化流水线,包括模板匹配、OCR 检查、重试逻辑和发布循环。
  • 创建 BagelSpam 流水线 JSON,定义模板匹配、基于 OCR 的校验、重试行为和发布循环等步骤
  • 将流水线节点名称、ID 和转换关系与现有流水线约定对齐
  • 为 BagelSpam 流程设置合适的参数、超时时间和重试上限
assets/resource/base/pipeline/BagelSpam.json
为所有支持语言本地化 BagelSpam 任务标签和描述。
  • 在英文语言资源中添加 BagelSpam 任务标题、描述及相关 UI 文案
  • 为日语、韩语、简体中文和繁体中文语言环境提供对应的 BagelSpam 文案
  • 验证语言环境键名与 interface.json 及任务 JSON 中的标识符一致,以避免缺失文案问题
assets/resource/locales/interface/en_us.json
assets/resource/locales/interface/ja_jp.json
assets/resource/locales/interface/ko_kr.json
assets/resource/locales/interface/zh_cn.json
assets/resource/locales/interface/zh_tw.json

提示与命令

与 Sourcery 交互

  • 触发新的评审: 在 pull request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的评审评论。
  • 从评审评论生成 GitHub issue: 在某条评审评论下回复,请求 Sourcery 从该评论创建一个 issue。你也可以在该评论下回复 @sourcery-ai issue 来从中创建 issue。
  • 生成 pull request 标题: 在 pull request 标题中的任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 pull request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文中的任意位置写上 @sourcery-ai summary,即可在你想要的位置生成 PR 摘要。你也可以在 pull request 中评论 @sourcery-ai summary 来(重新)生成摘要。
  • 生成审阅者指南: 在 pull request 中评论 @sourcery-ai guide,即可随时(重新)生成审阅者指南。
  • 一次性解决所有 Sourcery 评论: 在 pull request 中评论 @sourcery-ai resolve,即可将所有 Sourcery 评论标记为已解决。如果你已经处理完所有评论且不想再看到它们,这会很有用。
  • 一次性关闭所有 Sourcery 评审: 在 pull request 中评论 @sourcery-ai dismiss,即可关闭所有现有的 Sourcery 评审。当你想从头开始一次新的评审时尤其有用——别忘了再评论 @sourcery-ai review 来触发新的评审!

自定义你的使用体验

访问你的控制面板 以:

  • 启用或禁用评审功能,例如 Sourcery 生成的 pull request 摘要、审阅者指南等。
  • 修改评审语言。
  • 添加、删除或编辑自定义评审指令。
  • 调整其他评审设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Implements the new BagelSpam task under Hethereau Hobbies, including its task configuration, execution pipeline with template-based automation and OCR validation, and localized interface strings across supported languages.

File-Level Changes

Change Details Files
Register BagelSpam as a new task in the interface and task registry.
  • Add BagelSpam task metadata and configuration entry to the main interface configuration
  • Wire BagelSpam into the Hethereau Hobbies category so it appears in the UI task list
  • Ensure task identifiers and display ordering are consistent with existing tasks
assets/interface.json
assets/resource/tasks/BagelSpam.json
Define the BagelSpam automation pipeline, including template matching, OCR checks, retries, and publish loop.
  • Create BagelSpam pipeline JSON defining steps for template matching, OCR-based validation, retry behavior, and publish loop
  • Align pipeline node names, IDs, and transitions with existing pipeline conventions
  • Set up parameters, timeouts, and retry limits appropriate for BagelSpam flows
assets/resource/base/pipeline/BagelSpam.json
Localize BagelSpam task labels and descriptions across supported languages.
  • Add BagelSpam task title, description, and related UI strings to English locale resources
  • Provide equivalent BagelSpam strings for Japanese, Korean, Simplified Chinese, and Traditional Chinese locales
  • Verify locale keys match interface.json and task JSON identifiers to avoid missing-string issues
assets/resource/locales/interface/en_us.json
assets/resource/locales/interface/ja_jp.json
assets/resource/locales/interface/ko_kr.json
assets/resource/locales/interface/zh_cn.json
assets/resource/locales/interface/zh_tw.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我已经 review 了你的改动,看起来很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的 review 有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进之后的 review。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant