Skip to content

extension_release_promote ​

Release a build to a channel on extension.dev, cut a version-bump pull request, or roll a channel back.

Quick start ​

Release build 3f2a1c to Preview

How the agent uses it ​

Each act needs an owner's approval every time; a call without approvalId, or extension_approvals_request, asks it. Preview takes any build; Stable and every other channel take Stable builds. Tokens live 7 days. Stores are extension_submit; extension_release_read answers where things stand.

Page text in the answer ​

Part of this tool's answer is text a web page or the extension wrote. The server fences it between <untrusted-data-ID> and </untrusted-data-ID> with a fresh random ID per call, named in untrusted.boundary. A fence is a signal to the model, not a gate: pair it with --no-ship when the agent reads pages you do not trust. See Server flags and telemetry.

Reference ​

Groupplatform, on with --features=local,platform (private alpha)
TierPlatform
Needsthe server started with --features=local,platform, and a login; every release, cut and rollback needs a workspace owner's approval
Read onlyno
Destructiveyes
Idempotentno
Reaches the open webyes

Inputs ​

InputTypeRequiredDefaultWhat it does
action"promote" | "cut" | "rollback" | "notes"no"promote"promote: channel to buildId; cut: version-bump pull request; rollback: previous build; notes: replace a channel's releaseNotes.
projectstringno'<workspace>/<project>' login to use when several are stored.
buildIdstringnoBuild commit sha (7+ characters).
channelstringnoTarget channel, e.g. stable, preview.
level"patch" | "minor" | "major"nocut: version bump (default patch).
sourceChannelstringnoChannel to promote from (inferred).
browsersarray of stringnoBrowsers; default the build's index, which falls back to chrome alone.
versionstringnoVersion label; cut: the exact version.
releaseNotesstringnoRelease notes, markdown. They show on the approval page and on the public What's New of the build this releases, ahead of the store listing's notes.
approvalIdstringnoApproved approval id; every release needs a workspace owner's approval.
waitSecondsnumbernoSeconds to wait for the result (with approvalId, the approval), 0 to 600 (omitted: 180, no wait for the approval); the hosted server waits at most 45 and says so in warnings.
apistringnoBase URL; omitted: EXTENSION_DEV_API_URL, else extension.dev.

When it fails ​

  • The tool is missing from the client's list. Start the server with --features=local,platform; see Platform tools.
  • The platform refuses the call. Log in first with extension_auth_login.
  • The answer reads status: "platform-held". extension.dev is not open to the public yet and this workspace was not let in early, so nothing ran on its machines. Creating, running and building an extension still work on your machine; see Use the platform from your agent.
  • The answer reads status: "approval-required". The act needs a person's approval. Open the approval URL in the answer, approve it, then call again with the same arguments and the approvalId.
  • The approval is refused as ApprovalExpired. A release, submit or store approval lasts 12 hours; a share link or build settings approval lasts 2 hours, and approving does not extend the clock. Call again with no approvalId to ask for a fresh one.
  • The approval is refused as ApprovalConsumed. An approval runs its act once, and the call that spent it may already have run. Read the current state first, then ask again only if the act did not happen.
  • The approval is refused as ApprovalScopeMismatch. It covers a different act, or the arguments changed since it was approved. Call again with no approvalId.
  • A rollback is refused with NO_ROLLBACK_TARGET. The channel has served no earlier build. Release another build to it instead.
  • A cut is refused with NO_SOURCE_REPO. The project has no source repository to open a pull request in. Connect one in the console's project settings.
  • A cut or a rollback answers status: "needs-owner". Both need a login approved by a workspace owner. Ask a workspace owner to sign in with extension_auth_login and run it, or make the change in the console.
  • The answer depends on the network. This tool reaches the open web, so a refusal can be the network, not the project.

Next ​

  • MCP server: install, the three groups and the session gates
  • Install in your client
  • extension_approvals_read: List the open approvals this login asked for on extension.dev, or read one.
  • extension_approvals_request: Request a workspace owner's approval of one act on extension.dev: a store submit, a release, a public visibility or channel, a slug rename or a share revoke.
  • extension_approvals_revoke: Revoke an approval granted by mistake on extension.dev (owner token).
  • extension_auth_login: Sign in to an extension.dev project (a code on the linked device page, then deviceCode), or clear stored logins.
  • extension_auth_read: List the extension.dev logins stored on this machine.
  • extension_builds_act: Rebuild, recheck or configure builds on extension.dev, or set up channels; extension_builds_read reads, extension_build and extension_analyze work locally.
  • extension_builds_download: Download a verified package of an extension.dev build to this machine.
  • extension_builds_read: Read builds made on extension.dev: list recent ones, get one, or read its logs.
  • extension_preview_web: Preview a build in the web emulator; share:true returns a link that needs no install.
  • extension_project_create: Create an extension.dev project from a folder (projectPath, uploaded, no push; again: re-seed and rebuild) or a GitHub repo, BEFORE extension_auth_login.
  • extension_publish: Publish and share a build through extension.dev: answers the tester link, a page with a download and a run command for each browser (no project yet: extension_project_create).
  • extension_release_read: Read where a project stands on extension.dev: channels, builds, store submissions and reviews, history, rollout and listings.
  • extension_shares_manage: Create an emulator preview link, or revoke a preview or build link, on extension.dev.
  • extension_shares_read: List a project's emulator preview links and build links on extension.dev.
  • extension_submission_read: Read a project's store state: preflight answers what each store needs, status the submissions, dry-run a rehearsed submit.
  • extension_submit: Submit an extension.dev build to the Chrome, Firefox, Edge and Safari stores.
  • extension_workspace_configure: Change a project's settings, visibility or build environment.
  • extension_workspace_create: Create a missing extension.dev workspace, before extension_project_create; the personal workspace always exists.
  • extension_workspace_read: Read the extension.dev workspace: info, projects, usage and settings.