Repository navigation
feat(inboxes): rename the inbox agent enabled_actions field to actions - #1158
Merged
Merged
Conversation
commit: |
Contributor
There was a problem hiding this comment.
cubic analysis
No issues found across 4 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Linked issue analysis
Linked issue: MES-2741: Node.js SDK
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Rename the inbox agent response field to actions | InboxAgentSettings exposes actions instead of enabled_actions, and the response test expects the renamed field. |
| ✅ | Rename the update option and send actions to the API | The update option is now actions, and agent.ts sends it as actions in the PATCH body. |
| ✅ | Do not retain aliases for the old names | The old response field and update option are removed from their interfaces and are not mapped in the request. |
Requires human review: Renames the inbox agent's public SDK field and update option from enabled_actions/enabledActions to actions to match an API rename, making this a breaking change to the SDK's public contract.
View guided diff | Re-trigger cubic
enabled_actions field to actions
LauraBeatris
marked this pull request as ready for review
October 14, 2026 23:59
bukinoshita
approved these changes
Oct 15, 2026
isabellaaquino
approved these changes
Oct 15, 2026
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's list of allowed actions is now called
actionsinstead ofenabled_actions. This follows the API rename in https://github.com/resend/resend-monorepo/pull/12724, whereGET /inboxes/:id/agentreturnsactionsandPATCH /inboxes/:id/agentacceptsactions.In the SDK,
InboxAgentSettings.enabled_actionsis nowInboxAgentSettings.actions, and theenabledActionsoption ofresend.inboxes.agent.updateis nowactionsand is sent to the API asactions.This is a breaking change for anyone passing
enabledActionstoupdateor readingenabled_actionsfromget. There is no alias for the old name.This targets
mainso the rename can go out in the nextlatestrelease alongside the API change. The same commit applies cleanly oncanary, which is two commits ahead ofmainand does not touch the agent files.Testing
Ran
pnpm typecheck,pnpm lint, the inbox agent spec, andpnpm test. All pass.Part of MES-2741: https://linear.app/resend/issue/MES-2741/nodejs-sdk
Summary by cubic
Renames the inbox agent's allowed actions field from
enabled_actionstoactionsin the Node.js SDK, aligning with the API rename.InboxAgentSettings.enabled_actionsis nowInboxAgentSettings.actions, and theenabledActionsupdate option is nowactions, sent asactionsto the API.enabledActionsor readingenabled_actionsmust switch to the new names; no alias is provided.Written for commit b2344cf. Summary will update on new commits.