Views in the chat

Leitvia Pro shows seven views in the chat: you approve change packages, edit colors with a live contrast check, pick patterns, plan a page, work through findings, crop images and roll back changes, right next to the answer of your AI agent.

For site owners, agencies and developers · any Pro plan · Administrator · Checked with Leitvia Studio 1.3.65 and Leitvia Pro 0.8.55

Before you start

The views are MCP Apps: small pages that a chat app shows next to the result of a tool. Leitvia Pro attaches one to each of seven tools of the MCP server of Leitvia Studio. You need three things:

  • Leitvia Pro with an active license, which every plan on Pricing includes. Without it, Studio attaches no view.
  • An AI client connected to the MCP server of Studio, as described in Connect an AI agent.
  • A client that supports MCP Apps. A client without them, or a site without Pro, gets the same tools with the same result as text and structured data. The AI agent can do everything then; you only miss the view.

Every view opens inline below the answer. Full screen gives it the whole chat window, Back to the chat returns. The view follows the light or dark theme of the chat app.

ViewOpens with the toolWhat you do in it
Approve change packageleitvia-get-packageSee every step, accept some or all, discard
Token studioleitvia-get-tokens, leitvia-preview-token-setColors and fonts, contrast, new token set, preview
Pick a patternleitvia-list-patternsFilter tiles, choose one, hand it to the chat
Page planleitvia-plan-pageMove, swap and remove sections, build the page
Audit reportleitvia-audit-siteFilter findings, have one fixed, check more pages
Medialeitvia-list-media, leitvia-crop-media, leitvia-set-alt-textOpen an image, crop a copy, save its alt text
History of changesleitvia-list-packages, leitvia-rollbackSee past packages and their changes, roll one back

Approve change package

When your AI agent prepares changes that need approval, they wait in a change package. The view lists its steps. A content step shows a table with where the change is, what kind it is, the text before and after and the settings that changed. A style step shows each color with both swatches and each font before and after. Findings of the checks, such as a skipped heading level, stand below their step.

The view Approve change package for the package Spring menu: step 1 changes a heading from Winter menu to Spring menu with a warning that the heading level jumps from 2 to 4, step 2 activates the token set Spring with a new accent color and the font Georgia, each step with the box Accept this step, below the buttons Accept selection, Accept all and Discard package.
Each step with its changes and the findings of the checks. The boxes choose which steps go live.
  • Accept selection applies the ticked steps, Accept all every step. The status line counts what was applied, what ran into a conflict and what failed.
  • Discard package asks once more with Discard for good; Cancel keeps the package.
  • A decision covers only the steps the view showed. If the AI agent added a step in the meantime, nothing is applied: the view loads the package again and you decide once more.
  • If someone changed the target since, that step stays open and the AI agent builds it again on the current state.

Without the right to approve (see Who decides), the view shows the same changes without boxes and offers Approve in the Inbox instead.

Token studio

The token studio opens with the colors and fonts of the active token set. Type a color as #rrggbb or rgb(), or take the color picker next to the field. Fonts are names separated by commas. The sample below shows heading, body text, a link and a button in your colors, and the table checks every pair of the design contract against WCAG AA on each keystroke, such as ink on surface at 4.5 to 1.

The view Token studio with the active token set Warm bakery: fields for the colors surface, ink, accent and on-accent with their color pickers, the fonts Georgia for headings and system-ui for body text, a sample with heading, link and button, the table Contrast per WCAG AA with ink on surface at 17.39 and on-accent on accent at 6.20, both meeting 4.50, and the field Name of the new token set with the button Save as token set.
Both pairs meet their contrast. A pair below it turns to too low and is counted in the status line.

Name the set and choose Save as token set. Leitvia saves a new token set and leaves the active one alone. Open preview then shows the site with the new set on a signed address that works for a limited time. Activating the set stays a change of its own, which goes through a change package like any other change of the design. The sample uses the fonts of your device; the preview shows the real ones.

Pick a pattern

Instead of a list of slugs, the picker shows each pattern as a tile with a sketch of its layout, its role, tone, layout, source and status. Filter by role, tone, source and status, and Load more fetches the next page.

The view Pick a pattern with the filters Role, Tone, Source and Status in one row, three of four patterns shown as tiles: Hero with image from the theme, chosen with a thick frame and its button Choose filled, Features in a grid from Studio, and Call to action, dark from the Lab with the note that it is unreviewed and a person approves it in the Lab first, below the buttons Load more and Use the choice.
One tile chosen. The pattern from the Lab is marked as unreviewed.

Choose marks a tile with a thick frame, Use the choice sends it to the chat as a message with the slug, so the AI agent continues with that pattern. A pattern outside the design contract is marked: unreviewed ones need a person to approve them in the Pattern Lab first, and titles from other sources travel as data of that source, never as instructions.

