Skip to content

release: 0.7.10#25

Merged
ktanishqk merged 3 commits into
mainfrom
release-please--branches--main--changes--next
Apr 14, 2026
Merged

release: 0.7.10#25
ktanishqk merged 3 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 14, 2026

Automated Release PR

0.7.10 (2026-04-14)

Full Changelog: v0.7.9...v0.7.10

Features

Chores

  • add documentation for ./scripts/link (44c86bb)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Summary by cubic

Release v0.7.10 standardizes CLI command names and adds pagination to list commands. It also updates API bindings and includes documentation for ./scripts/link.

  • Migration
    • Replace all retrieve commands with get (e.g., inboxes get, webhooks get, threads get, organizations get, plus nested resources like inboxes:messages get, pods:threads get, etc.).
    • For lists, inboxes:lists, and pods:lists: use list with --limit and --page-token for pagination; use delete to remove a specific entry. The old retrieve --entry flow is removed.
    • Threads attachment command is now threads get-attachment (was retrieve-attachment).

Written for commit 5ef6fed. Summary will update on new commits.

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 14, 2026

🧪 Testing

To try out this version of the SDK:

Download and unzip: 'https://pkg.stainless.com/s/agentmail-cli/634c491baed472d770f607860cefce0bd2251c2e/dist.zip'. On macOS, run 'xattr -d com.apple.quarantine {executable name}'.

Expires at: Thu, 14 May 2026 04:48:04 GMT
Updated at: Tue, 14 Apr 2026 04:48:04 GMT

Copy link
Copy Markdown

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

Choose a reason for hiding this comment

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

13 issues found across 39 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="pkg/cmd/webhook.go">

<violation number="1" location="pkg/cmd/webhook.go:131">
P1: Renaming the public subcommand from `retrieve` to `get` is a breaking CLI change; keep `retrieve` as an alias or compatibility wrapper so existing scripts continue to work.</violation>
</file>

<file name="pkg/cmd/inbox.go">

<violation number="1" location="pkg/cmd/inbox.go:110">
P2: Renaming this subcommand to `get` breaks the existing `agentmail inboxes retrieve` CLI without a compatibility path.</violation>
</file>

<file name="pkg/cmd/inboxdraft.go">

<violation number="1" location="pkg/cmd/inboxdraft.go:252">
P2: Renaming this CLI subcommand from `retrieve` to `get` is a breaking change for existing scripts unless you keep the old name as an alias.</violation>
</file>

<file name="pkg/cmd/podthread.go">

<violation number="1" location="pkg/cmd/podthread.go:104">
P2: Renaming this subcommand from `retrieve` to `get` without an alias breaks existing CLI scripts. Upgraders will start getting an unknown-command error for `pods:threads retrieve`.</violation>
</file>

<file name="pkg/cmd/inboxmessage.go">

<violation number="1" location="pkg/cmd/inboxmessage.go:208">
P1: Renaming this subcommand to `get` without keeping `retrieve` as an alias breaks existing CLI scripts.</violation>
</file>

<file name="pkg/cmd/poddraft.go">

<violation number="1" location="pkg/cmd/poddraft.go:64">
P2: Renaming this subcommand without keeping `retrieve` as an alias will break existing scripts that still invoke `pods:drafts retrieve`.</violation>
</file>

<file name="pkg/cmd/cmd.go">

<violation number="1" location="pkg/cmd/cmd.go:104">
P1: Renaming the registered subcommands from `retrieve` to `get` removes existing CLI entrypoints without any alias, so existing scripts will fail after upgrading.</violation>
</file>

<file name="pkg/cmd/organization.go">

<violation number="1" location="pkg/cmd/organization.go:18">
P2: Renaming this public subcommand breaks existing `agentmail organizations retrieve` invocations with no compatibility alias.</violation>
</file>

<file name="pkg/cmd/draft.go">

<violation number="1" location="pkg/cmd/draft.go:59">
P2: Renaming `drafts retrieve` to `drafts get` without an alias is a breaking CLI change; existing scripts will fail with an unknown command.</violation>
</file>

