Repository navigation
feat(inboxes): rename the inbox agent archive and trash actions - #1159
Merged
Merged
Conversation
commit: |
Contributor
There was a problem hiding this comment.
cubic analysis
No issues found across 1 file
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Linked issue analysis
Linked issue: MES-2761: Node.js SDK
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Rename archive_thread to archive | INBOX_AGENT_ACTIONS replaces archive_thread with archive, and the action type derives from that list. |
| ✅ | Rename delete_thread to move_to_trash without an alias | INBOX_AGENT_ACTIONS replaces delete_thread with move_to_trash, leaving the old name out of the action type. |
Requires human review: Renames inbox agent actions in the SDK constant and type from archive_thread/delete_thread to archive/move_to_trash to match an API rename. This is a breaking public contract change with no alias, so it needs human sign-off on compatibility and release coordination.
View guided diff | Re-trigger cubic
Member
|
I changed the base do Canary |
isabellaaquino
force-pushed
the
feature/mes-2761-nodejs-sdk
branch
from
October 16, 2026 14:55
f749b18 to
66b36da
Compare
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
The inbox agent actions
archive_threadanddelete_threadare now calledarchiveandmove_to_trash. This follows the API rename in https://github.com/resend/resend-monorepo/pull/12742, where the dashboard already calls these actions Archive and Move to trash.In the SDK,
INBOX_AGENT_ACTIONSand theInboxAgentActiontype carry the new names, soresend.inboxes.agent.updatesends them andresend.inboxes.agent.gettypes them.This is a breaking change for anyone passing or reading the old names. There is no alias.
This targets
main, like #1158, so the rename goes out in the Friday release alongside the API change.Testing
Ran
pnpm typecheck,pnpm lint, andpnpm test. All pass.Part of MES-2761: https://linear.app/resend/issue/MES-2761/nodejs-sdk
Summary by cubic
Renames the inbox agent
archive_threadanddelete_threadactions toarchiveandmove_to_trash, and renames theenabled_actions/enabledActionsfield toactions, to match the API. The SDK now sends and types the new names.This is a breaking change for anyone passing or reading the old action names or the
enabledActionsfield. No alias is provided. The PR targetsmainso the change ships in the Friday release alongside the API change. Typecheck, lint, and tests all pass.Written for commit 66b36da. Summary will update on new commits.