Finish native pointer delivery and validation
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- swift
- Ambito
- ai-infra-agents, desktop
Direzione di ricerca
Start from the merged click, scroll and drag work in PRs #82, #70 and #85, and from the open coverage list in this issue. The remaining work is verification, not new code: worker-crash and in-flight Stop cases, self-Ace scrolling, multiple displays, and a second machine. Done means each open item has a recorded real run or an explicit note that it stays unverified, tracked in githubnext/ace2#8.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Status (Oct 6): clicks, scrolling and atomic drag are merged (#82, githubnext/ace2#70, githubnext/ace2#85), and githubnext/ace2#156 now gives pixels-only snapshots exact-window coordinate authority for point clicks, scrolls and drags. Remaining evidence gaps: one full model workflow using githubnext/ace2#156 pixel snapshots that includes an effective drag (an earlier real pi/Anthropic run with Accessibility snapshots completed click, scroll and drop; see below), worker crash and in-flight Stop during input, self-Ace scrolling, multiple displays/negative origins/hotplug, and a second machine. Moved-window stale-click classification is githubnext/ace2#155.
Continue githubnext/ace2#8's complete-input slice with native pointer operations through Ace's embedded bridge and existing pi tools.
- Extend observed-control clicks with useful click variants and exact-window screenshot-coordinate clicks.
- Add targeted scrolling to an observed control or screenshot point, with explicit direction and bounded native scroll amount.
- Add an atomic drag with one complete press/move/release sequence, bounded duration, and cleanup on cancellation. Do not expose unowned cross-call held input.
- Resolve screenshot points through Peekaboo's stored capture coordinate authority. Account for Ace image resizing, Retina scale, multiple/negative-origin displays, and moved windows. Reject stale target identities/bounds rather than silently remapping against a new window.
- Reuse exact process/window receipts, single-use snapshots, native coordination, durable completed/refused/unknown outcomes, and the channel owner's desktop-tools setting (see githubnext/ace2#8). Make supported background versus foreground operations explicit; no silent global-input fallback.
Done when real native and pi/model workflows can click by visual coordinates, scroll to initially offscreen content, and complete a real drag-and-drop, with resulting state verified and interruption cleanup/no-replay validated. Include the hosted workspace path and clearly track unverified multi-display or second-machine behavior in githubnext/ace2#8.
Click variants and normalized screenshot-coordinate clicks landed in PR githubnext/ace2#82, merge e5618c1. Real native callbacks covered single/double/right/middle/triple behavior and resized screenshot coordinates; consumed snapshots were refused. The real pi/Anthropic check on exact PR82 head 5f98d94 performed one coordinate click with exactly one intended callback and unchanged unrelated state. Exact tool text/images and usage survived reopening the same pi store without repeated input.
Targeted scrolling landed in PR githubnext/ace2#70, merge 44312423ce66443ab38cd1ba6666bec32904e068, from reviewed head f1682d028a9f810c93c103286949c1ad69c8ef13. It accepts an observed element or normalized screenshot point, four directions, and 1–20 native units. Final types, formatting/lint, Swift parsing, diff checks, and independent source review passed. The extracted scroll implementation is unchanged from signed candidate d9b0c869; the extraction/base integration was not rebuilt into another signed app.
On that signed candidate, five real AppKit scrolls passed: element down, point down revealing previously offscreen content, element up, point right, and element left. A subsequent real pi/Anthropic run performed inspect → element up1 → inspect, moving the actual vertical origin from 2063 to 1834 while horizontal origin 68 and unrelated pointer state stayed unchanged. Exact native receipts and tool text/images survived completed-store reopen with unchanged usage and no repeated input. This does not claim worker-crash or hosted behavior.
The earlier delivered-but-unknown scroll was traced to omitted snapshot focus in the request, despite that focus being retained in the signed native receipt. The landed fix carries the original focus into scroll's expected-window target without relaxing receipt validation or coordinate authority. No uncertain input was replayed.
Atomic dragging landed in PR githubnext/ace2#85, merge 68b4a3f641858526d80de352de84260a7f3e8f5a, from reviewed head bf930584700306ec379036c320dd1c61be4f6db9. The native code is unchanged from signed candidate 2531311; final changes were tool/documentation guidance, with fresh type/lint checks. Native signatures, compilation, and independent source review passed.
Real focused left/right drags each produced one press, twenty moves and one release, moved the tile and completed the drop. Invalid endpoints/stationary gestures/durations refused without input. A new, verified window move made its fresh prior observation stale, and a drag using it refused with the receiver unchanged. Cancelling a five-second gesture only after actual mouse-down returned unknown, delivered exactly one release, and drained every native call without changing scroll position.
A real pi/Anthropic run in local Workers/Durable Objects then performed inspect → Activate click → one scroll → drag → inspect through the actual workspace adapter and signed native bridge. The fixture recorded one click, scroll from 0 to 229, and one completed tile drop. Native text and images crossed the workspace unchanged. Restarting the same persistence with the workspace offline replayed all five exact results/images with unchanged receiver state and provider usage. This is completed-run replay, not a crash during input.
The earlier inactive receiver accepted dispatch but recorded no input or movement. Separate explicit activation/focus before the successful cases establishes the supported workflow; delivery acceptance alone never proves a drop. One Retina display (native scale 2) and Ace's resized 1600×1053 image were exercised.
Remaining coverage stays open here and in githubnext/ace2#8: worker-crash/in-flight Stop cases, self-Ace scrolling, multiple displays/negative origins/hotplug, and another physical machine. Pixels-only observations could not authorize pointer actions without canonical capture authority; githubnext/ace2#156 resolved that. No broader hardware or inactive-view delivery claim is made.
- Lingua principale
- Swift
- Stelle
- 0
- Fork
- 0
- Merge medio
- 19m
- PR unite (30g)
- 107
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/desktop-tools
-
ace documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
githubnext/desktop-tools#104 ·
I maintainer di solito rispondono entro 1 giorno
-
Linux support (meta)Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
githubnext/desktop-tools#136 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Select text in a PDFAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
githubnext/desktop-tools#130 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
githubnext/desktop-tools#129 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
githubnext/desktop-tools#117 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/desktop-tools
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Emanuele-web04/remodex#203 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
-
test(BrainBar): inject synthetic observabilityCadence in BackupsHealth/one-page fixtures (DCI-1)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
EtanHey/brainlayer#1367 ·
I maintainer di solito rispondono entro 1 giorno
-
cmux-next: new workspaces show no name instead of workspace-NForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea: workspaces
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
manaflow-ai/cmux#21357 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 4 giorni