Submatter/plans/Plan-workspace-communications/Epic-agent-participation/Task-agent-marketplace-library-ui.md

2.1 KiB

kind slug title plan_slug epic_slug status priority tenant_id owner cursor_todo_id updated_at
task agent-marketplace-library-ui Build the agent marketplace library UI workspace-communications agent-participation ready P1 global unassigned null 2026-10-22

Task summary

Present curated templates and permitted workspace agents as a searchable, actionable library below the Agents composer.

Description

Consume the versioned registry API to render Featured/Templates, Installed, Created by your workspace, and My Drafts. Cards and detail views distinguish provenance, lifecycle, visibility, disabled state, and available updates. UI actions obey the registry permission matrix and never imply that a template is active before installation/review.

Subtasks

  • Build responsive library sections with search, filters, sorting, loading, empty, and error states.
  • Build cards and detail/version views for preview, duplicate, install, edit, disable, remove, and update actions as permitted.
  • Surface tool requests, model role, harness route, budget, provenance, visibility, and version changes before confirmation.
  • Add accessible keyboard navigation, focus management, and component tests.

Owner or assignee

unassigned

Status

ready

Estimation

M

Acceptance criteria

  • Members see curated templates, active workspace agents, and only their own private drafts; admin/owner can manage shared lifecycle actions.
  • Template, draft, installed, active, disabled, and update states are visually and semantically distinct.
  • Sensitive actions show a review/confirmation step and server authorization remains authoritative.
  • The library integrates beneath the shared Agents composer without adding another rail destination.
  • pnpm lint && pnpm type-check && pnpm test pass.

Dependencies

Task-ai-workspace-tabs.md, Task-agent-registry-api.md, and Task-agent-install-lifecycle.md. Library actions call these APIs; installation does not grant chat/context access.

  • Epic: ./Epic-agent-participation.md
  • Plan: ../Plan-workspace-communications.md