Repository navigation
feat(inboxes): rename the inbox agent enabled_actions field to actions - #1156
Closed
LauraBeatris wants to merge 1 commit into
Closed
LauraBeatris wants to merge 1 commit into
LauraBeatris wants to merge 1 commit into
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-2726: Rename inbox agent enabled_actions field to actions
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Expose inbox agent allowed actions as actions | InboxAgentSettings now declares actions, and the response test expects the API response to use that field. |
| ✅ | Accept and send actions on agent updates | UpdateInboxAgentOptions accepts actions, and InboxAgent.update sends it in the PATCH body. |
Requires human review: Renames the public inbox agent SDK field/option from enabled_actions/enabledActions to actions, a breaking API contract change with no alias for existing callers.
View guided diff | Re-trigger cubic
This was referenced Oct 14, 2026
Closed
LauraBeatris
marked this pull request as ready for review
October 14, 2026 23:03
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.Testing
Ran
pnpm typecheck,pnpm lint, the inbox agent spec, andpnpm test. All pass, with 45 test files and 646 tests passing.Part of MES-2726: https://linear.app/resend/issue/MES-2726/rename-inbox-agent-enabled-actions-field-to-actions
Summary by cubic
Aligns the inbox agent SDK with the API rename from
enabled_actionstoactions(MES-2726).InboxAgentSettings.enabled_actionsis nowInboxAgentSettings.actions, and theenabledActionsoption ofresend.inboxes.agent.updateis nowactions.This is a breaking change for callers using the old names; there's no alias for the old name.
Written for commit 25b341d. Summary will update on new commits.