Update ghost-browser-api.d.ts

This commit is contained in:
Tommy D. Rossi
2026-02-04 17:24:36 +01:00
parent 5641b3803b
commit 321acf9dbc
+9 -1
View File
@@ -37,7 +37,7 @@
* ## API Namespaces * ## API Namespaces
* *
* - `chrome.ghostPublicAPI` - Open tabs in specific identities * - `chrome.ghostPublicAPI` - Open tabs in specific identities
* - `chrome.ghostProxies` - Manage and assign proxies per tab/identity/session * - `chrome.ghostProxies` - Manage and assign proxies per tab/identity/session (Pro plan only)
* - `chrome.projects` - List/manage identities, sessions, workspaces * - `chrome.projects` - List/manage identities, sessions, workspaces
* *
* ## Use Cases * ## Use Cases
@@ -47,6 +47,13 @@
* - Testing with different user sessions simultaneously * - Testing with different user sessions simultaneously
* - Automation requiring isolated cookies/storage per identity * - Automation requiring isolated cookies/storage per identity
* *
* ## Plan Requirements
*
* - `chrome.ghostPublicAPI` and `chrome.projects` - All plans (including Free)
* - `chrome.ghostProxies` methods - **Pro plan required** ($46/mo). Free plan only exposes
* constants (DIRECT_PROXY, SYSTEM_PROXY). Methods like getList(), add(), setTabProxy()
* throw "permission" error on Free/Basic plans.
*
* Note: These APIs only work in Ghost Browser. In regular Chrome, calls fail with "not available". * Note: These APIs only work in Ghost Browser. In regular Chrome, calls fail with "not available".
*/ */
@@ -94,6 +101,7 @@ declare namespace chrome {
// ============================================================================ // ============================================================================
// GHOST PROXIES API (chrome.ghostProxies) // GHOST PROXIES API (chrome.ghostProxies)
// **Requires Ghost Browser Pro plan.** Free/Basic plans only have constants.
// ============================================================================ // ============================================================================
export namespace ghostProxies { export namespace ghostProxies {