Skip to content

πŸ¦‹ New version release#150

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 3, 2026
Merged

πŸ¦‹ New version release#150
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/smooth-extension-sdk@0.4.0

Minor Changes

  • a36ee69: SEP Phase 3 (SDK + spec) β€” the ui/request surface.

    The extension SDK now exposes the capability-negotiated UI surface. An extension
    reads the host's declared ui_capabilities from the initialize handshake and
    gates on smooth.hasUI(kind) / ctx.hasUI(kind); ctx.ui (and smooth.ui)
    speak ui/request back to the host: select/confirm/input return the user's
    answer (or { cancelled: true }), and notify/setStatus/setWidget/setTitle
    push to the frontend. A headless or uncapable host rejects with RpcError code
    -32001 (NoUI). createTestHost(ext, { onUiRequest }) scripts the host side; its
    default mimics a headless frontend.

    Ships the todo demo extension (pi's todo, ported): stateful list whose tools
    push a keyvalue set_widget render block and whose clear asks for confirm
    first β€” both hasUI-gated, so it degrades cleanly headless.

    Extends spec/extension/conformance/fixtures.json with the remaining ui/request
    kinds (input/notify/set_status/set_widget/set_title), select/input/cancelled
    results, and invalid cases (unknown kind, missing options/message, extra
    property).

@smooai/smooth-operator@1.11.3

Patch Changes

  • a36ee69: SEP Phase 3 (SDK + spec) β€” the ui/request surface.

    The extension SDK now exposes the capability-negotiated UI surface. An extension
    reads the host's declared ui_capabilities from the initialize handshake and
    gates on smooth.hasUI(kind) / ctx.hasUI(kind); ctx.ui (and smooth.ui)
    speak ui/request back to the host: select/confirm/input return the user's
    answer (or { cancelled: true }), and notify/setStatus/setWidget/setTitle
    push to the frontend. A headless or uncapable host rejects with RpcError code
    -32001 (NoUI). createTestHost(ext, { onUiRequest }) scripts the host side; its
    default mimics a headless frontend.

    Ships the todo demo extension (pi's todo, ported): stateful list whose tools
    push a keyvalue set_widget render block and whose clear asks for confirm
    first β€” both hasUI-gated, so it degrades cleanly headless.

    Extends spec/extension/conformance/fixtures.json with the remaining ui/request
    kinds (input/notify/set_status/set_widget/set_title), select/input/cancelled
    results, and invalid cases (unknown kind, missing options/message, extra
    property).

@brentrager brentrager merged commit c0d7b04 into main Jul 3, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant