Skip to content

docs: add pipeline ver notes#1152

Merged
MistEO merged 5 commits intomainfrom
docs/pipeline_ver
Feb 27, 2026
Merged

docs: add pipeline ver notes#1152
MistEO merged 5 commits intomainfrom
docs/pipeline_ver

Conversation

@MistEO
Copy link
Member

@MistEO MistEO commented Feb 26, 2026

由 Sourcery 提供的概要

记录 Pipeline 协议版本历史,并为各字段标注其被引入或更改的协议版本。

文档更新:

  • 在英文版 3.1 Pipeline 文档中添加一个版本变更表,总结 v5.0 到 v5.8 的 Pipeline 协议更新。
  • 在 Pipeline 文档中为相关字段、操作和属性添加行内注释,标明支持它们的最低框架版本。
Original summary in English

Summary by Sourcery

Document pipeline protocol version history and annotate fields with the versions in which they were introduced or changed.

Documentation:

  • Add a version change table summarizing pipeline protocol updates from v5.0 to v5.8 in the English 3.1 pipeline documentation.
  • Mark relevant fields, actions, and attributes in the pipeline documentation with inline notes indicating the minimum framework version that supports them.
- 在中文 3.1 文档中记录管道版本说明。
Original summary in English

由 Sourcery 提供的概要

记录 Pipeline 协议版本历史,并为各字段标注其被引入或更改的协议版本。

文档更新:

  • 在英文版 3.1 Pipeline 文档中添加一个版本变更表,总结 v5.0 到 v5.8 的 Pipeline 协议更新。
  • 在 Pipeline 文档中为相关字段、操作和属性添加行内注释,标明支持它们的最低框架版本。
Original summary in English

Summary by Sourcery

Document pipeline protocol version history and annotate fields with the versions in which they were introduced or changed.

Documentation:

  • Add a version change table summarizing pipeline protocol updates from v5.0 to v5.8 in the English 3.1 pipeline documentation.
  • Mark relevant fields, actions, and attributes in the pipeline documentation with inline notes indicating the minimum framework version that supports them.

@MistEO MistEO marked this pull request as ready for review February 27, 2026 02:39
Copilot AI review requested due to automatic review settings February 27, 2026 02:39
Copy link
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 - 我发现了 1 个问题,并且给出了一些总体反馈:

  • 内联的 **💡 vX.Y** 标记现在散落在整个文档中;建议将其统一标准化为一致的 “Since vX.Y” 模式(例如使用无表情符号的标注或徽章样式),这样能让 Markdown 在不同渲染器中更整洁、更易读。
给 AI 代理的提示
Please address the comments from this code review:

## Overall Comments
- The inline `**💡 vX.Y**` markers are now sprinkled throughout the document; consider standardizing this as a consistent "Since vX.Y" pattern (e.g., a callout or badge style without emoji) to keep the markdown cleaner and more readable across different renderers.

## Individual Comments

### Comment 1
<location path="docs/en_us/3.1-PipelineProtocol.md" line_range="878" />
<code_context>
   - *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.
-  - *array<int, 2>*: Fixed coordinate point [x, y]. Supports negative values, meaning calculating from right/bottom edge.
-  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values, same meaning as `roi`.
+  - *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning calculating from right/bottom edge.
+  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values **💡 v5.6**, same meaning as `roi`.

</code_context>
<issue_to_address>
**nitpick (typo):** 对负坐标的描述做一个轻微的语法调整。

你可以将最后一句改写为:"Supports negative values **💡 v5.6**, meaning they are calculated from the right/bottom edge",以使语句更加通顺。

Suggested implementation:

```
  - *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.

```

```
+  - *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning they are calculated from the right/bottom edge.
+  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values **💡 v5.6**, meaning they are calculated in the same way as `roi`.

```
</issue_to_address>

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

Hey - I've found 1 issue, and left some high level feedback:

  • The inline **💡 vX.Y** markers are now sprinkled throughout the document; consider standardizing this as a consistent "Since vX.Y" pattern (e.g., a callout or badge style without emoji) to keep the markdown cleaner and more readable across different renderers.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The inline `**💡 vX.Y**` markers are now sprinkled throughout the document; consider standardizing this as a consistent "Since vX.Y" pattern (e.g., a callout or badge style without emoji) to keep the markdown cleaner and more readable across different renderers.

## Individual Comments

