Repository navigation
🦋 New version release - #589
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_conversationspages with a keyset cursor and searches on the server, in all five servers and clients.The history sidebar could only ever return the newest
limitconversations, and a client-side search could only filter what it had loaded, so older chats were unreachable.list_conversationsnow takes an optional opaquecursor(a prior reply'snextCursor) and an optionalquery, and replies withnextCursor+hasMorebesideconversations.(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.querykeeps 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.limitis capped at 200 (maximum: 200in the schema); every server clamps a larger value rather than rejecting it.cursorand noqueryis 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'sactionenum, and has anActionTypein every client; generated types are regenerated from the spec in every language. The TS SDK'slistConversations({ limit, cursor, query })returnsnextCursor/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_summariesnow delegates to it. AddsConversationKey(cursor encode/decode),ConversationSummaryQuery,sort_conversations_newest_firstandDEFAULT_CONVERSATION_NAME_PREFIX.@smooai/smooth-operator-web-chat-example@0.0.131
Patch Changes