pub enum AppValidationMode {
Standard,
ChatGpt,
ClaudeDesktop,
}Expand description
Validation mode controlling which keys are checked.
Variants§
Standard
Standard mode: nested ui.resourceUri only.
ChatGpt
ChatGPT mode: also checks openai/* keys and flat ui/resourceUri.
ClaudeDesktop
Claude Desktop mode: strictly validates widget HTML for MCP Apps SDK
wiring (@modelcontextprotocol/ext-apps import or >=3 of 4 handler
property assignments, new App({...}) constructor, four required
handlers — onteardown, ontoolinput, ontoolcancelled, onerror —
and app.connect()). Missing signals emit one TestStatus::Failed
row per signal (full breakdown).
Per-mode widget validation emission shape (THREE-WAY split per RESEARCH Q4 RESOLVED):
ClaudeDesktop— per-signal Failed rows (this variant)Standard— ONE summary Warning row per widgetChatGpt— ZERO widget-related rows (preserves AC-78-4 “chatgpt mode unchanged”)
See validate_widgets.
Trait Implementations§
Source§impl Clone for AppValidationMode
impl Clone for AppValidationMode
Source§fn clone(&self) -> AppValidationMode
fn clone(&self) -> AppValidationMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppValidationMode
impl Debug for AppValidationMode
Source§impl Display for AppValidationMode
impl Display for AppValidationMode
Source§impl FromStr for AppValidationMode
impl FromStr for AppValidationMode
Source§impl PartialEq for AppValidationMode
impl PartialEq for AppValidationMode
Source§fn eq(&self, other: &AppValidationMode) -> bool
fn eq(&self, other: &AppValidationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AppValidationMode
impl Eq for AppValidationMode
impl StructuralPartialEq for AppValidationMode
Auto Trait Implementations§
impl Freeze for AppValidationMode
impl RefUnwindSafe for AppValidationMode
impl Send for AppValidationMode
impl Sync for AppValidationMode
impl Unpin for AppValidationMode
impl UnsafeUnpin for AppValidationMode
impl UnwindSafe for AppValidationMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.