Skip to content

docs: live audit fixes - #191

Merged
finalerock44 merged 6 commits into
mainfrom
docs/live-audit-fixes
Nov 23, 2026
Merged

finalerock44 merged 6 commits into
mainfrom
docs/live-audit-fixes

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

No description provided.

…ons are charged

- Every session block says who started it (started_by). A call that
  names no session uses your own, and changing someone else's needs
  force (LIVE_NOT_YOURS otherwise).
- Handing a session back is for the person in the console.
- Reading a session (status, inspect, screenshots, logs) doesn't keep it
  open. An ended session is final.
- Full-size PNG screenshots: GET .../screenshot?full=true, take_screenshot
  full_size, dcd device screenshot --full, and the PNGs a flow takes
  listed with its result.
- History of ended sessions: GET /device/sessions?ended=true, and the
  console's History with Open.
- Sessions are charged like test runs: prepaid balance, then the plan's
  included usage, then overage. A start that would go past the Overage
  Limit or a hard stop at its maximum length is refused. A session whose
  device never became ready because of a problem on our side is free.
- New CLI flags: --force, --text-stdin, --env-file, logs --level and
  --grep, status --wait, request-human --reason, screenshot --full.
- The dcd mcp bridge's local inputs and its working-directory rule.
- The tool reference, regenerated from the hosted server.
…s in the OpenAPI spec

started_by, force and LIVE_NOT_YOURS, the x-dcd-client-instance header,
GET /device/sessions?ended=true with its paging, screenshot?full=true and
its responses, run results' screenshots, hand-back for the console only,
the start rate limit, USAGE_LIMIT_EXCEEDED and the 403 concurrency
refusal, and the org_concurrency_full queue reason.
…sage limit exits 3

take_screenshot's full_size and dcd device screenshot --full fail after
30 seconds when the device is busy running a flow; they don't wait for
it to end. A device session start refused by the team's usage limit
exits 3 (a limit) in dcd device, as the other limits do.
@finalerock44 finalerock44 self-assigned this Nov 19, 2026
@finalerock44 finalerock44 changed the title Docs/live audit fixes docs: live audit fixes Nov 19, 2026
@claude

claude Bot commented Nov 19, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Per the CLAUDE.md writing-style rule, the rest of the docs don't yet use these new flags and inputs. A reviewer should confirm they exist in the current dcd CLI and API:

  • CLI: dcd device … --force, stop --all --force, type --text-stdin, run --env-file, request-human --reason, screenshot --full, logs --level / --grep, status --wait
  • API: x-dcd-client-instance header, GET /device/sessions?ended=true (before, before_id, limit), ?full=true on /screenshot, force on command bodies and on DELETE, the start-session limit of 10 a minute, and USAGE_LIMIT_EXCEEDED / LIVE_NOT_YOURS / LIVE_NOT_SUPPORTED
  • MCP: force, take_screenshot.full_size, app_path on start_device

Minor: advanced/exit-codes.md still lists exit 3 as "concurrent sessions, spend cap or rate limit". cli/dcd-device.md now adds USAGE_LIMIT_EXCEEDED to that list.

started_by.api_key_name is now key_name in the API. And dcd mcp takes
app_path only from inside the folder it runs in, as it does path.
…ives them

A top-level takeScreenshot in a live session is now at the device's own
resolution on iOS too; one inside runFlow, repeat or retry, or with cropOn,
is still at one pixel per point. A screenshot's name is the path the flow
gave it (login, not login.png).
@finalerock44
finalerock44 merged commit f6957c8 into main Nov 23, 2026
2 checks passed
@finalerock44
finalerock44 deleted the docs/live-audit-fixes branch November 23, 2026 12:00
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