-
Notifications
You must be signed in to change notification settings - Fork 332
fix(schema): 同步 pipeline.schema.json 至协议文档 v2 #1013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- 补全 Swipe 动作字段 (end_hold, only_hover) 及列表类型支持 - 添加 Shell 动作 timeout 字段 - 完善节点属性和 Scroll 控制器支持说明 - 标记废弃字段 (is_sub, interrupt)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你好——我已经审查了你的改动,一切看起来都很棒!
帮我变得更有用吧!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续评审。
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.
|
我看行,json 格式改改 |
|
改了改了 |
Fix Chinese descriptions in pipeline.schema.json
|
不要半角.jpg |
你这模型不行啊,怎么还是一堆半角( |
Fix markdown formatting in pipeline.schema.json
我猜文件太长了 |
Removed unused properties related to jsonUInt32List, jsonUInt32OrList, jsonRectList, and jsonRectOrList from the schema.
|
@sourcery-ai review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this 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。", |
Copilot
AI
Jan 1, 2026
There was a problem hiding this comment.
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.
| "$ref": "#/$defs/jsonUInt32", | ||
| "markdownDescription": "*uint*\n\n滑动持续时间,单位毫秒。可选,默认 200 。", | ||
| "$ref": "#/$defs/jsonUInt32OrList", | ||
| "markdownDescription": "*uint* | *list<uint,>*\n\n滑动持续时间,单位毫秒。可选,默认 200 。", |
Copilot
AI
Jan 1, 2026
There was a problem hiding this comment.
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.

Summary by Sourcery
使 pipeline 的 JSON 模式与最新的 v2 协议在 action 定义和节点元数据方面保持一致。
新功能:
end_hold、only_hover和列表类型(list-type)支持。timeout字段。优化:
is_sub和interrupt等旧字段标记为已弃用,以引导客户端停止使用这些字段。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:
Enhancements:
新功能:
end_hold、only_hover和列表类型(list-type)支持等字段。timeout字段。增强改进:
is_sub和interrupt等遗留字段标记为已弃用,以引导使用方逐步停止使用这些字段。Original summary in English
Summary by Sourcery
使 pipeline 的 JSON 模式与最新的 v2 协议在 action 定义和节点元数据方面保持一致。
新功能:
end_hold、only_hover和列表类型(list-type)支持。timeout字段。优化:
is_sub和interrupt等旧字段标记为已弃用,以引导客户端停止使用这些字段。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:
Enhancements: