Repository navigation
fix: allow channel threads with read-only tokens - #85
Merged
Merged
Conversation
doistbot
reviewed
Oct 19, 2026
doistbot
left a comment
Member
There was a problem hiding this comment.
This PR updates fix: allow channel threads with read-only tokens. No issues were flagged in the reviewed diff.
nats12
marked this pull request as ready for review
October 19, 2026 14:06
nats12
requested review from
a team and
scottlovegrove
and removed request for
a team
October 19, 2026 14:06
scottlovegrove
approved these changes
Oct 19, 2026
nats12
force-pushed
the
codex/fix-read-only-channel-threads
branch
from
October 20, 2026 10:26
ed1463a to
2547c30
Compare
doist-release-bot Bot
added a commit
that referenced
this pull request
Oct 20, 2026
## [3.6.4](v3.6.3...v3.6.4) (2026-10-20) ### Bug Fixes * allow channel thread listing with read-only tokens ([#85](#85)) ([0c5d928](0c5d928))
Contributor
|
🎉 This PR is included in version 3.6.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
Treat
threads.getThreadsas a read operation sotdc channel threadsworks with read-only OAuth tokens.Reproduction
From the PR branch, run the following with a staging account. The channel and workspace IDs shown are from the recorded run; substitute IDs your account can access if needed.
npm ci npm run build export COMMS_BASE_URL=https://comms.staging.todoist.com node dist/index.js auth login --read-only node dist/index.js channel threads id:CfXLoRoEbMQKH6naSt8h9 4170 --jsonresultsarrayREAD_ONLYerror.Account effects:
auth login --read-onlymay add a read-only Comms CLI authorization to the staging account and replaces the locally active CLI token.channel threadsonly reads data and does not change Comms content. The build commands affect local files only.Recordings
Before — read-only token returns
READ_ONLY:before.mp4
After — the same command returns threads:
after.mp4
Verification
npm run buildnpm test— 973 passednpm run type-checknpm run lint:checknpm run check:skill-syncFixes #51.