Repository navigation
docs: live audit fixes - #191
Merged
Merged
Conversation
…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.
Code reviewNo 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
Minor: |
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.