Skip to content

Conversation

@SuperWaterGod
Copy link
Contributor

@SuperWaterGod SuperWaterGod commented Dec 31, 2025

  • 补全 Swipe 动作字段 (end_hold, only_hover) 及列表类型支持
  • 添加 Shell 动作 timeout 字段
  • 完善节点属性和 Scroll 控制器支持说明
  • 标记废弃字段 (is_sub, interrupt)

Summary by Sourcery

使 pipeline 的 JSON 模式与最新的 v2 协议在 action 定义和节点元数据方面保持一致。

新功能:

  • 在 pipeline 模式下,为 swipe action 的 schema 扩展 end_holdonly_hover 和列表类型(list-type)支持。
  • 在 pipeline 模式下,为 Shell action 定义新增 timeout 字段。

优化:

  • 明确并扩展关于节点属性和 Scroll 控制器支持的 schema 定义。
  • 在 schema 中将 is_subinterrupt 等旧字段标记为已弃用,以引导客户端停止使用这些字段。
Original summary in English

Summary by Sourcery

Align the pipeline JSON schema with the latest v2 protocol for action definitions and node metadata.

New Features:

  • Extend swipe action schema with end_hold, only_hover, and list-type support in pipeline mode.
  • Add a timeout field to the Shell action definition in pipeline mode.

Enhancements:

  • Clarify and expand schema definitions for node properties and Scroll controller support.
  • Mark legacy fields such as is_sub and interrupt as deprecated in the schema to guide clients away from using them.

新功能:

  • 在 pipeline 模式中为 swipe 动作添加 end_holdonly_hover 和列表类型(list-type)支持等字段。
  • 在模式中的 Shell 动作定义中添加 timeout 字段。

增强改进:

  • 明确并扩展关于节点属性和 Scroll 控制器支持的模式定义。
  • 在模式中将 is_subinterrupt 等遗留字段标记为已弃用,以引导使用方逐步停止使用这些字段。
Original summary in English

Summary by Sourcery

使 pipeline 的 JSON 模式与最新的 v2 协议在 action 定义和节点元数据方面保持一致。

新功能:

  • 在 pipeline 模式下,为 swipe action 的 schema 扩展 end_holdonly_hover 和列表类型(list-type)支持。
  • 在 pipeline 模式下,为 Shell action 定义新增 timeout 字段。

优化:

  • 明确并扩展关于节点属性和 Scroll 控制器支持的 schema 定义。
  • 在 schema 中将 is_subinterrupt 等旧字段标记为已弃用,以引导客户端停止使用这些字段。
Original summary in English

Summary by Sourcery

Align the pipeline JSON schema with the latest v2 protocol for action definitions and node metadata.

New Features:

  • Extend swipe action schema with end_hold, only_hover, and list-type support in pipeline mode.
  • Add a timeout field to the Shell action definition in pipeline mode.

Enhancements:

  • Clarify and expand schema definitions for node properties and Scroll controller support.
  • Mark legacy fields such as is_sub and interrupt as deprecated in the schema to guide clients away from using them.

- 补全 Swipe 动作字段 (end_hold, only_hover) 及列表类型支持
- 添加 Shell 动作 timeout 字段
- 完善节点属性和 Scroll 控制器支持说明
- 标记废弃字段 (is_sub, interrupt)
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.

你好——我已经审查了你的改动,一切看起来都很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用吧!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续评审。
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.

@MistEO
Copy link
Member

MistEO commented Dec 31, 2025

我看行,json 格式改改

@SuperWaterGod
Copy link
Contributor Author

改了改了

Fix Chinese descriptions in pipeline.schema.json
@SuperWaterGod
Copy link
Contributor Author

不要半角.jpg

@MistEO
Copy link
Member

MistEO commented Jan 1, 2026

不要半角.jpg

你这模型不行啊,怎么还是一堆半角(

Fix markdown formatting in pipeline.schema.json
@SuperWaterGod
Copy link
Contributor Author

不要半角.jpg

你这模型不行啊,怎么还是一堆半角(

我猜文件太长了
网页版Claude是这样的╮(╯▽╰)╭

Removed unused properties related to jsonUInt32List, jsonUInt32OrList, jsonRectList, and jsonRectOrList from the schema.
@SuperWaterGod
Copy link
Contributor Author

FA7A9620E1182612CCD099EDE1DC654A
Gemini似乎更好用

@MistEO MistEO requested a review from Copilot January 1, 2026 16:50
@MistEO
Copy link
Member

MistEO commented Jan 1, 2026

@sourcery-ai review

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 - 我已经审查了你的更改,一切看起来都很棒!


Sourcery 对开源项目是免费的——如果你觉得我们的评审对你有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点击 👍 或 👎,我会根据你的反馈来改进后续评审。
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.

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

This PR synchronizes the pipeline.schema.json file with the v2 protocol specification, adding support for new Swipe action fields, list-type parameters, and Shell action integration.

  • Adds support for list-based parameters in Swipe action fields (end_offset, duration, end_hold)
  • Introduces new Swipe action properties: end_hold and only_hover for enhanced swipe control
  • Integrates Shell action into the type enum and action property fields
  • Updates model description to reflect YOLOv11 support alongside YOLOv8

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"title": "End Hold Property",
"description": "滑动到终点后,额外等待一定时间再抬起,单位 ms。可选,默认 0。",
"$ref": "#/$defs/jsonUInt32OrList",
"markdownDescription": "*uint* | *list<uint,>*\n\n滑动到终点后,额外等待一定时间再抬起,单位 ms。可选,默认 0。",
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

Inconsistent spacing in list type notation. The pattern "list<uint,>" uses no space after the comma, but most other list type notations in the file use a space after the comma (e.g., "list<string, >" on lines 626, 747, 1000, 4063, 4096). Consider changing to "list<uint, >" for consistency with the established convention.

Copilot uses AI. Check for mistakes.
"$ref": "#/$defs/jsonUInt32",
"markdownDescription": "*uint*\n\n滑动持续时间,单位毫秒。可选,默认 200 。",
"$ref": "#/$defs/jsonUInt32OrList",
"markdownDescription": "*uint* | *list<uint,>*\n\n滑动持续时间,单位毫秒。可选,默认 200 。",
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

Inconsistent spacing in list type notation. The pattern "list<uint,>" uses no space after the comma, but most other list type notations in the file use a space after the comma (e.g., "list<string, >" on lines 626, 747, 1000, 4063, 4096). Consider changing to "list<uint, >" for consistency with the established convention.

Copilot uses AI. Check for mistakes.
@MistEO MistEO merged commit 57df341 into MaaXYZ:main Jan 3, 2026
7 checks passed
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