Skip to content

Conversation

@olaservo
Copy link
Member

Summary

Updates UX specs with patterns for client-initiated features (sampling, elicitation) that integrate into the request flow rather than appearing as disconnected modals.

Key Additions

Request Trace Model (History screen)

  • Hierarchical view showing parent-child relationships between tool calls and client requests
  • Relative timing badges (+45ms) for child requests
  • Expandable/collapsible tree structure

Inline Client Request Queue (Tools screen)

  • Sampling/elicitation requests appear inline during tool execution
  • Queue counter with position indicator
  • Compact cards with quick actions (Auto-respond, Edit & Send, Reject)

Testing Profiles

  • Saved configurations for sampling response strategies
  • Provider selection (Manual, Mock/Template)
  • Auto-respond settings with model-specific overrides

Sampling Providers Architecture

  • Extensible provider system for sampling responses
  • Built-in: Manual (user types response), Mock/Template (predefined responses)
  • Future: Plugin providers for real LLMs

Tool Calling Flow (per MCP 2025-11-25 spec)

  • Sampling now supports tools and toolChoice parameters
  • Response includes optional toolCalls for multi-turn agentic loops

Files Changed

  • v2_ux.md - Consolidated structure, inline wireframes
  • v2_ux_features.md - Tools inline queue, History tree view, Logs correlation
  • v2_ux_handlers.md - Sampling providers, testing profiles, inline expansion patterns

Related

  • Mantine prototype implementation: v2/prototype/mantine branch
  • MCP spec reference: 2025-11-25 (sampling with tools)

Updates UX specs for better integration of client-initiated features:

v2_ux_features.md:
- Tools Screen: Inline client request queue during tool execution
- History Screen: Hierarchical request trace showing parent-child relationships
- Logging Screen: Request correlation with correlation IDs and chain filtering

v2_ux_handlers.md:
- Sampling Panel: Inline expansion pattern + tool calling flow (2025-11-25 spec)
- Elicitation Handler: Inline expansion pattern with schema constraints
- Sampling Providers & Testing Profiles: Extensible architecture for response handlers

Key design decisions:
- Request Trace Model shows causal chains between requests
- Client requests appear inline with triggering tool calls
- Auto-response profiles enable efficient testing workflows
- Extensible provider architecture supports future LLM plugins

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@olaservo olaservo added the v2 label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant