You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Promote the annotate and draw dual-capture model with redesigned compact toolbar settings UI, region-aware reporting, and MCP query support. Align landing/docs messaging and bump runtime/package versions to 2.0.0 for release readiness.
Copy file name to clipboardExpand all lines: docs/mcp-setup.md
+61Lines changed: 61 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,16 @@ This release supports:
9
9
10
10
Browser support in this release: **Chrome stable + Edge stable (unpacked)**.
11
11
12
+
## UI Capture Model (v2.0.0)
13
+
14
+
This release formalizes two complementary capture flows in the extension UI:
15
+
16
+
1.**Annotate mode**: target individual elements (or Shift multi-select groups) for precise element-level issues.
17
+
2.**Draw mode**: drag rectangle/ellipse regions for layout, spacing, and grouping issues that span multiple elements.
18
+
3.**Compact toolbar + pop-out settings**: primary controls remain in a compact rail, while output level and clear-on-copy are configured in a readable settings pop-out.
19
+
20
+
MCP consumers receive these captures through the same local tools (`onui_get_annotations`, `onui_search_annotations`, `onui_get_report`) with region metadata preserved in report output.
21
+
12
22
## One-Command Setup
13
23
14
24
macOS/Linux:
@@ -66,6 +76,57 @@ The local MCP server exposes:
66
76
7.`onui_delete_annotation`
67
77
8.`onui_clear_page_annotations`
68
78
79
+
## Recommended v2.0.0 Agent Flow
80
+
81
+
1. Open the page and capture issues with **Annotate mode** for elements or **Draw mode** for regions.
82
+
2. Use toolbar **Settings** to choose the output level your agent needs (`compact`, `standard`, `detailed`, `forensic`).
83
+
3. Query page state through `onui_get_annotations` or generate a page-level summary with `onui_get_report`.
84
+
4. Search region or element issues with `onui_search_annotations` when iterating on a subset of UI work.
85
+
5. After fixes are verified, update or clear annotations through the metadata/delete tools.
86
+
87
+
## Region-aware MCP Query Examples
88
+
89
+
### Search for region annotations by shape
90
+
91
+
```json
92
+
{
93
+
"tool": "onui_search_annotations",
94
+
"arguments": {
95
+
"query": "region ellipse",
96
+
"pageUrl": "https://example.com/ui"
97
+
}
98
+
}
99
+
```
100
+
101
+
### Search by region geometry text
102
+
103
+
`onui_search_annotations` matches rounded region geometry tokens (`x`, `y`, `width`, `height`) in addition to comment/selector/path/tag text.
104
+
105
+
```json
106
+
{
107
+
"tool": "onui_search_annotations",
108
+
"arguments": {
109
+
"query": "width 120 height 80",
110
+
"pageUrl": "https://example.com/ui",
111
+
"status": "pending"
112
+
}
113
+
}
114
+
```
115
+
116
+
### Generate a region-aware report
117
+
118
+
```json
119
+
{
120
+
"tool": "onui_get_report",
121
+
"arguments": {
122
+
"pageUrl": "https://example.com/ui",
123
+
"level": "detailed"
124
+
}
125
+
}
126
+
```
127
+
128
+
In `detailed` and `forensic` levels, region annotations include target type, shape, and geometry fields in report output.
129
+
69
130
## Recommended Agent Cleanup Workflow
70
131
71
132
If you want agents to process annotations and then remove them:
Copy file name to clipboardExpand all lines: docs/release.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,14 @@
1
1
# onUI Local Release Runbook
2
2
3
+
## Release Summary (v2.0.0)
4
+
5
+
- Added a dual capture model with **Annotate mode** for element-level feedback and **Draw mode** for region-level layout and spacing issues.
6
+
- Added draw mode shape selection (`rectangle`/`ellipse`) plus region editing UX with persistent outlines and transform handles.
7
+
- Redesigned the floating toolbar to stay compact while opening output level and clear-on-copy controls in a readable pop-out settings card.
8
+
- Updated report formatters (`compact`, `standard`, `detailed`, `forensic`) to emit explicit region target metadata and geometry.
9
+
- Improved MCP/local search behavior so region annotations are queryable by target type/shape and geometry text, with report generation preserving region fields.
10
+
- Polished toolbar/dialog behavior for mode toggles, escape handling, multi-select hints, and copy/clear settings flow.
Copy file name to clipboardExpand all lines: landing-page/index.html
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -63,10 +63,10 @@
63
63
</a>
64
64
</div>
65
65
66
-
<h1>Ship cleaner UI products by annotating any UI directly in the browser.</h1>
66
+
<h1>Annotate elements, draw regions, and ship cleaner UI faster.</h1>
67
67
68
68
<pclass="hero-sub">
69
-
onUI adds a visual annotation layer to any web app, then exports structured context your agents can use immediately. Annotate single elements or multi-select related UI in one pass. With <code>onui-local</code> MCP connected, your agent can continuously read fresh annotations and keep applying fixes — like UI pair programming. No app code changes. No backend.
69
+
onUI gives you two capture modes in one workflow: <strong>Annotate mode</strong> for element-level fixes and <strong>Draw mode</strong> for layout or spacing regions. The new compact toolbar design keeps primary actions in a minimal rail, while settings open in a focused pop-out card. With <code>onui-local</code> MCP connected, your agent can read fresh annotations and iterate continuously. No app code changes. No backend.
70
70
</p>
71
71
72
72
<divclass="hero-cta">
@@ -102,8 +102,9 @@ <h1>Ship cleaner UI products by annotating any UI directly in the browser.</h1>
0 commit comments