Skip to content

chore: release 5.14.0 - #323

Merged
finalerock44 merged 10 commits into
productionfrom
promote/cli-next
Nov 17, 2026
Merged

finalerock44 merged 10 commits into
productionfrom
promote/cli-next

Conversation

@dcd-release-please

@dcd-release-please dcd-release-please Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Releases 5.14.0 to npm latest (minor bump from 5.13.0, derived from the PR titles).

5.14.0 (2026-11-17)

Features

  • dcd settings command and dcd_get_team_settings MCP tool (#325) (61f4e91)
  • open link command, device location and timeout options (#327) (7a20e48)

Bug Fixes

  • explain and stop retrying when an API key's access doesn't cover a call (#326) (b5d8305)
  • artifacts: record why a bundle download falls back to the inline endpoint (#324) (e539bd7)

Dependencies

  • bump the minor-and-patch group with 5 updates (#322) (4811f20)

Code Refactoring

  • auth: refresh dcd login sessions through the API, not Supabase (#313) (ec778b2)

Kept current by the Promote to stable workflow, which rebuilds this branch on every push to dev: dev at 7a20e48, with production merged in, plus a commit that sets the version in package.json and server.json and adds the CHANGELOG.md section above.

  • Merge with Create a merge commit, the only method production allows, when you want to release.
  • Merging is the release: the Release workflow tags v5.14.0, creates the GitHub Release from the section above, publishes npm latest and the binaries, and opens the back-merge PR into dev.
  • Leave it open until then; closing it only means the next push to dev opens a new one.

dependabot Bot and others added 3 commits November 16, 2026 17:29
Bumps the minor-and-patch group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@clack/prompts](https://github.com/bombshell-dev/clack/tree/HEAD/packages/prompts) | `1.8.1` | `1.9.0` |
| [plist](https://github.com/TooTallNate/plist.js) | `5.0.0` | `5.1.1` |
| [tar](https://github.com/isaacs/node-tar) | `7.5.22` | `7.5.23` |
| [prettier](https://github.com/prettier/prettier) | `3.9.10` | `3.10.1` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.72.1` | `8.72.2` |


Updates `@clack/prompts` from 1.8.1 to 1.9.0
- [Release notes](https://github.com/bombshell-dev/clack/releases)
- [Changelog](https://github.com/bombshell-dev/clack/blob/main/packages/prompts/CHANGELOG.md)
- [Commits](https://github.com/bombshell-dev/clack/commits/@clack/prompts@1.9.0/packages/prompts)

Updates `plist` from 5.0.0 to 5.1.1
- [Release notes](https://github.com/TooTallNate/plist.js/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/plist.js/compare/plist@5.0.0...plist@5.1.1)

Updates `tar` from 7.5.22 to 7.5.23
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.22...v7.5.23)

Updates `prettier` from 3.9.10 to 3.10.1
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.9.10...3.10.1)

Updates `typescript-eslint` from 8.72.1 to 8.72.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@clack/prompts"
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: plist
  dependency-version: 5.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: tar
  dependency-version: 7.5.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.10.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: typescript-eslint
  dependency-version: 8.72.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: pin the 5.12.0 promotion

Release-As: 5.12.0

* chore(production): release 5.12.0

* chore: release 5.13.0

* ci: Replace release-please with a custom version that handles our dev -> prod flow (#305)

* ci: cut a stable release with one workflow run and one PR

A stable release used to take a hand-built promotion branch (dev, a merge
of production, and an empty Release-As pin commit), a promotion PR, then
release-please's own Release PR, then the back-merge PR.

A new "Promote to stable" workflow (promote.yml) now builds the release
branch: dev, with production merged in, plus one commit that sets the
version in package.json and server.json and adds the CHANGELOG.md
section. It opens that as the only PR into production. Merging it is the
release: the Release workflow tags the untagged version, creates the
GitHub Release from the changelog section, and publishes npm, the
binaries and the back-merge as before.

scripts/stable-release.mjs derives the version from the Conventional
Commit PR titles since the last release, as release-please did, but
never derives a major: a breaking marker stops the run until the version
is given explicitly. Its changelog lists each PR once, using the full
title when GitHub cut it short, where release-please listed such PRs
twice.

Production is merged in on every run because dev only allows squash
merges, so the back-merge can never make production an ancestor of dev.

release-please, its config and manifest, and the Release-As
promotion-pin check are removed. A release-check job verifies every PR
into production instead. Release PRs skip claude-review, like back-merge
PRs, because the review action rejects bot actors. The Release workflow
keeps the release-please.yml filename, because npm's trusted publisher
is registered against it.

* ci: keep the stable release PR open and current on every push to dev

Promote to stable now also runs on every push to dev. It rebuilds one
fixed branch, promote/cli-next, and opens the release PR into production
or updates the open one, so the PR always carries all of dev with the
version and changelog to match. Nothing ships until someone merges it.

- A push with nothing releasable since the last release (docs, the
  back-merge) does nothing.
- A version set by hand is kept on later runs (plan --keep) whenever it
  is above the derived one, so a major has to be given only once, and a
  breaking marker still never derives one.
- If production moved during the run, nothing is pushed; the back-merge
  push rebuilds the PR. The force-push is leased against the branch tip
  the run saw, and skipped when the content is unchanged.
- A PR into production from any other branch is left alone: push runs
  warn and stop.

(cherry picked from commit 6bebbef)

* ci: lint PR titles on pull_request instead of pull_request_target (#308)

GitHub blocks pull_request_target by default in public repositories from
2026-12-02. The PR title check only reads the event payload, so it runs on
pull_request, which also fires for fork PRs with a read-only token.

The CLA workflow has to write to fork PRs, so it stays on
pull_request_target. A repository Actions policy allows that trigger for
cla.yml only. Its header now says so.

(cherry picked from commit 02d99b9)

* fix: treat dev-api.devicecloud.dev as the dev environment (#314)

The dev API is now at dev-api.devicecloud.dev. Make it the dev apiUrl and
keep api.dev.devicecloud.dev as a legacy URL, so saved configs and CI
flags that name it still resolve to dev.

inferEnvFromApiUrl only recognised 'api.dev.', so a dev-api URL fell
through to prod and the Supabase copy of an upload would target the prod
project. Both hostnames now map to dev.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 25d09ca)

* deps: raise the hono override to 4.13.16 for new moderate advisories

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 2476581)

* chore: release 5.12.1

* chore: release 5.13.0

---------

Co-authored-by: finalerock44 <ethan@devicecloud.dev>
Co-authored-by: finalerock44 <77282157+finalerock44@users.noreply.github.com>
Co-authored-by: dcd-release-please[bot] <296541543+dcd-release-please[bot]@users.noreply.github.com>
Co-authored-by: Tom Riglar <tom.riglar@moropo.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… endpoint (#324)

tryBundleDownload returned false at seven different points, and the
fallback is silent: the inline download still delivers the file. So
there was no way to tell a deployment without bundle delivery from a
dropped connection or a stream that broke partway.

Each point now returns a reason, and tryBundleDownload sends it as a
"bundle download fell back" telemetry event (context cli.download) with
the route, upload id, duration, HTTP status or error name/message/code,
and the bytes received before a stream broke. A 501 (no bundle delivery
on this deployment) is logged at info; everything else at warn.

Nothing is printed: the MCP server uses the same gateway, and its
stdout is the JSON-RPC channel.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Teams could see most of their settings only in the console. `dcd settings`
prints them, and `dcd_get_team_settings` gives an agent the same object:

- team name, org id and sign-in requirement
- concurrency: each runner type's min/max, and shared pools with their members
- test runtime: the default and the EXTENDED_RUNTIME cap, or off
- retry escalation and the overage limit
- whether a webhook, Slack and GitHub are connected

Both read GET /org/settings with the usual auth: --api-key,
DEVICE_CLOUD_API_KEY, or the `dcd login` session and its org. `--json` prints
the API response as-is. For a standard team member the API withholds the
sign-in requirement, retry escalation and overage limit, and the command shows
them as "owner or admin only" rather than as off.

An API without the endpoint answers 404, which becomes "This DeviceCloud API
doesn't support reading team settings yet" rather than "Resource not found".

The response type is hand-defined in src/types/domain/team-settings.types.ts,
as the device-session types are, rather than regenerating schema.types.ts.

The MCP tool is read-only, so it is also served in --read-only mode.
@dcd-release-please dcd-release-please Bot changed the title chore: release 5.13.1 chore: release 5.14.0 Nov 17, 2026
#326)

fix: explain and stop retrying when an API key's access doesn't cover a call

An API key's access can be limited when it is created, for example to
starting test runs and reading only the runs it started. The API answers a
call outside that access with 403 `API_KEY_SCOPE`, and a run the key didn't
start with 404 `UPLOAD_NOT_FOUND`.

- `ApiError` keeps the API's error code. A scope 403 now says what the key
  is limited to and where access is chosen, instead of the advice for a
  revoked or wrong key.
- The `dcd cloud` poll loop stops at once on either code instead of
  retrying 30 times (about 14 minutes) first.
- `dcd status` treats any 4xx `ApiError` as final instead of retrying it 5
  times and then reporting the API as unreachable.
- Fetching compatibility data reports the API's reason instead of only
  "HTTP error! status: 403".
Most pnpm overrides no longer guard against anything: the packages they pinned have shipped fixed versions within their parents' ranges. Keep only glob and minimatch, which an audit still flags without them. Remove @types/js-yaml (js-yaml 5 ships its own types) and shx (the build script now uses node:fs). Bump eslint to 10.15 and typescript-eslint to 8.73.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…abase (#313)

* refactor(auth): refresh `dcd login` sessions through the API, not Supabase

The CLI refreshed its session by calling Supabase Auth with a publishable
key fetched from the API. It now posts the refresh token to the API's
POST /cli-login/refresh, which does the refresh server-side.

- 401 (Supabase refused the token) and 400 are final: run `dcd login`.
  The friendly messages for session_expired / session_not_found /
  refresh_token_not_found are kept.
- Network errors, 404, 429 and 5xx keep the stored session for a retry.
- Sends the CLI identity headers, like every other API call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(auth): treat a non-JSON 200 from the refresh endpoint as retryable

A 200 whose body is not JSON (a proxy page, say) made res.json() throw a
plain SyntaxError. It now throws a retryable SessionRefreshError, like the
other might-work-later cases, so the user sees a clear message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
finalerock44 and others added 3 commits November 17, 2026 12:04
* feat(device): open a link, set the location, and a wait on tap

Three additions to `dcd device`, for the device session API's new actions.

`dcd device open-link [id] <url>` opens a link on the device as tapping it
would: a deep link into an app, or a web link in the app that claims it
or the browser. `--sensitive` keeps a link that carries a token out of the
timeline and out of what the command prints.

`dcd device set-location [id] --latitude <n> --longitude <n>` sets the
device's GPS position in decimal degrees. South and west are negative.

`dcd device tap --text|--rid ... --timeout <seconds>` says how long to
wait for the element before the tap fails (0 to 60; 0 looks once). Without
it the device waits 17 seconds, as before.

A lone positional with a colon is the link, not a session id, as a lone
key is for `press-key`. Usage errors answer inside the --json envelope and
call nothing.

* fix(telemetry): keep an open-link link and typed text out of telemetry

Telemetry records the argv of every command, with the values of a few
flags redacted by name. `dcd device open-link` takes its link as a
positional, which no flag name marks, so a link sent with `--sensitive`
was kept out of the terminal and the session's timeline and still sent to
telemetry in full, token included.

`scrubArgv` now redacts everything after `device open-link` that is not a
flag, and the value of any flag there but the API URL: with or without
`--sensitive`, since a sign-in link is a credential whether or not the
caller marked it. The session id goes with it, and a link too malformed
to send is not kept either. The subcommand is found by name anywhere
after `device`, so a flag's value in between cannot hide it.

`dcd device type --text` had the same hole: `--text` was never in the
list, so a typed password or code went to telemetry even with
`--sensitive`. It is redacted for `device type`; `device tap --text`, an
element's label, is kept.
@finalerock44 finalerock44 self-assigned this Nov 17, 2026
@finalerock44
finalerock44 merged commit aaf6c76 into production Nov 17, 2026
6 checks passed
@finalerock44
finalerock44 deleted the promote/cli-next branch November 17, 2026 16:38
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.

2 participants