Skip to content

perf: 为库存转移添加 ocr 兜底#1489

Merged
Daydreamer114 merged 16 commits intov2from
perf/ItemTransfer
Mar 22, 2026
Merged

perf: 为库存转移添加 ocr 兜底#1489
Daydreamer114 merged 16 commits intov2from
perf/ItemTransfer

Conversation

@Daydreamer114
Copy link
Copy Markdown
Contributor

@Daydreamer114 Daydreamer114 commented Mar 20, 2026

fix #1429
fix #1407
fix #1355
fix #1337
fix #1279
fix #1252
fix #1243
fix #1197
fix #1191
fix #1186
fix #1134
fix #1131

  • 需要帮忙写 assets/data/ItemTransfer/item_order.json:目前是手写的

    • 需要补齐我本地没有的物品,或
    • 找到哪里有物品顺序的数据
  • 已测试 issue 中物品

Summary by Sourcery

添加一个回退的物品传输机制,将 NND 检测、物品提示(tooltip)OCR 和外部物品排序元数据结合起来,从而在背包和物品栏视图中更加可靠地定位和传输物品。

New Features:

  • 引入一个 ItemTransfer 回退自定义动作,当主检测失败时,使用 NND 检测、tooltip OCR 和有序的物品元数据来定位物品。

Enhancements:

  • 在 Go agent 服务中注册新的 ItemTransfer 组件,并将其接入 ItemTransfer 流水线和任务中,使用外部物品顺序数据。

Documentation:

  • 为 ItemTransfer 回退模块添加 README 文档,包括工作流、配置以及物品排序元数据的数据格式。

Chores:

  • assets/data/ItemTransfer/item_order.json 下为 ItemTransfer 添加物品排序元数据文件。
Original summary in English

Summary by Sourcery

Add a fallback item transfer mechanism that combines NND detection, tooltip OCR, and external item ordering metadata to robustly locate and transfer items in inventory and bag views.

New Features:

  • Introduce an ItemTransfer fallback custom action that locates items using NND detection, tooltip OCR, and ordered item metadata when primary detection fails.

Enhancements:

  • Register the new ItemTransfer component in the Go agent service and wire it into the ItemTransfer pipeline and tasks using external item order data.

Documentation:

  • Add README documentation for the ItemTransfer fallback module, including workflow, configuration, and data format for item ordering metadata.

Chores:

  • Add item ordering metadata file for ItemTransfer under assets/data/ItemTransfer/item_order.json.

新功能:

  • 引入一个 ItemTransfer 回退自定义动作,将 NND 检测、鼠标悬停提示(tooltip)OCR 和有序物品元数据结合起来,在库存和背包视图中可靠地定位并转移物品。

增强:

  • 在 Go 代理服务中注册新的 ItemTransfer 组件,并使用外部物品顺序元数据将其接入 ItemTransfer 流水线和任务中。
Original summary in English

Summary by Sourcery

添加一个回退的物品传输机制,将 NND 检测、物品提示(tooltip)OCR 和外部物品排序元数据结合起来,从而在背包和物品栏视图中更加可靠地定位和传输物品。

New Features:

  • 引入一个 ItemTransfer 回退自定义动作,当主检测失败时,使用 NND 检测、tooltip OCR 和有序的物品元数据来定位物品。

Enhancements:

  • 在 Go agent 服务中注册新的 ItemTransfer 组件,并将其接入 ItemTransfer 流水线和任务中,使用外部物品顺序数据。

Documentation:

  • 为 ItemTransfer 回退模块添加 README 文档,包括工作流、配置以及物品排序元数据的数据格式。

Chores:

  • assets/data/ItemTransfer/item_order.json 下为 ItemTransfer 添加物品排序元数据文件。
Original summary in English

Summary by Sourcery

Add a fallback item transfer mechanism that combines NND detection, tooltip OCR, and external item ordering metadata to robustly locate and transfer items in inventory and bag views.

New Features:

  • Introduce an ItemTransfer fallback custom action that locates items using NND detection, tooltip OCR, and ordered item metadata when primary detection fails.

Enhancements:

  • Register the new ItemTransfer component in the Go agent service and wire it into the ItemTransfer pipeline and tasks using external item order data.

Documentation:

  • Add README documentation for the ItemTransfer fallback module, including workflow, configuration, and data format for item ordering metadata.

Chores:

  • Add item ordering metadata file for ItemTransfer under assets/data/ItemTransfer/item_order.json.

@Daydreamer114

This comment was marked as duplicate.

@Daydreamer114 Daydreamer114 force-pushed the perf/ItemTransfer branch 2 times, most recently from 2f246fa to f42d037 Compare March 22, 2026 09:28
@Daydreamer114 Daydreamer114 marked this pull request as ready for review March 22, 2026 11:41
Copilot AI review requested due to automatic review settings March 22, 2026 11:41
sourcery-ai[bot]

This comment was marked as resolved.

This comment was marked as resolved.

@Daydreamer114 Daydreamer114 merged commit 846d693 into v2 Mar 22, 2026
18 checks passed
@Daydreamer114 Daydreamer114 deleted the perf/ItemTransfer branch March 22, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment