Skip to content

Add support for UI request to close itself #279

@fredericbarthelet

Description

@fredericbarthelet

There is window.openai.requestClose method available in widget for ChatGPT App.
On MCP App, there is modelcontextprotocol/ext-apps#203 and modelcontextprotocol/ext-apps#215

We could implement a unified API const { widgetId, terminate } = useWidget() ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerspolyfillAbstraction feature over Apps SDK and MCP Apps implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions