---
title: "How task views work"
description: "What the on-demand UI does, and what generation means here."
---

> Documentation Index
> Fetch the complete documentation index at: https://podstead.wking.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How task views work

Ask for the task you want to do:

> Let me review the episode before we publish it.

The agent opens an episode review with your show's context. You can play the audio and inspect the details without navigating a permanent dashboard.

## What the agent actually generates

The current MCP server lets the agent **choose a shipped view and supply its context**. The view uses Podstead's reviewed React components, built with Cloudflare Kumo.

It does not generate and execute arbitrary HTML, JavaScript, or a new application for every request. `list_views` is a catalog of available views and composition guidance, not a general visual builder.

The separate `@r2cast/ui` package lets developers build custom interfaces from controlled components. New layouts need implementation and review. They are not automatically supported by the production MCP server just because an agent describes them.

## The seven views

| View ID | Use it to |
| --- | --- |
| `show-setup` | Fill in or edit private show settings |
| `episode-create` | Create a draft and upload audio |
| `episode-review` | Play audio and review working and published content |
| `release-publish` | Review and publish a prepared release |
| `release-schedule` | Review and schedule a prepared episode release |
| `episode-correct` | Work on a correction to an existing episode |
| `distribution` | Check readiness and manage directory setup records |

## How a view reaches you

1. The agent calls `list_views` to discover the views and their rules.
2. It calls `open_view` with a view ID, show slug, and the needed episode or release ID.
3. Podstead returns context, an MCP Apps resource, and an authenticated browser URL.
4. A compatible host renders the inline resource. Other clients use the browser URL.

Both paths use the same components. Inline actions call the server through the host's authorized MCP bridge; browser actions use the owner's same-origin Access session. Credentials are not placed in the view's HTML.

Opening a view does not save, publish, schedule, or grant access. A publish view still needs a prepared release and publishing permission. A scheduling view still needs an eligible episode release.

## What comes back to the agent

The view reports compact action results. A saved change stays saved even if refreshing the preview or reporting back to the host fails. Re-read the server state before retrying a mutation after an uncertain response.

The UI does not read the whole chat. The agent supplies the task context. It should use that context to remove repeated explanations while preserving labels, state, necessary choices, and consequences.

## On a phone

Task views use a single focused layout with mobile controls. A phone can review an existing installation through a compatible host or browser. Setting up Cloudflare infrastructure still needs a terminal-capable environment somewhere.

Inline support depends on the host. Local browser and MCP Apps bridge tests do not establish support in every version of every commercial chat client.

## Building a custom view

Use [the UI package guide](https://podstead.wking.dev/docs/agents/ui-package/). Follow the composition rules returned by `list_views` and the repository's UI design guide. Unsupported tasks can stay in text and tool results.

Source: https://podstead.wking.dev/docs/agents/task-views/index.mdx
