DSG Remote Browser Usage
Canonical product path
Human / Agent / CLI -> DSG Spacetime Plan/Policy/Approval -> DSG Cinema on the existing AWS stack -> shared Chromium -> Evidence
The pinned production-serving Cinema application source and its proposed Shared Input changes are consolidated into this private repository at services/cinema/ by PR #872 (not a deployed image until separate release). The legacy tdealer01-crypto/DSG-Cinema-Proof-Agent remains the historical upstream record and CLI distribution source, not another live browser stack:
historical CLI:
scripts/dsg_browser.pyhistorical CLI installer:
scripts/install_dsg_browser.shprivate Cinema API contract:
services/cinema/openapi/cinema-chatgpt-remote-actions.yamlAWS serving provider:
self_hosted_playwright(selectorDSG_BROWSER_PROVIDER=self_hosted)Spacetime-to-Cinema internal endpoint:
DSG_CINEMA_BASE_URL=http://cinema:8000Cinema managed public executor origin:
DSG_MANAGED_BROWSER_EXECUTOR_BASE_URL=https://aws.dsg.pics
The Private Runtime owns only one production-bound Cinema browser stack. The Image build/scan and the production promotion have separate proof gates.
Compatibility: An existing browser session ID prefixed azure-, or a persisted backend value azure_local, is a historical data identifier and does not identify the current hosting provider. Do not rename/delete such profiles to migrate hosting. Confirm the effective AWS Compose values and the actual signed provider status. A reachable AWS server or agent_connection=connected alone does not prove shared_browser.connected=true.
Authorization: Cinema Connect and Execute require the authenticated user's signed, exact-request approval. A former pending approval cannot be reused after expiry. The user's approver flow is https://dsg.pics/dsg/approvals; do not substitute an internal service token or have an agent approve its own request.
Optional free MCP executor routes
DSG Cinema remains the canonical account-scoped shared browser. Two additional browser executors can be attached to the existing Spacetime route/evidence plane without replacing Cinema:
Microsoft Playwright MCP:
node.browser.playwrightChrome DevTools MCP:
node.browser.chrome-devtools
Both expose the same DSG capabilities: browser.remote.status, browser.remote.read, and browser.remote.execute. The Composer resolves an exact target node, so enabling both providers does not make a route ambiguous.
Run Playwright MCP locally with its Streamable HTTP endpoint:
Run Chrome DevTools MCP behind a local Streamable HTTP proxy:
Optional bearer credentials can be supplied through DSG_PLAYWRIGHT_MCP_TOKEN or DSG_CHROME_DEVTOOLS_MCP_TOKEN; never put tokens or raw cookies in route payloads.
The adapter discovers each provider's live tools/list contract before execution. Read routes accept only bounded observation tools. Execute routes are high-risk, approval-gated, and payload-bound to the approved batch. Arbitrary JavaScript/code evaluation and raw network-request inspection are deliberately not routed through this generic adapter.
Successful results continue through the existing Spacetime evidence hash chain. A provider/tool failure produces no successful execution evidence. These nodes are conditional and absent unless their MCP URL is configured. Source integration alone is not production readiness: bind a real endpoint and pass a live status/read/execute smoke before claiming either provider ready.
Shared-session rule
One account-scoped persistent Chromium browser context, hosted on the existing AWS Cinema runtime, is shared by:
the human mobile/live viewer,
an approved agent executor,
a read-only agent verifier,
the official
dsg-browserCLI.
Opening a new viewer URL must attach to the same persistent account browser profile. It must not create a replacement login/profile merely because a new chat or operator started.
Standard CLI
Install from the Cinema repository:
Common commands:
Approval model
Approval is task-level, not click-level. After an exact browser task is approved, ordinary in-scope navigation/click/type/select operations may continue without a new approval for each UI action.
Re-approval is required when scope expands into a high-risk boundary such as payment, destructive deletion, credential/permission changes, production mutation outside the approved task, or external publication outside the approved task.
Agent mutations remain plan-bound and fail closed. The verifier remains read-only.
Secret boundary
Do not pass plaintext passwords, API keys, private keys, OTP/MFA values, passkeys, or security answers in generic CLI/model actions.
Sensitive identity controls remain direct-user-only unless an approved user-controller delegation explicitly authorizes opaque secret/OTP references inside the trusted runtime. CAPTCHA and passkey remain direct-user-only.
Upload/download boundary
Uploads use approved artifact:// references. Downloads are quarantined. Downloaded files are never auto-executed.
Legacy private wrapper
scripts/dsg_browser_cli.sh and scripts/install_termux_dsg_browser.sh are retained only as the historical GitHub-workflow read verification path. They are not the canonical interactive browser interface and must not be used as evidence that the product is read-only.
New-session bootstrap
Read
AGENTS.md.Read
docs/CURRENT_HANDOFF.md.Read this file.
Verify current Cinema
mainand production provider status.Reuse the account-scoped AWS-hosted Cinema shared browser; verify
shared_browser.connected=truebefore claiming a live session.Connect the agent/CLI under an approved plan.
Execute in-scope work and verify evidence.
Disconnect agent authority when finished without destroying the human browser profile.
อัปเดตล่าสุด