Antigravity Powertools plugin functionality for response actions and turn metadata.
Raw Developer Origin & Technical Request
GitHub Issue
Nov 27, 2026
### 操作系统
Windows
### Antigravity 客户端版本
2.35.2
### Agy Powertools 插件版本
2.16.11
### 现象描述
### 问题描述
在设置中已开启「每轮底栏统计(`turnMeta: true`)」和「分支会话功能(`responseBranch: true`)」:
- 回复顶部「每轮用时(如 `用时 4秒`)」正常显示,说明插件已注入且该轮状态与数据解析正常。
- 但所有已完成回复底部的 `[复制] [赞] [踩] 10m ago` 旁边,**同时缺少** `...` 回答分支按钮和每轮底栏统计(悬停这三个图标仍正常显示汉化后的「复制 / 有帮助 / 无帮助」)。
### 原因定位与验证
查看 `lib/native-ui.js` 中的 `turnScope` 与 `actionRow` 获取逻辑,目前仅在 `turnScope(response)`(优先 `[data-turn-content]`)内按 `aria-label` 查找:
- `[aria-label="Bad response"]`
- `[aria-label="Good response"]`
- `button[aria-label="Copy"]`
在 Antigravity 2.35.2 中该查找返回 `null`,导致共享 `actionRow` 的 `ResponseActions` 和 `ResponseTurnMeta` 同时无法挂载。
### 临时验证有效的修复思路
在本地给 `actionRow` 增加以下兜底后,重启客户端即可同时恢复 `...` 分支按钮和每轮底栏统计:
1. 若 `turnScope` 内未匹配到,则在当前单轮回复容器内向上查找(遇到多轮容器或输入框容器停止)。
2. 在原有 `aria-label` 匹配外,补充兼容 `title` / `data-agy-original-title` / `data-tooltip-id`,以及按钮 React Fiber 上的 `tooltip` 文案与图标 `name`(如 `thumb_down` / `thumb_up` / `content_copy`),并兼容外层单按钮包裹节点。
### 复现步骤
_No response_
### 报错信息或截图(可选)
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from WhiteBr1ck/agy-powertools.
Frequently Asked Questions
Market intelligence mapped to Antigravity Powertools plugin functionality for response actions and turn metadata..
What is the technical positioning of Antigravity Powertools plugin functionality for response actions and turn metadata.?
Which technical concepts are associated with Antigravity Powertools plugin functionality for response actions and turn metadata.?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like title and tooltip in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- title: 28 records
- tooltip: 3 records
- aria-label: 2 records
- turnMeta: true: 1 records
- responseBranch: true: 1 records
- lib/native-ui.js: 1 records
- turnScope: 1 records
- actionRow: 1 records
- ResponseActions: 1 records
- ResponseTurnMeta: 1 records
- data-turn-content: 1 records
- data-agy-original-title: 1 records
- data-tooltip-id: 1 records
- React Fiber: 1 records
- thumb_down: 1 records
- thumb_up: 1 records
- content_copy: 1 records
SaaS Metrics