monoscope/shared
Anthony Alaribe f86c324429
Floating AI assistant that acts on, navigates and reloads the UI (#912)
* Floating AI assistant: page-aware sessions that act, navigate and reload the page

Cmd+K or typing a letter opens the palette; Enter asks the assistant, which runs in the
background as a web conversation bound to the page it was asked from. The dock shows
sessions as bubbles, the selected transcript with live steps, and visits pages the agent
opens (open_page) or reloads the current page after a write.

* Dock polish: transcript-style progress, launcher with shortcut, entry motion; snapshot goldens

* Dock: OpenSession record, single-meaning navigate, inline bubble classes

* Dock panel reveals and focuses itself when a session first opens

* e2e: palette leads with Ask AI and hands the request to the dock

* Dock: catalog write policy, indexed session query, concurrent loads, 2s poll

* Dock: keep the changes toggle across sends; follow-up turn binds its page; lint

* hpack: list the page-context migration

* Dock: a log-view answer opens the explorer; prompt says only open_page changes the screen

* e2e: wait for the palette's lazy items before moving the selection

* Dock requests run on the receiving server; the queued job is a deferred fallback

* Browser tools: read_page, click and fill run in the user's tab; the run pauses until it answers

* Charts saved without a height get three rows; dashboard tools describe their body

* Dock reloads the current page by a whole swap; morphing a dashboard onto itself left it empty

* Stats saved without a height get two rows

* Assistant prompt lists a monitor's own page

* Page snapshot skips empty headings

* Assistant prompt: on-page parts of a request use the page tools; no unproven claims

* Document why the page tools carry a read-only policy

* Widget lifecycle spec: sizeless charts are three rows tall

* e2e: retry the palette's ArrowDown across the lazy items landing

* One prompt field for the thread and dock composers; tool names from the catalog

* Stored widgets get distinct ids; same-titled widgets no longer share one identity

* Widgets aggregating duration show time units; one inference for every widget

* A resize never redraws a chart before its data lands; echarts threw on the null source

* Dock: one let for the page change

* Distill: inline single-use tool list, merge height arms, dock spec helpers; hlint
History 2026-11-15 09:10:03 +01:00
..
src Floating AI assistant that acts on, navigates and reloads the UI (#912) 2026-11-15 09:10:03 +01:00
monoscope-shared.cabal Consolidate src/Pkg (45 -> 29 modules); nested monitor YAML config 2026-11-05 00:54:10 +01:00