browxai 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +139 -0
- package/THIRD_PARTY_NOTICES.md +45 -0
- package/dist/cli/chrome.d.ts +1 -0
- package/dist/cli/chrome.js +130 -0
- package/dist/cli/command-registry.d.ts +15 -0
- package/dist/cli/command-registry.js +35 -0
- package/dist/cli/doctor-plugins.d.ts +18 -0
- package/dist/cli/doctor-plugins.js +338 -0
- package/dist/cli/doctor.d.ts +9 -0
- package/dist/cli/doctor.js +407 -0
- package/dist/cli/init.d.ts +1 -0
- package/dist/cli/init.js +200 -0
- package/dist/cli/register-commands.d.ts +1 -0
- package/dist/cli/register-commands.js +22 -0
- package/dist/cli/serve.d.ts +14 -0
- package/dist/cli/serve.js +151 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +129 -0
- package/dist/engine/adapters/adb.d.ts +72 -0
- package/dist/engine/adapters/adb.js +200 -0
- package/dist/engine/adapters/android-cdp.d.ts +54 -0
- package/dist/engine/adapters/android-cdp.js +110 -0
- package/dist/engine/adapters/android.engine.d.ts +1 -0
- package/dist/engine/adapters/android.engine.js +31 -0
- package/dist/engine/adapters/chromium.engine.d.ts +1 -0
- package/dist/engine/adapters/chromium.engine.js +44 -0
- package/dist/engine/adapters/firefox.engine.d.ts +1 -0
- package/dist/engine/adapters/firefox.engine.js +43 -0
- package/dist/engine/adapters/playwright-chromium.d.ts +43 -0
- package/dist/engine/adapters/playwright-chromium.js +56 -0
- package/dist/engine/adapters/playwright-firefox.d.ts +52 -0
- package/dist/engine/adapters/playwright-firefox.js +97 -0
- package/dist/engine/adapters/playwright-webkit.d.ts +40 -0
- package/dist/engine/adapters/playwright-webkit.js +79 -0
- package/dist/engine/adapters/safari/bidi-client.d.ts +46 -0
- package/dist/engine/adapters/safari/bidi-client.js +130 -0
- package/dist/engine/adapters/safari/launch.d.ts +56 -0
- package/dist/engine/adapters/safari/launch.js +104 -0
- package/dist/engine/adapters/safari/webdriver-client.d.ts +102 -0
- package/dist/engine/adapters/safari/webdriver-client.js +175 -0
- package/dist/engine/adapters/safari.engine.d.ts +1 -0
- package/dist/engine/adapters/safari.engine.js +52 -0
- package/dist/engine/adapters/safaridriver-hybrid.d.ts +56 -0
- package/dist/engine/adapters/safaridriver-hybrid.js +127 -0
- package/dist/engine/adapters/webkit.engine.d.ts +1 -0
- package/dist/engine/adapters/webkit.engine.js +47 -0
- package/dist/engine/capabilities.d.ts +53 -0
- package/dist/engine/capabilities.js +122 -0
- package/dist/engine/capability-registry.d.ts +9 -0
- package/dist/engine/capability-registry.js +20 -0
- package/dist/engine/index.d.ts +18 -0
- package/dist/engine/index.js +14 -0
- package/dist/engine/register-engines.d.ts +5 -0
- package/dist/engine/register-engines.js +16 -0
- package/dist/engine/registry.d.ts +145 -0
- package/dist/engine/registry.js +67 -0
- package/dist/engine/select.d.ts +48 -0
- package/dist/engine/select.js +128 -0
- package/dist/engine/session-cdp.d.ts +13 -0
- package/dist/engine/session-cdp.js +22 -0
- package/dist/engine/tool-gate.d.ts +19 -0
- package/dist/engine/tool-gate.js +226 -0
- package/dist/engine/types.d.ts +71 -0
- package/dist/engine/types.js +16 -0
- package/dist/helper/bridge.d.ts +48 -0
- package/dist/helper/bridge.js +200 -0
- package/dist/helper/browx-page.d.ts +1 -0
- package/dist/helper/browx-page.js +47 -0
- package/dist/helper/overlay-hide.d.ts +9 -0
- package/dist/helper/overlay-hide.js +49 -0
- package/dist/helper/stealth.d.ts +10 -0
- package/dist/helper/stealth.js +88 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +15 -0
- package/dist/page/a11y.d.ts +81 -0
- package/dist/page/a11y.js +219 -0
- package/dist/page/action-substrate.d.ts +64 -0
- package/dist/page/action-substrate.js +118 -0
- package/dist/page/actionresult-blocks.d.ts +99 -0
- package/dist/page/actionresult-blocks.js +144 -0
- package/dist/page/actionresult-shape.d.ts +48 -0
- package/dist/page/actionresult-shape.js +155 -0
- package/dist/page/actionresult-types.d.ts +368 -0
- package/dist/page/actionresult-types.js +4 -0
- package/dist/page/actionresult.d.ts +4 -0
- package/dist/page/actionresult.js +299 -0
- package/dist/page/actions-probe.d.ts +32 -0
- package/dist/page/actions-probe.js +294 -0
- package/dist/page/actions-scroll.d.ts +40 -0
- package/dist/page/actions-scroll.js +53 -0
- package/dist/page/actions.d.ts +132 -0
- package/dist/page/actions.js +453 -0
- package/dist/page/archive-assets.d.ts +39 -0
- package/dist/page/archive-assets.js +187 -0
- package/dist/page/archive.d.ts +47 -0
- package/dist/page/archive.js +349 -0
- package/dist/page/asset-export.d.ts +122 -0
- package/dist/page/asset-export.js +376 -0
- package/dist/page/await_network.d.ts +16 -0
- package/dist/page/await_network.js +23 -0
- package/dist/page/bbox.d.ts +37 -0
- package/dist/page/bbox.js +115 -0
- package/dist/page/canvas-capture.d.ts +82 -0
- package/dist/page/canvas-capture.js +257 -0
- package/dist/page/canvas-diff.d.ts +51 -0
- package/dist/page/canvas-diff.js +131 -0
- package/dist/page/canvas-gesture.d.ts +53 -0
- package/dist/page/canvas-gesture.js +167 -0
- package/dist/page/canvas-transform.d.ts +96 -0
- package/dist/page/canvas-transform.js +150 -0
- package/dist/page/canvas.d.ts +8 -0
- package/dist/page/canvas.js +50 -0
- package/dist/page/capture-substrate.d.ts +111 -0
- package/dist/page/capture-substrate.js +139 -0
- package/dist/page/clipboard.d.ts +25 -0
- package/dist/page/clipboard.js +50 -0
- package/dist/page/clock.d.ts +36 -0
- package/dist/page/clock.js +167 -0
- package/dist/page/compose.d.ts +55 -0
- package/dist/page/compose.js +169 -0
- package/dist/page/console.d.ts +39 -0
- package/dist/page/console.js +73 -0
- package/dist/page/coverage.d.ts +97 -0
- package/dist/page/coverage.js +280 -0
- package/dist/page/dom-export.d.ts +41 -0
- package/dist/page/dom-export.js +193 -0
- package/dist/page/dom-walk.d.ts +91 -0
- package/dist/page/dom-walk.js +267 -0
- package/dist/page/dom_diff.d.ts +48 -0
- package/dist/page/dom_diff.js +121 -0
- package/dist/page/downloads.d.ts +80 -0
- package/dist/page/downloads.js +244 -0
- package/dist/page/drop-files.d.ts +78 -0
- package/dist/page/drop-files.js +310 -0
- package/dist/page/element-export-discovery.d.ts +64 -0
- package/dist/page/element-export-discovery.js +346 -0
- package/dist/page/element-export.d.ts +46 -0
- package/dist/page/element-export.js +251 -0
- package/dist/page/emulation-substrate.d.ts +53 -0
- package/dist/page/emulation-substrate.js +87 -0
- package/dist/page/emulation.d.ts +60 -0
- package/dist/page/emulation.js +162 -0
- package/dist/page/export-playwright-script.d.ts +47 -0
- package/dist/page/export-playwright-script.js +304 -0
- package/dist/page/extract-resolve.d.ts +22 -0
- package/dist/page/extract-resolve.js +341 -0
- package/dist/page/extract-schema.d.ts +20 -0
- package/dist/page/extract-schema.js +200 -0
- package/dist/page/extract-types.d.ts +127 -0
- package/dist/page/extract-types.js +8 -0
- package/dist/page/extract-warnings.d.ts +8 -0
- package/dist/page/extract-warnings.js +56 -0
- package/dist/page/extract.d.ts +9 -0
- package/dist/page/extract.js +174 -0
- package/dist/page/fill-form.d.ts +58 -0
- package/dist/page/fill-form.js +261 -0
- package/dist/page/find.d.ts +158 -0
- package/dist/page/find.js +470 -0
- package/dist/page/frames.d.ts +45 -0
- package/dist/page/frames.js +133 -0
- package/dist/page/generate-locator.d.ts +57 -0
- package/dist/page/generate-locator.js +136 -0
- package/dist/page/gestures.d.ts +128 -0
- package/dist/page/gestures.js +198 -0
- package/dist/page/har.d.ts +91 -0
- package/dist/page/har.js +174 -0
- package/dist/page/heap.d.ts +97 -0
- package/dist/page/heap.js +285 -0
- package/dist/page/inspect.d.ts +34 -0
- package/dist/page/inspect.js +75 -0
- package/dist/page/layout-thrash.d.ts +34 -0
- package/dist/page/layout-thrash.js +232 -0
- package/dist/page/learning.d.ts +21 -0
- package/dist/page/learning.js +84 -0
- package/dist/page/locator.d.ts +54 -0
- package/dist/page/locator.js +142 -0
- package/dist/page/memory-diff.d.ts +48 -0
- package/dist/page/memory-diff.js +105 -0
- package/dist/page/network-mask.d.ts +8 -0
- package/dist/page/network-mask.js +18 -0
- package/dist/page/network-playwright.d.ts +96 -0
- package/dist/page/network-playwright.js +353 -0
- package/dist/page/network-substrate-select.d.ts +18 -0
- package/dist/page/network-substrate-select.js +32 -0
- package/dist/page/network-substrate.d.ts +109 -0
- package/dist/page/network-substrate.js +161 -0
- package/dist/page/network-ws.d.ts +46 -0
- package/dist/page/network-ws.js +113 -0
- package/dist/page/network.d.ts +194 -0
- package/dist/page/network.js +415 -0
- package/dist/page/overflow-detect.d.ts +102 -0
- package/dist/page/overflow-detect.js +449 -0
- package/dist/page/pdf.d.ts +69 -0
- package/dist/page/pdf.js +109 -0
- package/dist/page/perf-audit-analysers.d.ts +40 -0
- package/dist/page/perf-audit-analysers.js +369 -0
- package/dist/page/perf-audit-runner.d.ts +20 -0
- package/dist/page/perf-audit-runner.js +195 -0
- package/dist/page/perf-audit-types.d.ts +41 -0
- package/dist/page/perf-audit-types.js +5 -0
- package/dist/page/perf-audit.d.ts +37 -0
- package/dist/page/perf-audit.js +377 -0
- package/dist/page/perf.d.ts +127 -0
- package/dist/page/perf.js +373 -0
- package/dist/page/plan.d.ts +192 -0
- package/dist/page/plan.js +308 -0
- package/dist/page/point_probe.d.ts +46 -0
- package/dist/page/point_probe.js +99 -0
- package/dist/page/recording.d.ts +67 -0
- package/dist/page/recording.js +172 -0
- package/dist/page/refs.d.ts +92 -0
- package/dist/page/refs.js +134 -0
- package/dist/page/regions.d.ts +23 -0
- package/dist/page/regions.js +32 -0
- package/dist/page/routes.d.ts +40 -0
- package/dist/page/routes.js +87 -0
- package/dist/page/safari-actions.d.ts +12 -0
- package/dist/page/safari-actions.js +144 -0
- package/dist/page/sample.d.ts +64 -0
- package/dist/page/sample.js +216 -0
- package/dist/page/screenshot-on.d.ts +51 -0
- package/dist/page/screenshot-on.js +150 -0
- package/dist/page/screenshot-save.d.ts +36 -0
- package/dist/page/screenshot-save.js +53 -0
- package/dist/page/screenshot-schedule.d.ts +50 -0
- package/dist/page/screenshot-schedule.js +155 -0
- package/dist/page/script-substrate.d.ts +32 -0
- package/dist/page/script-substrate.js +47 -0
- package/dist/page/seed-random.d.ts +45 -0
- package/dist/page/seed-random.js +144 -0
- package/dist/page/set-of-marks.d.ts +96 -0
- package/dist/page/set-of-marks.js +245 -0
- package/dist/page/shadow.d.ts +136 -0
- package/dist/page/shadow.js +400 -0
- package/dist/page/shortcut.d.ts +50 -0
- package/dist/page/shortcut.js +147 -0
- package/dist/page/snapshot-substrate-safari.d.ts +30 -0
- package/dist/page/snapshot-substrate-safari.js +84 -0
- package/dist/page/snapshot-substrate-select.d.ts +24 -0
- package/dist/page/snapshot-substrate-select.js +34 -0
- package/dist/page/snapshot-substrate.d.ts +58 -0
- package/dist/page/snapshot-substrate.js +135 -0
- package/dist/page/snapshot.d.ts +24 -0
- package/dist/page/snapshot.js +162 -0
- package/dist/page/solve-captcha.d.ts +76 -0
- package/dist/page/solve-captcha.js +286 -0
- package/dist/page/storage-substrate-types.d.ts +221 -0
- package/dist/page/storage-substrate-types.js +6 -0
- package/dist/page/storage-substrate.d.ts +215 -0
- package/dist/page/storage-substrate.js +280 -0
- package/dist/page/structural.d.ts +9 -0
- package/dist/page/structural.js +152 -0
- package/dist/page/substrate-bundle-safari.d.ts +8 -0
- package/dist/page/substrate-bundle-safari.js +42 -0
- package/dist/page/substrate-bundle.d.ts +6 -0
- package/dist/page/substrate-bundle.js +53 -0
- package/dist/page/text_search.d.ts +44 -0
- package/dist/page/text_search.js +90 -0
- package/dist/page/upload.d.ts +28 -0
- package/dist/page/upload.js +62 -0
- package/dist/page/verify.d.ts +63 -0
- package/dist/page/verify.js +451 -0
- package/dist/page/video.d.ts +115 -0
- package/dist/page/video.js +169 -0
- package/dist/page/visibility.d.ts +22 -0
- package/dist/page/visibility.js +94 -0
- package/dist/page/watch.d.ts +29 -0
- package/dist/page/watch.js +99 -0
- package/dist/page/workers.d.ts +126 -0
- package/dist/page/workers.js +490 -0
- package/dist/page/ws-interactive.d.ts +82 -0
- package/dist/page/ws-interactive.js +318 -0
- package/dist/plugin/cli.d.ts +45 -0
- package/dist/plugin/cli.js +496 -0
- package/dist/plugin/command-registry.d.ts +9 -0
- package/dist/plugin/command-registry.js +23 -0
- package/dist/plugin/depgraph.d.ts +37 -0
- package/dist/plugin/depgraph.js +186 -0
- package/dist/plugin/manifest.d.ts +182 -0
- package/dist/plugin/manifest.js +219 -0
- package/dist/plugin/package-manager.d.ts +22 -0
- package/dist/plugin/package-manager.js +40 -0
- package/dist/plugin/resolver.d.ts +85 -0
- package/dist/plugin/resolver.js +166 -0
- package/dist/plugin/runtime.d.ts +77 -0
- package/dist/plugin/runtime.js +402 -0
- package/dist/plugin/types.d.ts +113 -0
- package/dist/plugin/types.js +4 -0
- package/dist/policy/confirm.d.ts +76 -0
- package/dist/policy/confirm.js +162 -0
- package/dist/policy/origin.d.ts +17 -0
- package/dist/policy/origin.js +79 -0
- package/dist/sdk/client.d.ts +21 -0
- package/dist/sdk/client.js +174 -0
- package/dist/sdk/index.d.ts +32 -0
- package/dist/sdk/index.js +61 -0
- package/dist/sdk/plugin-types.d.ts +33 -0
- package/dist/sdk/plugin-types.js +22 -0
- package/dist/sdk/registry.d.ts +17 -0
- package/dist/sdk/registry.js +94 -0
- package/dist/sdk/socket-transport.d.ts +20 -0
- package/dist/sdk/socket-transport.js +90 -0
- package/dist/sdk/tool-types.d.ts +634 -0
- package/dist/sdk/tool-types.js +28 -0
- package/dist/sdk/transport-in-process.d.ts +21 -0
- package/dist/sdk/transport-in-process.js +44 -0
- package/dist/sdk/transport-registry.d.ts +19 -0
- package/dist/sdk/transport-registry.js +31 -0
- package/dist/sdk/transport-socket.d.ts +12 -0
- package/dist/sdk/transport-socket.js +77 -0
- package/dist/sdk/transport-stdio-child.d.ts +10 -0
- package/dist/sdk/transport-stdio-child.js +47 -0
- package/dist/sdk/transport.d.ts +10 -0
- package/dist/sdk/transport.js +35 -0
- package/dist/sdk/types.d.ts +176 -0
- package/dist/sdk/types.js +10 -0
- package/dist/server.d.ts +33 -0
- package/dist/server.js +327 -0
- package/dist/session/artifacts.d.ts +52 -0
- package/dist/session/artifacts.js +177 -0
- package/dist/session/byob-attach.d.ts +26 -0
- package/dist/session/byob-attach.js +187 -0
- package/dist/session/byob.d.ts +8 -0
- package/dist/session/byob.js +20 -0
- package/dist/session/cache-storage.d.ts +100 -0
- package/dist/session/cache-storage.js +166 -0
- package/dist/session/device-emu.d.ts +149 -0
- package/dist/session/device-emu.js +545 -0
- package/dist/session/device.d.ts +14 -0
- package/dist/session/device.js +44 -0
- package/dist/session/dialog.d.ts +62 -0
- package/dist/session/dialog.js +164 -0
- package/dist/session/emulation.d.ts +69 -0
- package/dist/session/emulation.js +168 -0
- package/dist/session/extensions.d.ts +113 -0
- package/dist/session/extensions.js +237 -0
- package/dist/session/fs-picker.d.ts +144 -0
- package/dist/session/fs-picker.js +666 -0
- package/dist/session/idb-storage.d.ts +86 -0
- package/dist/session/idb-storage.js +229 -0
- package/dist/session/incognito.d.ts +3 -0
- package/dist/session/incognito.js +20 -0
- package/dist/session/launch-options.d.ts +41 -0
- package/dist/session/launch-options.js +200 -0
- package/dist/session/managed.d.ts +3 -0
- package/dist/session/managed.js +16 -0
- package/dist/session/metrics.d.ts +45 -0
- package/dist/session/metrics.js +75 -0
- package/dist/session/notification.d.ts +122 -0
- package/dist/session/notification.js +426 -0
- package/dist/session/permission.d.ts +144 -0
- package/dist/session/permission.js +600 -0
- package/dist/session/playwright-post-wire.d.ts +8 -0
- package/dist/session/playwright-post-wire.js +148 -0
- package/dist/session/policy-buffer.d.ts +21 -0
- package/dist/session/policy-buffer.js +47 -0
- package/dist/session/profile-snapshot.d.ts +11 -0
- package/dist/session/profile-snapshot.js +53 -0
- package/dist/session/registry.d.ts +365 -0
- package/dist/session/registry.js +98 -0
- package/dist/session/safari-post-wire.d.ts +8 -0
- package/dist/session/safari-post-wire.js +28 -0
- package/dist/session/safari-session.d.ts +10 -0
- package/dist/session/safari-session.js +39 -0
- package/dist/session/storage.d.ts +148 -0
- package/dist/session/storage.js +350 -0
- package/dist/session/types.d.ts +113 -0
- package/dist/session/types.js +5 -0
- package/dist/session/wedge.d.ts +15 -0
- package/dist/session/wedge.js +41 -0
- package/dist/tools/action-core-tools.d.ts +13 -0
- package/dist/tools/action-core-tools.js +156 -0
- package/dist/tools/action-form-tools.d.ts +12 -0
- package/dist/tools/action-form-tools.js +179 -0
- package/dist/tools/action-gesture-tools.d.ts +9 -0
- package/dist/tools/action-gesture-tools.js +115 -0
- package/dist/tools/action-history-tools.d.ts +8 -0
- package/dist/tools/action-history-tools.js +67 -0
- package/dist/tools/action-tool.d.ts +42 -0
- package/dist/tools/action-tool.js +58 -0
- package/dist/tools/action-tools.d.ts +20 -0
- package/dist/tools/action-tools.js +28 -0
- package/dist/tools/batch-act-tools.d.ts +10 -0
- package/dist/tools/batch-act-tools.js +276 -0
- package/dist/tools/batch-human-tools.d.ts +8 -0
- package/dist/tools/batch-human-tools.js +148 -0
- package/dist/tools/canvas-tools.d.ts +40 -0
- package/dist/tools/canvas-tools.js +368 -0
- package/dist/tools/capture-report-diagnostics-tools.d.ts +7 -0
- package/dist/tools/capture-report-diagnostics-tools.js +318 -0
- package/dist/tools/capture-report-element-export-tools.d.ts +8 -0
- package/dist/tools/capture-report-element-export-tools.js +197 -0
- package/dist/tools/capture-report-export-tools.d.ts +8 -0
- package/dist/tools/capture-report-export-tools.js +246 -0
- package/dist/tools/capture-report-marks-tools.d.ts +9 -0
- package/dist/tools/capture-report-marks-tools.js +221 -0
- package/dist/tools/capture-report-upload-tools.d.ts +8 -0
- package/dist/tools/capture-report-upload-tools.js +277 -0
- package/dist/tools/config-approval-tools.d.ts +8 -0
- package/dist/tools/config-approval-tools.js +166 -0
- package/dist/tools/deep-coverage-tools.d.ts +8 -0
- package/dist/tools/deep-coverage-tools.js +325 -0
- package/dist/tools/deep-determinism-tools.d.ts +8 -0
- package/dist/tools/deep-determinism-tools.js +276 -0
- package/dist/tools/deep-perf-tools.d.ts +19 -0
- package/dist/tools/deep-perf-tools.js +324 -0
- package/dist/tools/device-emulation-tools.d.ts +9 -0
- package/dist/tools/device-emulation-tools.js +137 -0
- package/dist/tools/extensions-batch-tools.d.ts +18 -0
- package/dist/tools/extensions-batch-tools.js +24 -0
- package/dist/tools/extensions-rebuild.d.ts +22 -0
- package/dist/tools/extensions-rebuild.js +208 -0
- package/dist/tools/extensions-tools.d.ts +2 -0
- package/dist/tools/extensions-tools.js +331 -0
- package/dist/tools/forms-fill-tools.d.ts +8 -0
- package/dist/tools/forms-fill-tools.js +109 -0
- package/dist/tools/forms-plan-tools.d.ts +7 -0
- package/dist/tools/forms-plan-tools.js +159 -0
- package/dist/tools/forms-recording-mode-tools.d.ts +8 -0
- package/dist/tools/forms-recording-mode-tools.js +71 -0
- package/dist/tools/forms-recording-tools.d.ts +14 -0
- package/dist/tools/forms-recording-tools.js +22 -0
- package/dist/tools/forms-refs-tools.d.ts +8 -0
- package/dist/tools/forms-refs-tools.js +90 -0
- package/dist/tools/gesture-coord-tools.d.ts +8 -0
- package/dist/tools/gesture-coord-tools.js +168 -0
- package/dist/tools/gesture-emulation-tools.d.ts +8 -0
- package/dist/tools/gesture-emulation-tools.js +135 -0
- package/dist/tools/gesture-network-tools.d.ts +17 -0
- package/dist/tools/gesture-network-tools.js +27 -0
- package/dist/tools/gesture-route-tools.d.ts +8 -0
- package/dist/tools/gesture-route-tools.js +142 -0
- package/dist/tools/gesture-websocket-tools.d.ts +8 -0
- package/dist/tools/gesture-websocket-tools.js +122 -0
- package/dist/tools/gesture-worker-tools.d.ts +9 -0
- package/dist/tools/gesture-worker-tools.js +200 -0
- package/dist/tools/host-build.d.ts +76 -0
- package/dist/tools/host-build.js +516 -0
- package/dist/tools/host.d.ts +287 -0
- package/dist/tools/host.js +1 -0
- package/dist/tools/input-tools.d.ts +10 -0
- package/dist/tools/input-tools.js +176 -0
- package/dist/tools/live-emulation-tools.d.ts +9 -0
- package/dist/tools/live-emulation-tools.js +353 -0
- package/dist/tools/plugin-runtime.d.ts +36 -0
- package/dist/tools/plugin-runtime.js +274 -0
- package/dist/tools/read-observe-buffer-tools.d.ts +9 -0
- package/dist/tools/read-observe-buffer-tools.js +385 -0
- package/dist/tools/read-observe-capture-tools.d.ts +12 -0
- package/dist/tools/read-observe-capture-tools.js +376 -0
- package/dist/tools/read-observe-dom-tools.d.ts +8 -0
- package/dist/tools/read-observe-dom-tools.js +308 -0
- package/dist/tools/read-observe-extract-tools.d.ts +8 -0
- package/dist/tools/read-observe-extract-tools.js +232 -0
- package/dist/tools/read-observe-verify-tools.d.ts +8 -0
- package/dist/tools/read-observe-verify-tools.js +316 -0
- package/dist/tools/schemas.d.ts +29 -0
- package/dist/tools/schemas.js +58 -0
- package/dist/tools/secrets-captcha-tools.d.ts +9 -0
- package/dist/tools/secrets-captcha-tools.js +231 -0
- package/dist/tools/session-dialog-permission-tools.d.ts +9 -0
- package/dist/tools/session-dialog-permission-tools.js +287 -0
- package/dist/tools/session-lifecycle-tools.d.ts +8 -0
- package/dist/tools/session-lifecycle-tools.js +314 -0
- package/dist/tools/session-notification-device-tools.d.ts +9 -0
- package/dist/tools/session-notification-device-tools.js +156 -0
- package/dist/tools/session-policy-tools.d.ts +16 -0
- package/dist/tools/session-policy-tools.js +22 -0
- package/dist/tools/session-registry.d.ts +28 -0
- package/dist/tools/session-registry.js +427 -0
- package/dist/tools/storage-artifact-har-video-tools.d.ts +8 -0
- package/dist/tools/storage-artifact-har-video-tools.js +311 -0
- package/dist/tools/storage-cache-idb-tools.d.ts +8 -0
- package/dist/tools/storage-cache-idb-tools.js +347 -0
- package/dist/tools/storage-state-cookies-tools.d.ts +8 -0
- package/dist/tools/storage-state-cookies-tools.js +223 -0
- package/dist/tools/storage-tools.d.ts +17 -0
- package/dist/tools/storage-tools.js +25 -0
- package/dist/tools/storage-web-auth-tools.d.ts +10 -0
- package/dist/tools/storage-web-auth-tools.js +230 -0
- package/dist/tools/tool-metadata.d.ts +8 -0
- package/dist/tools/tool-metadata.js +185 -0
- package/dist/util/batch.d.ts +83 -0
- package/dist/util/batch.js +191 -0
- package/dist/util/capabilities.d.ts +504 -0
- package/dist/util/capabilities.js +254 -0
- package/dist/util/config-store.d.ts +103 -0
- package/dist/util/config-store.js +206 -0
- package/dist/util/config.d.ts +11 -0
- package/dist/util/config.js +28 -0
- package/dist/util/credentials.d.ts +136 -0
- package/dist/util/credentials.js +622 -0
- package/dist/util/deadline.d.ts +22 -0
- package/dist/util/deadline.js +62 -0
- package/dist/util/diagnostics.d.ts +161 -0
- package/dist/util/diagnostics.js +579 -0
- package/dist/util/egress-sanitiser.d.ts +29 -0
- package/dist/util/egress-sanitiser.js +52 -0
- package/dist/util/failure.d.ts +8 -0
- package/dist/util/failure.js +50 -0
- package/dist/util/flake-check.d.ts +109 -0
- package/dist/util/flake-check.js +342 -0
- package/dist/util/invariant.d.ts +25 -0
- package/dist/util/invariant.js +66 -0
- package/dist/util/logging.d.ts +6 -0
- package/dist/util/logging.js +12 -0
- package/dist/util/predicates.d.ts +62 -0
- package/dist/util/predicates.js +340 -0
- package/dist/util/secrets.d.ts +104 -0
- package/dist/util/secrets.js +219 -0
- package/dist/util/tokens.d.ts +6 -0
- package/dist/util/tokens.js +24 -0
- package/dist/util/url-sanitizer.d.ts +19 -0
- package/dist/util/url-sanitizer.js +70 -0
- package/dist/util/version.d.ts +2 -0
- package/dist/util/version.js +21 -0
- package/dist/util/workspace.d.ts +7 -0
- package/dist/util/workspace.js +22 -0
- package/package.json +120 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// session registry. Holds one isolated SessionEntry per session id;
|
|
2
|
+
// the "default" entry is created lazily on first browser-touching tool call
|
|
3
|
+
// (back-compat: every existing caller that omits `session` resolves here).
|
|
4
|
+
//
|
|
5
|
+
// Browser-agnostic by construction: the registry takes an entry `factory` and
|
|
6
|
+
// a `teardown`, so it's unit-testable without launching Chrome. The factory /
|
|
7
|
+
// teardown that actually wire Playwright live in server.ts.
|
|
8
|
+
export const DEFAULT_SESSION_ID = "default";
|
|
9
|
+
export class SessionRegistry {
|
|
10
|
+
factory;
|
|
11
|
+
teardown;
|
|
12
|
+
entries = new Map();
|
|
13
|
+
/** In-flight creations, so two concurrent first-calls for the same id don't
|
|
14
|
+
* each launch a browser. */
|
|
15
|
+
creating = new Map();
|
|
16
|
+
constructor(factory, teardown) {
|
|
17
|
+
this.factory = factory;
|
|
18
|
+
this.teardown = teardown;
|
|
19
|
+
}
|
|
20
|
+
/** Resolve (or lazily create) the entry for `id`. Concurrency-safe. The
|
|
21
|
+
* `spec` is only consulted on creation — once an entry exists it's returned
|
|
22
|
+
* as-is regardless of spec. */
|
|
23
|
+
async get(id = DEFAULT_SESSION_ID, spec) {
|
|
24
|
+
const existing = this.entries.get(id);
|
|
25
|
+
if (existing) {
|
|
26
|
+
existing.lastActivityAt = Date.now(); // touch for idle reaping
|
|
27
|
+
return existing;
|
|
28
|
+
}
|
|
29
|
+
const inflight = this.creating.get(id);
|
|
30
|
+
if (inflight)
|
|
31
|
+
return inflight;
|
|
32
|
+
const p = this.factory(id, spec)
|
|
33
|
+
.then((e) => {
|
|
34
|
+
this.entries.set(id, e);
|
|
35
|
+
this.creating.delete(id);
|
|
36
|
+
return e;
|
|
37
|
+
})
|
|
38
|
+
.catch((err) => {
|
|
39
|
+
this.creating.delete(id);
|
|
40
|
+
throw err;
|
|
41
|
+
});
|
|
42
|
+
this.creating.set(id, p);
|
|
43
|
+
return p;
|
|
44
|
+
}
|
|
45
|
+
has(id) {
|
|
46
|
+
return this.entries.has(id);
|
|
47
|
+
}
|
|
48
|
+
/** Non-creating peek — returns undefined if not yet open. */
|
|
49
|
+
peek(id) {
|
|
50
|
+
return this.entries.get(id);
|
|
51
|
+
}
|
|
52
|
+
list() {
|
|
53
|
+
return [...this.entries.values()];
|
|
54
|
+
}
|
|
55
|
+
/** Tear down + remove one session. Returns false if it wasn't open. */
|
|
56
|
+
async close(id) {
|
|
57
|
+
const e = this.entries.get(id);
|
|
58
|
+
if (!e)
|
|
59
|
+
return false;
|
|
60
|
+
this.entries.delete(id);
|
|
61
|
+
await this.teardown(e);
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* bulk teardown. Selects live sessions by `prefix` (id starts-with),
|
|
66
|
+
* `all`, and/or `idleMs` (no `get()` in the last N ms). Filters AND together
|
|
67
|
+
* when multiple are given; at least one selector is required. Returns the
|
|
68
|
+
* closed ids (in selection order). The team-lead reap primitive — at
|
|
69
|
+
* multi-agent scale a wedged/killed agent strands sessions.
|
|
70
|
+
*/
|
|
71
|
+
async closeMatching(sel) {
|
|
72
|
+
const now = Date.now();
|
|
73
|
+
const victims = [...this.entries.values()].filter((e) => {
|
|
74
|
+
if (sel.prefix !== undefined && !e.id.startsWith(sel.prefix))
|
|
75
|
+
return false;
|
|
76
|
+
if (sel.idleMs !== undefined && now - e.lastActivityAt < sel.idleMs)
|
|
77
|
+
return false;
|
|
78
|
+
// `all` (or prefix/idle match with all unset) — if no positive selector
|
|
79
|
+
// was given the caller must pass `all`, enforced at the tool layer.
|
|
80
|
+
return true;
|
|
81
|
+
});
|
|
82
|
+
const closed = [];
|
|
83
|
+
for (const e of victims) {
|
|
84
|
+
this.entries.delete(e.id);
|
|
85
|
+
await this.teardown(e).catch(() => undefined);
|
|
86
|
+
closed.push(e.id);
|
|
87
|
+
}
|
|
88
|
+
return closed;
|
|
89
|
+
}
|
|
90
|
+
/** Tear down everything (server shutdown). */
|
|
91
|
+
async closeAll() {
|
|
92
|
+
const all = [...this.entries.values()];
|
|
93
|
+
this.entries.clear();
|
|
94
|
+
for (const e of all) {
|
|
95
|
+
await this.teardown(e).catch(() => undefined);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SessionEntry } from "./registry.js";
|
|
2
|
+
import type { PostWireDeps } from "../engine/registry.js";
|
|
3
|
+
/** Attach Safari's BiDi console bridge to the entry's console buffer. Returns the
|
|
4
|
+
* promise the session factory awaits (the BiDi `subscribe` is async). Takes the
|
|
5
|
+
* per-server `PostWireDeps` to honour the standardized `postWire(entry, deps)`
|
|
6
|
+
* contract, but ignores them: Safari attaches only its BiDi console bridge, none of
|
|
7
|
+
* the Playwright caps/configStore/workspace-gated steps. */
|
|
8
|
+
export declare function safariPostWire(entry: SessionEntry, _deps: PostWireDeps): Promise<void>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// The Safari post-creation wiring (RFC 0004 D1 + D5). Safari attaches NOTHING
|
|
2
|
+
// Playwright-bound — it has no Page, no CDP, no BrowserContext. Its only
|
|
3
|
+
// post-creation step is the BiDi console bridge: Safari's console arrives over the
|
|
4
|
+
// experimental WebDriver-BiDi `log.entryAdded` stream (when the cap negotiated),
|
|
5
|
+
// not via a Playwright page. Subscribed here at session creation so load-time logs
|
|
6
|
+
// are caught; strictly optional (when BiDi did not negotiate, the buffer stays
|
|
7
|
+
// empty and `console_read` still works, returning nothing).
|
|
8
|
+
//
|
|
9
|
+
// This is the `else` leg of the old `if (sess.engine !== "safari")` console guard
|
|
10
|
+
// in session-registry.ts:303-313 — relocated verbatim into the engine that owns
|
|
11
|
+
// it, so the caller no longer branches on the engine name.
|
|
12
|
+
/** Attach Safari's BiDi console bridge to the entry's console buffer. Returns the
|
|
13
|
+
* promise the session factory awaits (the BiDi `subscribe` is async). Takes the
|
|
14
|
+
* per-server `PostWireDeps` to honour the standardized `postWire(entry, deps)`
|
|
15
|
+
* contract, but ignores them: Safari attaches only its BiDi console bridge, none of
|
|
16
|
+
* the Playwright caps/configStore/workspace-gated steps. */
|
|
17
|
+
export async function safariPostWire(entry, _deps) {
|
|
18
|
+
const handle = entry.session.safari?.();
|
|
19
|
+
if (handle?.bidi) {
|
|
20
|
+
const bidi = handle.bidi;
|
|
21
|
+
await bidi.subscribe(["log.entryAdded"]).catch(() => undefined);
|
|
22
|
+
bidi.on("log.entryAdded", (p) => {
|
|
23
|
+
const level = typeof p.level === "string" ? p.level : "info";
|
|
24
|
+
const text = typeof p.text === "string" ? p.text : "";
|
|
25
|
+
entry.console.ingest(level, text);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SafariSessionHandle } from "../engine/index.js";
|
|
2
|
+
import type { BrowserSession } from "./types.js";
|
|
3
|
+
/** The structured error `page()` throws on a Safari session — names why and where
|
|
4
|
+
* to route instead. Exported so callers/tests assert on it consistently. */
|
|
5
|
+
export declare const NO_PLAYWRIGHT_PAGE: string;
|
|
6
|
+
/** Wrap a live Safari adapter handle as a `BrowserSession`. `page()` throws
|
|
7
|
+
* (`NO_PLAYWRIGHT_PAGE`); `safari()` exposes the native handle; `close()` tears
|
|
8
|
+
* the safaridriver session + process down. Managed/isolated only — Safari has no
|
|
9
|
+
* headless and no separate-context incognito (incognito/byob refuse upstream). */
|
|
10
|
+
export declare function buildSafariSession(handle: SafariSessionHandle): BrowserSession;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// The Safari BrowserSession — the no-Playwright-Page seam. Safari
|
|
2
|
+
// is the first engine with neither a Playwright Page nor CDP, so its session
|
|
3
|
+
// wraps the adapter's Safari-native handle (WebDriver Classic + optional BiDi)
|
|
4
|
+
// and makes `page()` a structured THROW rather than returning a fake Page. Tools
|
|
5
|
+
// that can run on Safari route through `safari()` (the snapshot substrate reads
|
|
6
|
+
// via the handle's execute/sync; click/fill/navigate/cookies via its WebDriver
|
|
7
|
+
// Classic client); everything else is capability-gated up front, so `page()` is
|
|
8
|
+
// never reached on a supported tool.
|
|
9
|
+
//
|
|
10
|
+
// Factored out of managed.ts so it unit-tests with a mock handle (no safaridriver
|
|
11
|
+
// spawn) and so the page()-throw message has one home.
|
|
12
|
+
/** The structured error `page()` throws on a Safari session — names why and where
|
|
13
|
+
* to route instead. Exported so callers/tests assert on it consistently. */
|
|
14
|
+
export const NO_PLAYWRIGHT_PAGE = "safari-no-playwright-page: the safari engine has no Playwright Page (it is driven over " +
|
|
15
|
+
"safaridriver, not Playwright). Tools that run on Safari route through the Safari-native handle " +
|
|
16
|
+
"(session.safari()) — snapshot/find via the substrate, navigate/click/fill/screenshot/cookies via " +
|
|
17
|
+
"its WebDriver Classic client; everything else is capability-gated.";
|
|
18
|
+
/** Wrap a live Safari adapter handle as a `BrowserSession`. `page()` throws
|
|
19
|
+
* (`NO_PLAYWRIGHT_PAGE`); `safari()` exposes the native handle; `close()` tears
|
|
20
|
+
* the safaridriver session + process down. Managed/isolated only — Safari has no
|
|
21
|
+
* headless and no separate-context incognito (incognito/byob refuse upstream). */
|
|
22
|
+
export function buildSafariSession(handle) {
|
|
23
|
+
let closed = false;
|
|
24
|
+
return {
|
|
25
|
+
mode: "managed",
|
|
26
|
+
ownsBrowser: true,
|
|
27
|
+
engine: "safari",
|
|
28
|
+
page: () => {
|
|
29
|
+
throw new Error(NO_PLAYWRIGHT_PAGE);
|
|
30
|
+
},
|
|
31
|
+
safari: () => handle,
|
|
32
|
+
close: async () => {
|
|
33
|
+
if (closed)
|
|
34
|
+
return;
|
|
35
|
+
closed = true;
|
|
36
|
+
await handle.close();
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import type { BrowserContext, Page } from "playwright-core";
|
|
2
|
+
/** Playwright's `storageState()` return shape (re-stated locally so callers
|
|
3
|
+
* don't need to depend on playwright-core directly). */
|
|
4
|
+
export interface StorageStateBlob {
|
|
5
|
+
cookies: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
domain: string;
|
|
9
|
+
path: string;
|
|
10
|
+
expires: number;
|
|
11
|
+
httpOnly: boolean;
|
|
12
|
+
secure: boolean;
|
|
13
|
+
sameSite: "Strict" | "Lax" | "None";
|
|
14
|
+
}>;
|
|
15
|
+
origins: Array<{
|
|
16
|
+
origin: string;
|
|
17
|
+
localStorage: Array<{
|
|
18
|
+
name: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}>;
|
|
21
|
+
}>;
|
|
22
|
+
}
|
|
23
|
+
/** Cookie shape Playwright accepts in `addCookies`. */
|
|
24
|
+
export interface CookieInput {
|
|
25
|
+
name: string;
|
|
26
|
+
value: string;
|
|
27
|
+
/** Either `url` OR (`domain` + `path`) is required. */
|
|
28
|
+
url?: string;
|
|
29
|
+
domain?: string;
|
|
30
|
+
path?: string;
|
|
31
|
+
expires?: number;
|
|
32
|
+
httpOnly?: boolean;
|
|
33
|
+
secure?: boolean;
|
|
34
|
+
sameSite?: "Strict" | "Lax" | "None";
|
|
35
|
+
}
|
|
36
|
+
export declare function assertSafeName(kind: string, name: string): void;
|
|
37
|
+
/** Resolve a workspace-rooted path. Rejects any path that escapes the root
|
|
38
|
+
* (`..` segments, absolute paths pointing outside, etc.). Mirrors the
|
|
39
|
+
* `upload_file` contract. */
|
|
40
|
+
export declare function resolveWorkspacePath(workspaceRoot: string, p: string, tool: string): string;
|
|
41
|
+
/** Dump the context's storage state. Optionally writes JSON to a
|
|
42
|
+
* workspace-rooted path; ALWAYS returns the blob. */
|
|
43
|
+
export declare function dumpStorageState(context: BrowserContext, workspaceRoot: string, opts?: {
|
|
44
|
+
path?: string;
|
|
45
|
+
}): Promise<{
|
|
46
|
+
state: StorageStateBlob;
|
|
47
|
+
path?: string;
|
|
48
|
+
bytes?: number;
|
|
49
|
+
}>;
|
|
50
|
+
/** Read + validate a state blob from a workspace-rooted file path. */
|
|
51
|
+
export declare function readStorageStateFile(workspaceRoot: string, p: string, tool: string): StorageStateBlob;
|
|
52
|
+
/** Inject a storage-state into an EXISTING context. Two modes:
|
|
53
|
+
* - `replace` (default) — wipes the context's cookies/localStorage/IndexedDB
|
|
54
|
+
* and applies the new state. Uses Playwright's `setStorageState`.
|
|
55
|
+
* - `merge` — adds cookies via `addCookies` without clearing; localStorage
|
|
56
|
+
* merge requires a navigation to each origin and runs via `page.evaluate`
|
|
57
|
+
* (best-effort: only the currently-loaded page's origin is updated; other
|
|
58
|
+
* origins in the blob are skipped with a note in the result). */
|
|
59
|
+
export declare function injectStorageState(context: BrowserContext, page: Page, state: StorageStateBlob, opts?: {
|
|
60
|
+
mode?: "replace" | "merge";
|
|
61
|
+
}): Promise<{
|
|
62
|
+
mode: "replace" | "merge";
|
|
63
|
+
cookiesApplied: number;
|
|
64
|
+
originsApplied: number;
|
|
65
|
+
originsSkipped: string[];
|
|
66
|
+
}>;
|
|
67
|
+
export declare function cookiesGet(context: BrowserContext, args: {
|
|
68
|
+
name: string;
|
|
69
|
+
url?: string;
|
|
70
|
+
}): Promise<StorageStateBlob["cookies"][number] | null>;
|
|
71
|
+
export declare function cookiesList(context: BrowserContext, args?: {
|
|
72
|
+
urls?: string[];
|
|
73
|
+
}): Promise<StorageStateBlob["cookies"]>;
|
|
74
|
+
export declare function cookiesSet(context: BrowserContext, args: CookieInput): Promise<{
|
|
75
|
+
ok: true;
|
|
76
|
+
}>;
|
|
77
|
+
export declare function cookiesDelete(context: BrowserContext, args: {
|
|
78
|
+
name: string;
|
|
79
|
+
url?: string;
|
|
80
|
+
domain?: string;
|
|
81
|
+
path?: string;
|
|
82
|
+
}): Promise<{
|
|
83
|
+
ok: true;
|
|
84
|
+
}>;
|
|
85
|
+
export declare function cookiesClear(context: BrowserContext): Promise<{
|
|
86
|
+
ok: true;
|
|
87
|
+
}>;
|
|
88
|
+
/** Storage kind — exact same JS surface, different storage object. */
|
|
89
|
+
export type WebStorageKind = "localStorage" | "sessionStorage";
|
|
90
|
+
export declare function webStorageGet(page: Page, kind: WebStorageKind, args: {
|
|
91
|
+
key: string;
|
|
92
|
+
}, tool: string): Promise<{
|
|
93
|
+
value: string | null;
|
|
94
|
+
origin: string;
|
|
95
|
+
}>;
|
|
96
|
+
export declare function webStorageSet(page: Page, kind: WebStorageKind, args: {
|
|
97
|
+
key: string;
|
|
98
|
+
value: string;
|
|
99
|
+
}, tool: string): Promise<{
|
|
100
|
+
ok: true;
|
|
101
|
+
origin: string;
|
|
102
|
+
}>;
|
|
103
|
+
export declare function webStorageList(page: Page, kind: WebStorageKind, tool: string): Promise<{
|
|
104
|
+
entries: Array<{
|
|
105
|
+
key: string;
|
|
106
|
+
value: string;
|
|
107
|
+
}>;
|
|
108
|
+
origin: string;
|
|
109
|
+
}>;
|
|
110
|
+
export declare function webStorageDelete(page: Page, kind: WebStorageKind, args: {
|
|
111
|
+
key: string;
|
|
112
|
+
}, tool: string): Promise<{
|
|
113
|
+
ok: true;
|
|
114
|
+
origin: string;
|
|
115
|
+
}>;
|
|
116
|
+
export declare function webStorageClear(page: Page, kind: WebStorageKind, tool: string): Promise<{
|
|
117
|
+
ok: true;
|
|
118
|
+
origin: string;
|
|
119
|
+
}>;
|
|
120
|
+
/** Resolve the on-disk path for a named auth-state. Validates the name. */
|
|
121
|
+
export declare function authStatePath(workspaceRoot: string, name: string): string;
|
|
122
|
+
/** Capture the context's storage state into the named slot. Overwrites an
|
|
123
|
+
* existing slot of the same name. */
|
|
124
|
+
export declare function authSave(context: BrowserContext, workspaceRoot: string, name: string): Promise<{
|
|
125
|
+
ok: true;
|
|
126
|
+
name: string;
|
|
127
|
+
path: string;
|
|
128
|
+
bytes: number;
|
|
129
|
+
cookies: number;
|
|
130
|
+
origins: number;
|
|
131
|
+
}>;
|
|
132
|
+
/** Load a named auth-state from disk. Returns the parsed blob ready to feed
|
|
133
|
+
* into `open_session({ storageState })` or `inject_storage_state`. */
|
|
134
|
+
export declare function authLoad(workspaceRoot: string, name: string): StorageStateBlob;
|
|
135
|
+
/** Enumerate every named state in the workspace. Read-only; returns
|
|
136
|
+
* `{name, path, bytes, modifiedAt}` per slot. */
|
|
137
|
+
export declare function authList(workspaceRoot: string): Array<{
|
|
138
|
+
name: string;
|
|
139
|
+
path: string;
|
|
140
|
+
bytes: number;
|
|
141
|
+
modifiedAt: string;
|
|
142
|
+
}>;
|
|
143
|
+
/** Delete a named state. Returns whether the slot existed. */
|
|
144
|
+
export declare function authDelete(workspaceRoot: string, name: string): {
|
|
145
|
+
ok: true;
|
|
146
|
+
existed: boolean;
|
|
147
|
+
path: string;
|
|
148
|
+
};
|