From 4c94485823ec824ea05da1e05bbd0102121ceb81 Mon Sep 17 00:00:00 2001 From: finalerock44 Date: Tue, 17 Nov 2026 16:33:37 +0000 Subject: [PATCH 1/9] docs: call the product DeviceCloud and the CLI the dcd CLI --- ci-cd/bitbucket-pipelines.md | 2 +- ci-cd/eas-workflows.md | 6 +++--- ci-cd/github-actions.md | 2 +- cli/overview.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ci-cd/bitbucket-pipelines.md b/ci-cd/bitbucket-pipelines.md index d9b762c..ba1b42a 100644 --- a/ci-cd/bitbucket-pipelines.md +++ b/ci-cd/bitbucket-pipelines.md @@ -1,6 +1,6 @@ # Bitbucket Pipelines -DeviceCloud ships a [Bitbucket Pipe](https://support.atlassian.com/bitbucket-cloud/docs/pipes/) that runs your Maestro flows on devicecloud.dev directly from your Bitbucket Pipelines. +DeviceCloud ships a [Bitbucket Pipe](https://support.atlassian.com/bitbucket-cloud/docs/pipes/) that runs your Maestro flows on DeviceCloud directly from your Bitbucket Pipelines. ## Quick Start diff --git a/ci-cd/eas-workflows.md b/ci-cd/eas-workflows.md index e7e1a00..704cb1f 100644 --- a/ci-cd/eas-workflows.md +++ b/ci-cd/eas-workflows.md @@ -134,13 +134,13 @@ You don't need a macOS runner for iOS — DeviceCloud runs iOS simulators on its EAS context that doesn't change per-flow goes through the **job-level** `env:` block. Step-level `env:` may be silently ignored — keep `env:` on the job. -The wrapper turns these into either DCD flags or `--metadata` tags (so each run is searchable in the console). +The wrapper turns these into either dcd CLI flags or `--metadata` tags (so each run is searchable in the console). ### Provided by EAS automatically | Variable | Source | Purpose | |----------|--------|---------| -| `DEVICE_CLOUD_API_KEY` |`eas env:create --visibility secret` | DCD `--api-key` (required). Auto-injected at runtime. | +| `DEVICE_CLOUD_API_KEY` |`eas env:create --visibility secret` | The dcd CLI's `--api-key` (required). Auto-injected at runtime. | ### Build context (recommended) @@ -178,7 +178,7 @@ Set `DCD_CHECK_NAME` when a commit is tested by more than one job, so each gets | Variable | Default | Description | |----------|---------|-------------| | `DEVICE_CLOUD_API_URL` | `https://api.devicecloud.dev` | Override the API URL (staging/dev environments). | -| `DCD_USE_BETA` | `false` | Set to the string `true` to use the beta DCD CLI (any other value is treated as `false`). | +| `DCD_USE_BETA` | `false` | Set to the string `true` to use the beta dcd CLI (any other value is treated as `false`). | | `DCD_EAS_BUILD_URL` | — | URL of an Expo iOS simulator build (`.tar.gz`), passed to `dcd cloud --app-url` instead of downloading the artifact and passing `--app-file`. The CLI downloads and extracts it. iOS only: Android builds must use `--app-file`. Expo's signed URLs expire after about an hour. | --- diff --git a/ci-cd/github-actions.md b/ci-cd/github-actions.md index 6a4efb5..8bbcd97 100644 --- a/ci-cd/github-actions.md +++ b/ci-cd/github-actions.md @@ -164,7 +164,7 @@ The action automatically attaches Git and pull request metadata to each run, rea | `download-artifacts` | No | — | Download logs, screenshots, and videos after the run, as `artifacts.zip` in the working directory. Options: `ALL`, `FAILED`. | | `json-file` | No | `false` | Write test results to `_dcd.json` in the working directory. See [Save JSON results file](#save-json-results-file). | | `debug` | No | `false` | Enable verbose debug output. | -| `use-beta` | No | `false` | Use the beta version of the DCD CLI. | +| `use-beta` | No | `false` | Use the beta version of the dcd CLI. | --- diff --git a/cli/overview.md b/cli/overview.md index 992617d..c2ef3e3 100644 --- a/cli/overview.md +++ b/cli/overview.md @@ -1,6 +1,6 @@ # CLI Reference -The DCD CLI is the primary way to interact with DeviceCloud from your terminal or CI/CD pipeline. It is a drop-in replacement for `maestro cloud` — in most cases you can swap `maestro cloud` for `dcd cloud`. +The dcd CLI is the primary way to interact with DeviceCloud from your terminal or CI/CD pipeline. It is a drop-in replacement for `maestro cloud` — in most cases you can swap `maestro cloud` for `dcd cloud`. The CLI is published as `@devicecloud.dev/dcd` on npm and as a standalone binary. Both include `dcd mcp`, an [MCP server](../mcp/connect.md) that lets AI agents run cloud tests and read their results. The npm package also ships `dcd-mcp`, the [older MCP server](../mcp/overview.md). From 9a46dbd68ea89e11b425dc49c2273ad0fd48fbbf Mon Sep 17 00:00:00 2001 From: finalerock44 Date: Tue, 17 Nov 2026 16:36:23 +0000 Subject: [PATCH 2/9] docs: say team for the account, and use UK spelling --- api/device-sessions.md | 14 +++--- api/flows.md | 2 +- api/uploads.md | 2 +- artifacts/artifacts.md | 2 +- billing/test-run-billing.md | 4 +- ci-cd/bitbucket-pipelines.md | 2 +- ci-cd/eas-workflows.md | 2 +- ci-cd/github-actions.md | 2 +- ci-cd/github-checks.md | 2 +- cli/dcd-cloud.md | 2 +- cli/dcd-device.md | 12 ++--- cli/dcd-list.md | 2 +- cli/overview.md | 6 +-- configuration/device-locale.md | 2 +- configuration/extended-runtime.md | 6 +-- configuration/run-priority.md | 2 +- mcp/agent-devices-tools.md | 2 +- mcp/agent-devices.md | 18 ++++---- mcp/tools.md | 4 +- notifications/slack-notifications.md | 4 +- public/openapi.yaml | 64 +++++++++++++-------------- security/enterprise-single-sign-on.md | 2 +- 22 files changed, 79 insertions(+), 79 deletions(-) diff --git a/api/device-sessions.md b/api/device-sessions.md index 21fd694..7ccad6a 100644 --- a/api/device-sessions.md +++ b/api/device-sessions.md @@ -67,7 +67,7 @@ Starting a session answers `201` with its `session` block (some fields left out |---|---| | `GET /device/models` | The devices you can start: models, OS versions and the defaults | | `POST /device/sessions` | Start a session. Body: `platform` (`ios` or `android`), and optionally `model`, `os`, `googlePlay`, `binaryUploadId`, `deviceLocale` (such as `de_DE`), `maxDurationMin`, `clientLabel`, `record` (default `true`) | -| `GET /device/sessions` | Your organization's open sessions. `?all=true` adds those that ended in the last day | +| `GET /device/sessions` | Your team's open sessions. `?all=true` adds those that ended in the last day | | `GET /device/sessions/:id` | One session | | `DELETE /device/sessions/:id` | Stop a session and release the device | @@ -134,9 +134,9 @@ These endpoints have their own limits instead of the API's general one: |---|---| | Commands (install, launch, actions, run, asking a person, handing back) | 60 a minute, per session | | Reads (status, inspect, screenshot, logs, a command's status, whether a person is needed, timeline, artifacts) | 240 a minute, per session | -| Session lists, device models and bundle uploads | 120 a minute, per organization | +| Session lists, device models and bundle uploads | 120 a minute, per team | -Over a limit, the API answers HTTP `429` with `LIVE_RATE_LIMITED`, and `retry_after_s` in the body is how many seconds to wait. Stopping an open session is never refused. Starting a session has no per-minute limit, but your organization can only have so many sessions open at once (`LIVE_CONCURRENCY_LIMIT`). +Over a limit, the API answers HTTP `429` with `LIVE_RATE_LIMITED`, and `retry_after_s` in the body is how many seconds to wait. Stopping an open session is never refused. Starting a session has no per-minute limit, but your team can only have so many sessions open at once (`LIVE_CONCURRENCY_LIMIT`). ## Errors @@ -144,10 +144,10 @@ Errors are JSON with a `message`. Most also have a stable `error` code, listed b | Code | Status | Meaning | |---|---|---| -| `LIVE_NOT_ENABLED` | `403` | Device sessions aren't enabled for your organization | -| `LIVE_CONCURRENCY_LIMIT` | `409` | Your organization has as many sessions open as it may | -| `LIVE_SPEND_CAP` | `402` | Your organization reached its monthly spend cap | -| `LIVE_NOT_FOUND` | `404` | No such session in your organization | +| `LIVE_NOT_ENABLED` | `403` | Device sessions aren't enabled for your team | +| `LIVE_CONCURRENCY_LIMIT` | `409` | Your team has as many sessions open as it may | +| `LIVE_SPEND_CAP` | `402` | Your team reached its monthly spend cap | +| `LIVE_NOT_FOUND` | `404` | No such session in your team | | `LIVE_NOT_READY` | `425` | The device is still starting, or installing an app: retry shortly | | `LIVE_SESSION_ENDED` | `409` | The session has ended | | `LIVE_INVALID_ACTION` | `400` | The request is malformed: the message says how | diff --git a/api/flows.md b/api/flows.md index bb9ee6f..738db41 100644 --- a/api/flows.md +++ b/api/flows.md @@ -8,7 +8,7 @@ Pass rates are calculated as `passed / (passed + failed)`, excluding cancelled a ## Get flow summaries -Returns pass rates, run counts, average durations, and a daily status breakdown for every flow in your organisation. +Returns pass rates, run counts, average durations, and a daily status breakdown for every flow in your team. ``` GET /flows diff --git a/api/uploads.md b/api/uploads.md index 4c4d87e..94ee778 100644 --- a/api/uploads.md +++ b/api/uploads.md @@ -2,7 +2,7 @@ ## List uploads -Returns a paginated list of test uploads for your organisation. +Returns a paginated list of test uploads for your team. ``` GET /uploads/list diff --git a/artifacts/artifacts.md b/artifacts/artifacts.md index 81ab978..5b850cc 100644 --- a/artifacts/artifacts.md +++ b/artifacts/artifacts.md @@ -1,6 +1,6 @@ # Download Artifacts -DeviceCloud captures various artifacts during test execution that can help debug and analyze your test runs. +DeviceCloud captures various artifacts during test execution that can help debug and analyse your test runs. ## Available Artifacts diff --git a/billing/test-run-billing.md b/billing/test-run-billing.md index c4be8c1..b26023a 100644 --- a/billing/test-run-billing.md +++ b/billing/test-run-billing.md @@ -4,11 +4,11 @@ All prices exclude Sales Tax. On the Pro and Max plans, tax is added at checkout for your country by our Merchant of Record, Paddle. On the Enterprise plan, tax is added to your invoice where applicable. ::: -DeviceCloud charges your Team's account per test run. This happens as soon as you run `dcd cloud`. +DeviceCloud charges your team's account per test run. This happens as soon as you run `dcd cloud`. In billing terms, a test run is a single top-level flow executing on a single device. Multiple flows in an upload will incur multiple charges. -For example, an upload with 10 flows running on iOS (at $0.11 per test run) will incur $1.10 of charges to your Team's account. +For example, an upload with 10 flows running on iOS (at $0.11 per test run) will incur $1.10 of charges to your team's account. Details of charges made to your account can be found on the [billing page](https://console.devicecloud.dev/billing). On the Pro and Max plans, usage beyond your plan's included credits is billed as [overage](overage.md). diff --git a/ci-cd/bitbucket-pipelines.md b/ci-cd/bitbucket-pipelines.md index ba1b42a..f9fb287 100644 --- a/ci-cd/bitbucket-pipelines.md +++ b/ci-cd/bitbucket-pipelines.md @@ -82,7 +82,7 @@ Most pipe variables map to the [`dcd cloud`](../cli/dcd-cloud.md) CLI flag of th | `JSON_FILE` | `"true"` to write the results to `_dcd.json`. | | `ASYNC` | `"true"` to fire-and-forget. | | `CANCEL_PREVIOUS` | `"true"` to cancel the previous run's still-queued tests when this one starts (from pipe 1.5.0). See [Cancelling superseded runs](../advanced/cancel-previous.md). | -| `PRIORITY` | `low`, `normal` (default) or `high` (from pipe 1.6.0). Reorders only your organisation's own queued runs, see [Run Priority](../configuration/run-priority.md). | +| `PRIORITY` | `low`, `normal` (default) or `high` (from pipe 1.6.0). Reorders only your team's own queued runs, see [Run Priority](../configuration/run-priority.md). | | `CHECK_NAME` | Names the GitHub check this run posts, see [Bitbucket context auto-attached](#bitbucket-context-auto-attached). | | `RUNNER_TYPE` | `default`, `cpu1`, `m1` or `m4`. `m1` and `m4` are premium runners, see [Runner Types](../configuration/runner-type.md). | | `RENDER_ENGINE` | Android only: `lavapipe` or `swiftshader`, the software renderer the emulator boots with on the default Android runner. Leave unset to let DeviceCloud choose (`swiftshader` for apps built with Flutter, otherwise `lavapipe`). | diff --git a/ci-cd/eas-workflows.md b/ci-cd/eas-workflows.md index 704cb1f..d513477 100644 --- a/ci-cd/eas-workflows.md +++ b/ci-cd/eas-workflows.md @@ -240,7 +240,7 @@ For the devices and OS versions you can pass, and which combinations work, see [ |------|-------------| | `--async` | Exit immediately without waiting for results (exit code `0` regardless). See [Async Execution](../advanced/async-execution.md). | | `--cancel-previous` | Cancel the still-queued tests of the previous run of this job on the same branch or PR. Needs `DCD_GH_REPO` plus `DCD_GH_BRANCH` or `DCD_GH_PR_NUMBER`; set `DCD_CHECK_NAME` per job. See [Cancelling superseded runs](../advanced/cancel-previous.md). | -| `--priority ` | `low`, `normal` (default) or `high`. Reorders only your organisation's own queued runs. See [Run Priority](../configuration/run-priority.md). | +| `--priority ` | `low`, `normal` (default) or `high`. Reorders only your team's own queued runs. See [Run Priority](../configuration/run-priority.md). | | `--download-artifacts ` | Download logs/screenshots/videos as `artifacts.zip` in the working directory. Options: `ALL`, `FAILED`. `--artifacts-path` saves it somewhere else. | | `--json-file` | Write the results to `_dcd.json`. The job still fails when the run fails. | | `--disable-animations` | Disable device animations. See [Animations](../configuration/disable-animations.md). | diff --git a/ci-cd/github-actions.md b/ci-cd/github-actions.md index 8bbcd97..cba78e5 100644 --- a/ci-cd/github-actions.md +++ b/ci-cd/github-actions.md @@ -159,7 +159,7 @@ The action automatically attaches Git and pull request metadata to each run, rea |-------|----------|---------|-------------| | `async` | No | `false` | Exit immediately without waiting for results. Returns exit code `0` regardless of test outcome. See [Async Execution](../advanced/async-execution.md). | | `cancel-previous` | No | `false` | Cancel the still-queued tests of the previous run of this job on the same branch or PR. See [Cancelling superseded runs](../advanced/cancel-previous.md). | -| `priority` | No | `normal` | Run priority: `low`, `normal` or `high`. Reorders only your organisation's own queued runs. See [Run Priority](../configuration/run-priority.md). | +| `priority` | No | `normal` | Run priority: `low`, `normal` or `high`. Reorders only your team's own queued runs. See [Run Priority](../configuration/run-priority.md). | | `quiet` | No | `true` | Quieter output, without progress updates while the run is polled. Set to `false` to see them. | | `download-artifacts` | No | — | Download logs, screenshots, and videos after the run, as `artifacts.zip` in the working directory. Options: `ALL`, `FAILED`. | | `json-file` | No | `false` | Write test results to `_dcd.json` in the working directory. See [Save JSON results file](#save-json-results-file). | diff --git a/ci-cd/github-checks.md b/ci-cd/github-checks.md index 13dd903..3566eff 100644 --- a/ci-cd/github-checks.md +++ b/ci-cd/github-checks.md @@ -14,7 +14,7 @@ If a newer run replaces this one through [`cancel-previous`](../advanced/cancel- ## Connect the App -Open **Settings → Integrations** in the [console](https://console.devicecloud.dev/settings?section=integrations) and click **Connect GitHub**. GitHub asks you to authorize DeviceCloud, and what happens next depends on whether you already have the App: +Open **Settings → Integrations** in the [console](https://console.devicecloud.dev/settings?section=integrations) and click **Connect GitHub**. GitHub asks you to authorise DeviceCloud, and what happens next depends on whether you already have the App: - **First time.** GitHub sends you on to install the App and choose which repositories it can see. Once you're done you land back on the Integrations page, connected to your current team. - **Already installed** (for example, you installed it from the App's page on GitHub first). We connect your team to that installation and return you straight to the console, with no reinstall and no repository step. Your existing repository selection carries over; change it any time with **Manage repositories on GitHub** on the Integrations card. diff --git a/cli/dcd-cloud.md b/cli/dcd-cloud.md index 3ef179b..357c383 100644 --- a/cli/dcd-cloud.md +++ b/cli/dcd-cloud.md @@ -104,7 +104,7 @@ Attach Git and pull request metadata to a run. These values are displayed in the |------|-------------| | `--async` | Submit tests and return immediately (exit `0`) without waiting for results. `--download-artifacts` and `--report` do nothing with `--async`: download them later with [`dcd artifacts`](dcd-artifacts.md) (see [Async Execution](../advanced/async-execution.md)) | | `--cancel-previous` | Cancel the still-queued tests of the previous run from the same CI context. Needs a repository plus a branch or PR: `--repo-name` with `--branch` or `--pr-number`, or the same values as `--metadata gh_repo=…` with `gh_branch=…` or `gh_pr_number=…` (see [Cancelling superseded runs](../advanced/cancel-previous.md)) | -| `--priority ` | `low`, `normal` (default) or `high`. Reorders only your organisation's own queued runs (see [Run Priority](../configuration/run-priority.md)) | +| `--priority ` | `low`, `normal` (default) or `high`. Reorders only your team's own queued runs (see [Run Priority](../configuration/run-priority.md)) | | `--quiet`, `-q` | Suppress per-test progress; print only the final summary | | `--json` | Output results as JSON (see [JSON output](#json-output)). Exits `0` on success, `2` on test failure, `1` on CLI/infrastructure errors. The output includes a `notices` array with any deprecation or other notices for the run. A run superseded through `--cancel-previous` has `status` `SUPERSEDED` and exits `0` | | `--json-file` | Write JSON results to a file (`_dcd.json` by default). Exits `0` even if the test run fails; infrastructure errors still exit `1`. Also turns on `--quiet` | diff --git a/cli/dcd-device.md b/cli/dcd-device.md index 0372e2a..e2c27c6 100644 --- a/cli/dcd-device.md +++ b/cli/dcd-device.md @@ -3,7 +3,7 @@ Lease a cloud iOS simulator or Android emulator, drive it, and release it, from your terminal or a script. These are the same device sessions an AI agent uses through [Agent Devices](../mcp/agent-devices.md): you can watch any of them in the console, and they show on the same Devices page. ::: warning -**Device sessions are in a closed beta** and are billed at **$0.03/min**, excluding Sales Tax. Access is by request: contact support to have it turned on for your organization. `dcd device` works with a [`dcd login`](dcd-login.md) session or an [API key](../getting-started/api-keys.md). +**Device sessions are in a closed beta** and are billed at **$0.03/min**, excluding Sales Tax. Access is by request: contact support to have it turned on for your team. `dcd device` works with a [`dcd login`](dcd-login.md) session or an [API key](../getting-started/api-keys.md). ::: ```bash @@ -25,7 +25,7 @@ dcd device stop ## Rules for every subcommand -- **The session id is optional** when your organization has exactly one open session. With none, or several, the command stops and lists the sessions to choose from. +- **The session id is optional** when your team has exactly one open session. With none, or several, the command stops and lists the sessions to choose from. - **`--json`** prints exactly one JSON object on stdout, on success and on failure: ```json @@ -61,13 +61,13 @@ Start a session. Without `--wait` it returns at once, possibly with the session | `--app-binary-id ` | A build you already uploaded | | `--locale ` | The device locale, such as `de_DE` | | `--name