Files
plan-tools/node_modules/devtools-protocol/pdl/domains/DeviceAccess.pdl
Taylor Eernisse e7882b917b Add Brave CDP automation, replace Oracle browser mode
Connects to user's running Brave via Chrome DevTools Protocol
to automate ChatGPT interaction. Uses puppeteer-core to open a
tab, send the prompt, wait for response, and extract the result.

No cookies, no separate profiles, no copy/paste. Just connects
to the browser where the user is already logged in.

One-time setup: relaunch Brave with --remote-debugging-port=9222

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 16:16:41 -05:00

44 lines
1.2 KiB
Plaintext

# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
experimental domain DeviceAccess
# Device request id.
type RequestId extends string
# A device id.
type DeviceId extends string
# Device information displayed in a user prompt to select a device.
type PromptDevice extends object
properties
DeviceId id
# Display name as it appears in a device request user prompt.
string name
# Enable events in this domain.
command enable
# Disable events in this domain.
command disable
# Select a device in response to a DeviceAccess.deviceRequestPrompted event.
command selectPrompt
parameters
RequestId id
DeviceId deviceId
# Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
command cancelPrompt
parameters
RequestId id
# A device request opened a user prompt to select a device. Respond with the
# selectPrompt or cancelPrompt command.
event deviceRequestPrompted
parameters
RequestId id
array of PromptDevice devices