LJH-snow/dsh-tool-browser ↗★ 0

@libai168/dsh-tool-browser

基于 Playwright 的浏览器自动化工具 适合需要模型在隔离会话和域名白名单限制下进行网页浏览的任务。

套件
@libai168/dsh-tool-browser
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.1.0
授權
MIT
最近更新
2026年10月5日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

- name: '@libai168/dsh-tool-browser'
  config:
    allowedOrigins:
      - 'https://example.com'
      - 'https://*.acme.example'
    browserType: chromium
    # Optional absolute path to a system browser.
    # executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
    headless: true
    timeoutMs: 30000
    maxSessions: 4
    maxTextBytes: 12000
    saveDir: '.dsh-browser'

An origin entry may be an exact origin, a subdomain rule such as https://.acme.example, or a port wildcard such as http://localhost:. Setting allowedOrigins to ['*'] permits every HTTP(S) origin and should only be used in a trusted, isolated deployment.

Full example: examples/cordis.yml.