Skip to content

Feature parity with Apps SDK setWidgetState #465

@hiitsmax

Description

@hiitsmax

I landed here coming from the ChatGPT apps and I was searching for an existing Issue or specification proposal that permits the me to persist a UI-Only widget state.
Useful both for rehydratation of the template and hiding information sensible to the user from the model and still display them in the UI (eg. bank account id)

It would be very useful to approach the problem as ChatGPT Apps SDK does:

  • Persist a message level widget state mutable through the setWidgetState primitive
  • Provide an hook (in mcp apps case a jsonrpc call) that let the template be aware on state change/rehydratation
  • Distinguish privateContent not visible to the model but persisted into the state from modelContent (link to apps sdk doc)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions