docs: ui-spec API index gains dedupe, model_loaded and sam3 release
This commit is contained in:
1 parent
391e0b3ae4
commit
de5693457c
1 file changed
+10
-3
+10
-3
@@ -1161,6 +1161,11 @@ Holding **`S`** switches the drag gesture from "exemplar" to "assist": the drawn
|
||||
selected. The canvas gets an `assist` class while `S` is held so the cursor and draft stroke
|
||||
change. Key-up releases it.
|
||||
|
||||
**Track Forward** calls the same endpoint with `dedupe: true` (REQ-189): a result that lands on
|
||||
a shape of the **same class** already on the frame is the object twice, so nothing is written
|
||||
and the UI reports *skipped overlapping shapes* instead of an error. Other classes are never
|
||||
suppressed.
|
||||
|
||||
### 5.8 Keyboard map
|
||||
|
||||
Handlers are attached in the **capture** phase on `document`, and:
|
||||
@@ -1229,7 +1234,8 @@ network.
|
||||
plus, if the batch has shapes elsewhere, a *Jump to Frame with Shapes [N]* button.
|
||||
While the reveal-all overlay is on (REQ-191), the header carries a small `revealing hidden`
|
||||
chip — accent-coloured pill, SVG eye icon, `title` explaining `Shift+H` turns it off.
|
||||
- **Shortcuts** — a static `<dl>` of the keyboard map (it also lists `H` and `Shift`+`H`). Keep it visible;
|
||||
- **Shortcuts** — a static `<dl>` of the keyboard map (it also lists `G` for go-to-frame,
|
||||
`H` and `Shift`+`H`). Keep it visible;
|
||||
this is a keyboard-first screen and the panel is the discovery mechanism.
|
||||
|
||||
---
|
||||
@@ -1368,7 +1374,8 @@ Everything the frontend calls, grouped as the pages use it. Errors are `{"detail
|
||||
|
||||
**Health & hardware**
|
||||
```
|
||||
GET /api/health → { gpu, vram_free_gb, sam3_ready }
|
||||
GET /api/health → { gpu, vram_free_gb, sam3_ready, model_loaded }
|
||||
POST /api/sam3/release → { released, model_loaded } | 409 while a GPU job runs (REQ-192)
|
||||
GET /api/hardware → { gpu, batch, imgsz }
|
||||
```
|
||||
|
||||
@@ -1416,7 +1423,7 @@ POST /api/batches/{ids}/approve { dataset_id | dataset_name }
|
||||
GET /api/frames/{id}/image?w=
|
||||
GET /api/frames/{id}/annotations
|
||||
POST /api/frames/{id}/annotations { class_id, geometry }
|
||||
POST /api/frames/{id}/assist { box, class_id }
|
||||
POST /api/frames/{id}/assist { box, class_id, dedupe? } → shape | { "skipped": true } (REQ-189)
|
||||
POST /api/frames/{id}/exemplar-label see §5.6
|
||||
POST /api/frames/{id}/status { status }
|
||||
PATCH /api/annotations/{id} { geometry | class_id }
|
||||
|
||||
Reference in new issue
Block a user