### Comment 1
<location path="docs/en_us/3.1-PipelineProtocol.md" line_range="878" />
<code_context>
   - *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.
-  - *array<int, 2>*: Fixed coordinate point [x, y]. Supports negative values, meaning calculating from right/bottom edge.
-  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values, same meaning as `roi`.
+  - *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning calculating from right/bottom edge.
+  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values **💡 v5.6**, same meaning as `roi`.

</code_context>
<issue_to_address>
**nitpick (typo):** Slight grammatical tweak in the description of negative coordinates.

You could rephrase the last clause to: "Supports negative values **💡 v5.6**, meaning they are calculated from the right/bottom edge" for smoother grammar.

Suggested implementation:

```
  - *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.

```

```
+  - *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning they are calculated from the right/bottom edge.
+  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values **💡 v5.6**, meaning they are calculated in the same way as `roi`.

```
</issue_to_address>

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.

- *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.
- *array<int, 2>*: Fixed coordinate point [x, y]. Supports negative values, meaning calculating from right/bottom edge.
- *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values, same meaning as `roi`.
- *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning calculating from right/bottom edge.
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick (typo): 对负坐标的描述做一个轻微的语法调整。

你可以将最后一句改写为:"Supports negative values 💡 v5.6, meaning they are calculated from the right/bottom edge",以使语句更加通顺。

Suggested implementation:

  - *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.

+  - *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning they are calculated from the right/bottom edge.
+  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values **💡 v5.6**, meaning they are calculated in the same way as `roi`.

Original comment in English

nitpick (typo): Slight grammatical tweak in the description of negative coordinates.

You could rephrase the last clause to: "Supports negative values 💡 v5.6, meaning they are calculated from the right/bottom edge" for smoother grammar.

Suggested implementation:

  - *string*: Enter the node name, as the target, to use the position recognized by a previously executed node.

+  - *array<int, 2>*: Fixed coordinate point [x, y] **💡 v5.0**. Supports negative values **💡 v5.6**, meaning they are calculated from the right/bottom edge.
+  - *array<int, 4>*: Fixed coordinate area [x, y, w, h]. A point is sampled inside the rectangle with higher probability near center. Supports negative values **💡 v5.6**, meaning they are calculated in the same way as `roi`.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Pipeline Protocol documentation to include explicit pipeline-version change notes and inline “since v5.x” markers, improving discoverability of when fields/actions were introduced.

Changes:

  • Add a “Version Changes” table summarizing key protocol updates by pipeline version.
  • Add inline version annotations (e.g., 💡 v5.3) across relevant fields/actions to indicate introduction/deprecation points.
  • Minor formatting adjustments around existing sections to accommodate the new version notes.


| Version | Changes |
| ---- | -------- |
| v5.0 | Added `attach` field; Added `TouchDown`, `TouchMove`, `TouchUp`, `KeyDown`, `KeyUp` actions; Added `contact`, `pressure` fields to Click / LongPress / Swipe / MultiSwipe; `target` supports `[x, y]` binary coordinates |
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

In the v5.0 row, “target supports [x, y] binary coordinates” reads like base-2/binary encoding. This seems to mean a 2-element point coordinate (x,y); please rephrase to avoid misleading terminology and align with the intent of the feature.

Suggested change
| v5.0 | Added `attach` field; Added `TouchDown`, `TouchMove`, `TouchUp`, `KeyDown`, `KeyUp` actions; Added `contact`, `pressure` fields to Click / LongPress / Swipe / MultiSwipe; `target` supports `[x, y]` binary coordinates |
| v5.0 | Added `attach` field; Added `TouchDown`, `TouchMove`, `TouchUp`, `KeyDown`, `KeyUp` actions; Added `contact`, `pressure` fields to Click / LongPress / Swipe / MultiSwipe; `target` supports two-element `[x, y]` coordinates |

Copilot uses AI. Check for mistakes.
Comment on lines +135 to +136
### Version Changes

Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

PR description says the version notes were added to the Chinese 3.1 documentation, but this PR changes the English doc file. Please either update the PR description to match the actual change, or include the corresponding zh_cn documentation changes if they’re intended.

Copilot uses AI. Check for mistakes.
@MistEO MistEO merged commit 45d4456 into main Feb 27, 2026
5 checks passed
@MistEO MistEO deleted the docs/pipeline_ver branch February 27, 2026 02:44
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.

2 participants