Skip to content

🦋 New version release - #589

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Oct 8, 2026
Merged

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-operator@1.65.0

Minor Changes

  • 8329f20: SMOODEV-3744: list_conversations pages with a keyset cursor and searches on the server, in all five servers and clients.

    The history sidebar could only ever return the newest limit conversations, and a client-side search could only filter what it had loaded, so older chats were unreachable. list_conversations now takes an optional opaque cursor (a prior reply's nextCursor) and an optional query, and replies with nextCursor + hasMore beside conversations.

    • Paging is keyset on (updatedAt, conversationId), never offset: pages never repeat a row, and an untouched row is never skipped. A row updated mid-paging jumps above the cursor and heads a fresh first page instead.
    • query keeps rows whose meaningful name or first inbound message contains the text, case-insensitively, applied inside the caller's org + user scope, so it can never surface another member's or an ownerless conversation.
    • limit is capped at 200 (maximum: 200 in the schema); every server clamps a larger value rather than rejecting it.
    • No cursor and no query is the original first page, so existing clients are unchanged. The action now has a schema (spec/actions/list-conversations.schema.json), is in the envelope's action enum, and has an ActionType in every client; generated types are regenerated from the spec in every language. The TS SDK's listConversations({ limit, cursor, query }) returns nextCursor / hasMore.

    Rust: new StorageAdapter::list_owned_conversation_summaries_page(org, email, &ConversationSummaryQuery) with a correct default (backends override it with one keyset query); list_owned_conversation_summaries now delegates to it. Adds ConversationKey (cursor encode/decode), ConversationSummaryQuery, sort_conversations_newest_first and DEFAULT_CONVERSATION_NAME_PREFIX.

@smooai/smooth-operator-web-chat-example@0.0.131

Patch Changes

  • Updated dependencies [8329f20]
    • @smooai/smooth-operator@1.65.0

@brentrager
brentrager merged commit 65290ef into main Oct 8, 2026
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