Page plan

When the AI agent plans a page, you see the plan as cards: one per section with its pattern, role and the content points it should carry, and on top the page frame, the template and the composition score. Below stand the notes of the composition check, such as two sections in a row with the same tone.

The view Page plan with composition score 78 and three sections, Hero with image with the content point Fresh bread every morning, Features in a grid and Call to action, dark, each with the buttons Up, Down, Swap pattern and Remove, below the note that two sections in a row have the same tone and the field Title of the page with the button Build page.
A plan with three sections. After each move the score is checked again.
  • Up and Down move a section; the view checks the composition again and updates score and notes.
  • Swap pattern offers the other approved patterns with the same role, Use this pattern takes one.
  • Remove drops a section from the plan.
  • Enter a Title of the page and choose Build page. The page is built from the sections in your order, and the AI agent fills in their texts next.

Audit report

The audit report shows the findings of the site checks, first those of the whole site, then page by page, with the counts of errors, warnings and notices on top. Filter by area (accessibility after BITV, SEO and GEO, more) and by severity. Each finding names its check and, where there is one, a suggested fix.

The view Audit report with one error and one warning on one checked page, the filters Area and Severity, the error Search engines may not index the site for the whole site with the fix Allow it under Settings, Reading, the warning An image has no alt text on the page Home, each with the button Have it fixed, and the button Check more pages.
Findings of the whole site and of each page, each with its suggested fix.

Have it fixed hands one finding to the AI agent as a message with the check, the page and the text of the finding. Check more pages continues the check with the next pages. Fixes go through the same checks and the same Inbox as every other change.

Media

The media view shows the images of the library as thumbnails. Open one to see it larger with its size in pixels. Under Cropped copy, in percent of the image, enter the left edge, top edge, width and height, then Create cropped copy. The original stays; the copy is a new image with the alt text of the original. Below, write the Alt text and choose Save alt text.

The view Media with two thumbnails, a loaf of bread and a kitchen pass, and the opened image bread.png of 1200 by 800 pixels, below the fields Left edge, Top edge, Width and Height of the cropped copy with the button Create cropped copy, and the empty field Alt text with the button Save alt text.
An image without alt text, open for a cropped copy and its description.

Images reach the view as embedded previews of at most 256 KB each, so the view never loads anything from the site. A larger file or an SVG shows No preview; you can still edit its alt text.

History of changes

The history lists the change packages of the site with time, AI agent and state, and counts how many steps were applied, are open or were rolled back. Show changes opens the same tables as the package view, Open preview shows the result on the site.

The view History of changes with the applied package Spring menu by Content agent and its two steps opened, the heading changed from Winter menu to Spring menu and the token set Spring with the accent color from #a34400 to #8a3a00 and the body font from system-ui to Georgia, with the buttons Open preview, Hide changes and Roll back, below the discarded change package 41.
An applied package with its changes. Roll back asks once more before anything happens.

Rolling back takes two steps: Roll back, then Roll back for good. Leitvia restores the snapshots it kept when the package was applied. Without the right to approve, the button reads Roll back in the Inbox and leads there.

Who decides

Approving, discarding and rolling back are decisions of a person, never of the AI agent. In a view, only a connection you made as yourself may decide. Connect like this:

  1. In WordPress open Leitvia Studio › Agents and copy the MCP address with Copy address.
  2. In claude.ai or ChatGPT, add this address as a connector and start the connection.
  3. Your browser opens the page Connect agent on your site. Sign in as an administrator if WordPress asks.
  4. Under Work as, choose Myself, then Connect.
The page Connect agent on the site: the client Example chat app with the rows Client, Comes from and Returns to, the choice Work as with the agent users and Myself, the box Write and the buttons Connect and Cancel.
Choose Myself under Work as. Nothing is chosen in advance.

This connection reads and approves, but never writes. Only an administrator who is no agent user may make it. It ends after one hour, so you agree again for the next session. Application passwords never approve in a view.

Everything else you do in a view, such as a new token set, a built page, a cropped copy or an alt text, runs through the same checks as a change of the AI agent. Depending on the autonomy of the site it is live at once or waits in a change package; the view says which. The levels are explained in Autonomy and the Inbox.

Privacy and accessibility

  • The views ship inside Leitvia Pro. They load nothing from other hosts: no fonts, no scripts, no tracking.
  • Texts from the site that a view sends to the chat are marked as data, so the AI agent does not read them as instructions.
  • Every view works by keyboard alone, with a visible focus and a status line for screen readers.

How the views are built and how an add-on brings its own: MCP prompts and apps for add-ons.