dsh-preview
DSH 智能体无头浏览器预览与自我验证工具插件
AI 分析
核心用途是为 Agent 提供截图、控制台读取、DOM 检查和交互等网页预览工具。适合需要让 Agent 对其构建的网页进行自主验证与修复的任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Viger1/dsh-preview說明文件
閱讀完整 README ↗Configuration
All tunables are plugin config — set them in your profile's cordis.patch.yml:
- id: preview
name: dsh-preview
config:
headless: true
browserChannels: [chrome, msedge, chromium]
viewportWidth: 1280
viewportHeight: 800
navigationTimeoutMs: 15000
actionTimeoutMs: 5000
screenshotDir: .dsh-preview
maxReadChars: 20000
maxConsoleMessages: 100
allowedHosts: [] # extra hostnames browser_open may visit
registerSkill: true