<file name="pkg/cmd/inboxthread.go">

<violation number="1" location="pkg/cmd/inboxthread.go:104">
P2: Renaming this subcommand to `get` without keeping `retrieve` as an alias is a breaking CLI change for existing `inboxes:threads retrieve` users.</violation>
</file>

<file name="pkg/cmd/thread.go">

<violation number="1" location="pkg/cmd/thread.go:94">
P1: Renaming `threads retrieve` to `threads get` is a breaking CLI change; keep the old subcommand as an alias so existing scripts continue to work.</violation>

<violation number="2" location="pkg/cmd/thread.go:109">
P1: Renaming `threads retrieve-attachment` to `threads get-attachment` breaks the existing CLI contract; add the old name as an alias.</violation>
</file>

<file name="pkg/cmd/poddomain.go">

<violation number="1" location="pkg/cmd/poddomain.go:121">
P2: Renaming the `pods:domains` read subcommand from `retrieve` to `get` breaks existing CLI scripts with no compatibility alias.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread pkg/cmd/webhook.go
}

var webhooksGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P1: Renaming the public subcommand from retrieve to get is a breaking CLI change; keep retrieve as an alias or compatibility wrapper so existing scripts continue to work.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/webhook.go, line 131:

<comment>Renaming the public subcommand from `retrieve` to `get` is a breaking CLI change; keep `retrieve` as an alias or compatibility wrapper so existing scripts continue to work.</comment>

<file context>
@@ -142,6 +127,21 @@ var webhooksDelete = cli.Command{
 }
 
+var webhooksGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Fix with Cubic

Comment thread pkg/cmd/inboxmessage.go
})

var inboxesMessagesGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P1: Renaming this subcommand to get without keeping retrieve as an alias breaks existing CLI scripts.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/inboxmessage.go, line 208:

<comment>Renaming this subcommand to `get` without keeping `retrieve` as an alias breaks existing CLI scripts.</comment>

<file context>
@@ -224,6 +204,26 @@ var inboxesMessagesForward = requestflag.WithInnerFlags(cli.Command{
 })
 
+var inboxesMessagesGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Suggested change
Name: "get",
Name: "get",
Aliases: []string{"retrieve"},
Fix with Cubic

Comment thread pkg/cmd/cmd.go
&inboxesUpdate,
&inboxesList,
&inboxesDelete,
&inboxesGet,
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P1: Renaming the registered subcommands from retrieve to get removes existing CLI entrypoints without any alias, so existing scripts will fail after upgrading.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/cmd.go, line 104:

<comment>Renaming the registered subcommands from `retrieve` to `get` removes existing CLI entrypoints without any alias, so existing scripts will fail after upgrading.</comment>

<file context>
@@ -98,10 +98,10 @@ func init() {
 					&inboxesUpdate,
 					&inboxesList,
 					&inboxesDelete,
+					&inboxesGet,
 					&inboxesListMetrics,
 				},
</file context>
Fix with Cubic

Comment thread pkg/cmd/thread.go
}

