Skip to content

feat(search): Search group chats by title - #128

Merged
frankieyan merged 2 commits into
mainfrom
frankie/search-conversations
Nov 5, 2026
Merged

frankieyan merged 2 commits into
mainfrom
frankie/search-conversations

Conversation

@frankieyan

@frankieyan frankieyan commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Overview

The backend now supports finding group chats by title via Doist/comms-backend#1148 using the type=conversations parameter, so this adds support to the SDK's search() method.

We are also fixing an issue with paging in search(). It sent cursor, but the API reads cursor_mark and ignores anything else. This affects the MCP's search-content and get-mentions tools.

Reference

Test plan

  • Run the SDK against staging with new CommsApi('<staging token>', { baseUrl: 'https://comms.staging.todoist.com' })
  • Create or rename a chat so it gets indexed: api.conversations.updateConversation({ id: '<chat id>', title: '<title>' }).
  • Call api.search.search({ query, workspaceId, type: 'conversations' }) with a word from the title of a group chat you're in.
    • The chat comes back with title and userIds, and no messageId.
  • Call search() with limit: 2, then again with nextCursorMark as cursor.
    • The second call returns different results.

frankieyan and others added 2 commits November 4, 2026 17:03
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@frankieyan frankieyan added the 👀 Show PR requires passing checks before merge and independent human review before or after merge. label Nov 5, 2026

@doistbot doistbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR updates feat(search): Search group chats by title. No issues were flagged in the reviewed diff.

Share Feedback • Review Logs

@frankieyan
frankieyan requested review from a team and Bloomca and removed request for a team November 5, 2026 02:35
@frankieyan
frankieyan merged commit 8f1c557 into main Nov 5, 2026
10 checks passed
@frankieyan
frankieyan deleted the frankie/search-conversations branch November 5, 2026 02:35
doist-release-bot Bot added a commit that referenced this pull request Nov 5, 2026
## [3.12.0](v3.11.0...v3.12.0) (2026-11-05)

### Features

* **search:** Search group chats by title ([#128](#128)) ([8f1c557](8f1c557))
@doist-release-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released 👀 Show PR requires passing checks before merge and independent human review before or after merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants