mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-20 09:31:54 -06:00
12 lines
608 B
TypeScript
12 lines
608 B
TypeScript
/**
|
|
* Gateway method and scope constants for browser proxy requests.
|
|
*
|
|
* Node-hosted browser control uses these values on both sides of the gateway
|
|
* contract, so keep them as literal exports instead of duplicated strings.
|
|
*/
|
|
export const BROWSER_REQUEST_GATEWAY_METHOD = "browser.request" as const;
|
|
/** Admin scope required to proxy browser-control requests through Gateway. */
|
|
export const BROWSER_REQUEST_GATEWAY_SCOPE = "operator.admin" as const;
|
|
/** Scope tuple shape consumed by Gateway tool registration. */
|
|
export const BROWSER_REQUEST_GATEWAY_SCOPES = [BROWSER_REQUEST_GATEWAY_SCOPE] as const;
|