LISHUANGXI1412/dsh-page-struct ↗★ 0

dsh-page-struct

Read-only page structure for DSH, attached to the CUA browser: table coordinates, shadow DOM fields, code blocks, and confidence labels. 适合需要只读提取网页表格坐标、影子DOM字段及代码块的浏览器自动化任务。

패키지
dsh-page-struct
호환성
미검증
버전
0.1.4
라이선스
MIT
최근 업데이트
2026. 10. 18.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LISHUANGXI1412/dsh-page-struct

Configuration

config:
  proxy: ''
  endpoint: cua:dsh-page-struct
  cuaProfile: dsh-page-struct
  exe: ''
  cacheTtlMs: 120000
  cacheMax: 3
KeyMeaning
endpoint`cua:
(default),host:port, or ""for a one-shot temporary browser.autois an alias forcua:`.
cuaProfileNamed CUA profile. Default dsh-page-struct.
proxyOnly for endpoint: "". CUA/another browser must be configured with its own proxy at launch.
exeOptional Edge/Chrome path for the one-shot temporary browser.
cacheTtlMs / cacheMaxIn-memory snapshot cache used by page_region.

Endpoint modes

  • cua:dsh-page-struct — attach to the running CUA browser. No new browser.
  • host:port — attach to any browser already exposing CDP.
  • "" — launch a one-shot temporary browser (with proxy if set); useful for fixtures, offline snapshots, or foreign pages that need a proxy.