Skip to content

feat(inboxes): rename the inbox agent enabled_actions field to actions - #1156

Closed
LauraBeatris wants to merge 1 commit into
canaryfrom
feature/mes-2726-rename-inbox-agent-enabled-actions-to-actions
Closed

LauraBeatris wants to merge 1 commit into
canaryfrom
feature/mes-2726-rename-inbox-agent-enabled-actions-to-actions

Conversation

@LauraBeatris

@LauraBeatris LauraBeatris commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Summary

The inbox agent's list of allowed actions is now called actions instead of enabled_actions. This follows the API rename in https://github.com/resend/resend-monorepo/pull/12724, where GET /inboxes/:id/agent returns actions and PATCH /inboxes/:id/agent accepts actions.

In the SDK, InboxAgentSettings.enabled_actions is now InboxAgentSettings.actions, and the enabledActions option of resend.inboxes.agent.update is now actions and is sent to the API as actions.

This is a breaking change for anyone passing enabledActions to update or reading enabled_actions from get. There is no alias for the old name.

Testing

Ran pnpm typecheck, pnpm lint, the inbox agent spec, and pnpm 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_actions to actions (MES-2726). InboxAgentSettings.enabled_actions is now InboxAgentSettings.actions, and the enabledActions option of resend.inboxes.agent.update is now actions.

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.

View guided diff

@pkg-pr-new

pkg-pr-new Bot commented Oct 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1156

commit: 25b341d

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant