Tomacco

Docs Agent UI contract

Agent platform: desktop surfaces and the contract for the mobile lane#

What the feat/agent-platform branch adds to the desktop, which shared components it uses, and what the mobile lane (Bogen app design, adaptive native mobile UI) needs to mirror. Nothing here touches the Bogen app file or the brand site; every string below is qsTr and listed for the i18n lane in docs/agent-platform-progress.json under i18n_strings_for_reconciliation.

On this page (5)

Surfaces#

SurfaceFileBackend operationsPrimary action
Handoff banner (top band of the main window)qml/HandoffBanner.qml, qml/HandoffModel.qmlhandoff.list (poll every 3 s while a window is open), handoff.complete, handoff.cancelDone
Session state word under the live deviceqml/NativeWorkspace.qml (deviceState)runtime.list, runtime.start errors (device_busy, runtime_configuration_conflict, workspace_busy), handoffs.waitingnone (status)
Saved screenshot noticeqml/NativeWorkspace.qml (noteSavedFile)runtime.captureShow file
Route playback (QA environments view)qml/EnvironmentPanel.qml (route section)gpx.inspect, gpx.play, gpx.status, job.send (pause, resume, stop), job.getPlay route

Components used: StudioButton (accent for the one primary action, danger for Stop and Delete, inverted on bands), StudioPanel, StudioTextField, StudioCheckBox, Caption text, Theme tokens only (tomato accent band, Theme.accentText on it, flat, no new gradients or shadows). The handoff band reuses the update band's layout.

States the mobile UI must show, not hide#

Responsive rules verified on the desktop#

Agent-facing contract the UI relies on#

New strings (contexts)#

HandoffModel: Face ID or Touch ID, Passcode, Sign-in, Purchase, Permission, Your turn on the device. HandoffBanner: %1 · an agent is waiting for you, %1 · an agent is waiting for you (%2 more), Done, Done: I did it on the device, Cancel, Do it on the device itself. Tomacco never asks for your passcode or password. NativeWorkspace: An agent is waiting for you: %1, Your turn, Reconnecting, In use elsewhere, Show file, Screenshot saved. EnvironmentPanel: the route playback strings. Operations: the titles of runtime.observe, runtime.gesture, runtime.actions, handoff.*, gpx.*, device.resolve, diagnostics.report_draft. The complete list with contexts is in docs/agent-platform-progress.json.

View this page as Markdown on GitHub