var threadsGetAttachment = cli.Command{
Name: "get-attachment",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P1: Renaming threads retrieve-attachment to threads get-attachment breaks the existing CLI contract; add the old name as an alias.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/thread.go, line 109:

<comment>Renaming `threads retrieve-attachment` to `threads get-attachment` breaks the existing CLI contract; add the old name as an alias.</comment>

<file context>
@@ -105,8 +90,23 @@ var threadsDelete = cli.Command{
+}
+
+var threadsGetAttachment = cli.Command{
+	Name:    "get-attachment",
 	Usage:   "**CLI:**",
 	Suggest: true,
</file context>
Suggested change
Name: "get-attachment",
Name: "get-attachment",
Aliases: []string{"retrieve-attachment"},
Fix with Cubic

Comment thread pkg/cmd/thread.go
var threadsRetrieveAttachment = cli.Command{
Name: "retrieve-attachment",
var threadsGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P1: Renaming threads retrieve to threads get is a breaking CLI change; keep the old subcommand as an alias so existing scripts continue to work.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/thread.go, line 94:

<comment>Renaming `threads retrieve` to `threads get` is a breaking CLI change; keep the old subcommand as an alias so existing scripts continue to work.</comment>

<file context>
@@ -105,8 +90,23 @@ var threadsDelete = cli.Command{
-var threadsRetrieveAttachment = cli.Command{
-	Name:    "retrieve-attachment",
+var threadsGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Suggested change
Name: "get",
Name: "get",
Aliases: []string{"retrieve"},
Fix with Cubic

Comment thread pkg/cmd/poddraft.go
}

var podsDraftsGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P2: Renaming this subcommand without keeping retrieve as an alias will break existing scripts that still invoke pods:drafts retrieve.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/poddraft.go, line 64:

<comment>Renaming this subcommand without keeping `retrieve` as an alias will break existing scripts that still invoke `pods:drafts retrieve`.</comment>

<file context>
@@ -80,6 +60,26 @@ var podsDraftsList = cli.Command{
 }
 
+var podsDraftsGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Suggested change
Name: "get",
Name: "get",
Aliases: []string{"retrieve"},
Fix with Cubic

Comment thread pkg/cmd/organization.go
var organizationsRetrieve = cli.Command{
Name: "retrieve",
var organizationsGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P2: Renaming this public subcommand breaks existing agentmail organizations retrieve invocations with no compatibility alias.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/organization.go, line 18:

<comment>Renaming this public subcommand breaks existing `agentmail organizations retrieve` invocations with no compatibility alias.</comment>

<file context>
@@ -14,16 +14,16 @@ import (
-var organizationsRetrieve = cli.Command{
-	Name:            "retrieve",
+var organizationsGet = cli.Command{
+	Name:            "get",
 	Usage:           "Get the current organization.",
 	Suggest:         true,
</file context>
Fix with Cubic

Comment thread pkg/cmd/draft.go
}

var draftsGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P2: Renaming drafts retrieve to drafts get without an alias is a breaking CLI change; existing scripts will fail with an unknown command.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/draft.go, line 59:

<comment>Renaming `drafts retrieve` to `drafts get` without an alias is a breaking CLI change; existing scripts will fail with an unknown command.</comment>

<file context>
@@ -70,6 +55,21 @@ var draftsList = cli.Command{
 }
 
+var draftsGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Suggested change
Name: "get",
Name: "get",
Aliases: []string{"retrieve"},
Fix with Cubic

Comment thread pkg/cmd/inboxthread.go
}

var inboxesThreadsGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P2: Renaming this subcommand to get without keeping retrieve as an alias is a breaking CLI change for existing inboxes:threads retrieve users.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/inboxthread.go, line 104:

<comment>Renaming this subcommand to `get` without keeping `retrieve` as an alias is a breaking CLI change for existing `inboxes:threads retrieve` users.</comment>

<file context>
@@ -120,6 +100,26 @@ var inboxesThreadsDelete = cli.Command{
 }
 
+var inboxesThreadsGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Suggested change
Name: "get",
Name: "get",
Aliases: []string{"retrieve"},
Fix with Cubic

Comment thread pkg/cmd/poddomain.go
}

var podsDomainsGet = cli.Command{
Name: "get",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 14, 2026

Choose a reason for hiding this comment

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

P2: Renaming the pods:domains read subcommand from retrieve to get breaks existing CLI scripts with no compatibility alias.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At pkg/cmd/poddomain.go, line 121:

<comment>Renaming the `pods:domains` read subcommand from `retrieve` to `get` breaks existing CLI scripts with no compatibility alias.</comment>

<file context>
@@ -137,6 +117,26 @@ var podsDomainsDelete = cli.Command{
 }
 
+var podsDomainsGet = cli.Command{
+	Name:    "get",
+	Usage:   "**CLI:**",
+	Suggest: true,
</file context>
Fix with Cubic

@ktanishqk ktanishqk merged commit 78b7c90 into main Apr 14, 2026
8 checks passed
@ktanishqk ktanishqk deleted the release-please--branches--main--changes--next branch April 14, 2026 05:01
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 14, 2026

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant